|
|
|
@ -30,11 +30,13 @@
|
|
|
|
|
<div v-if="theme.current.id" class="card-container"> |
|
|
|
|
<a-tabs defaultActiveKey="0" type="card"> |
|
|
|
|
<a-tab-pane :key="0" tab="关于"> |
|
|
|
|
<a-avatar :alt="theme.current.name" :size="72" :src="theme.current.logo" shape="square" /> |
|
|
|
|
<a-divider /> |
|
|
|
|
<div v-if="theme.current.logo"> |
|
|
|
|
<a-avatar :alt="theme.current.name" :size="72" :src="theme.current.logo" shape="square" /> |
|
|
|
|
<a-divider /> |
|
|
|
|
</div> |
|
|
|
|
<a-descriptions :column="1" layout="horizontal"> |
|
|
|
|
<a-descriptions-item label="作者"> |
|
|
|
|
<a :href="theme.current.author.website || '#'"> |
|
|
|
|
<a class="text-inherit" :href="theme.current.author.website || '#'"> |
|
|
|
|
{{ theme.current.author.name }} |
|
|
|
|
</a> |
|
|
|
|
</a-descriptions-item> |
|
|
|
@ -42,12 +44,12 @@
|
|
|
|
|
{{ theme.current.description || '-' }} |
|
|
|
|
</a-descriptions-item> |
|
|
|
|
<a-descriptions-item label="官网"> |
|
|
|
|
<a :href="theme.current.website || '#'"> |
|
|
|
|
<a class="text-inherit" :href="theme.current.website || '#'"> |
|
|
|
|
{{ theme.current.website || '-' }} |
|
|
|
|
</a> |
|
|
|
|
</a-descriptions-item> |
|
|
|
|
<a-descriptions-item label="Git 仓库"> |
|
|
|
|
<a :href="theme.current.repo || '#'"> |
|
|
|
|
<a class="text-inherit" :href="theme.current.repo || '#'"> |
|
|
|
|
{{ theme.current.repo || '-' }} |
|
|
|
|
</a> |
|
|
|
|
</a-descriptions-item> |
|
|
|
|