Skip to content

Commit

Permalink
perf(projects): perf card style
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jan 25, 2024
1 parent 16c765f commit 9895a37
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/views/about/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ const latestBuildTime = BUILD_TIME;

<template>
<ASpace direction="vertical" :size="16">
<ACard :title="$t('page.about.title')" :bordered="false" class="card-wrapper">
<ACard :title="$t('page.about.title')" :bordered="false" size="small" class="card-wrapper">
<p>{{ $t('page.about.introduction') }}</p>
</ACard>
<ACard :title="$t('page.about.projectInfo.title')" :bordered="false" class="card-wrapper">
<ACard :title="$t('page.about.projectInfo.title')" :bordered="false" size="small" class="card-wrapper">
<ADescriptions label-placement="left" bordered size="small" :column="{ xs: 1, sm: 2 }">
<ADescriptionsItem :label="$t('page.about.projectInfo.version')">
<ATag type="primary">{{ pkgJson.version }}</ATag>
<ATag color="blue">{{ pkgJson.version }}</ATag>
</ADescriptionsItem>
<ADescriptionsItem :label="$t('page.about.projectInfo.latestBuildTime')">
<ATag type="primary">{{ latestBuildTime }}</ATag>
<ATag color="blue">{{ latestBuildTime }}</ATag>
</ADescriptionsItem>
<ADescriptionsItem :label="$t('page.about.projectInfo.githubLink')">
<a class="text-primary" :href="pkg.homepage" target="_blank" rel="noopener noreferrer">
Expand All @@ -59,14 +59,14 @@ const latestBuildTime = BUILD_TIME;
</ADescriptionsItem>
</ADescriptions>
</ACard>
<ACard :title="$t('page.about.prdDep')" :bordered="false" class="card-wrapper">
<ACard :title="$t('page.about.prdDep')" :bordered="false" size="small" class="card-wrapper">
<ADescriptions label-placement="left" bordered size="small" :column="{ xs: 1, sm: 2 }">
<ADescriptionsItem v-for="item in pkgJson.dependencies" :key="item.name" :label="item.name">
{{ item.version }}
</ADescriptionsItem>
</ADescriptions>
</ACard>
<ACard :title="$t('page.about.devDep')" :bordered="false" class="card-wrapper">
<ACard :title="$t('page.about.devDep')" :bordered="false" size="small" class="card-wrapper">
<ADescriptions label-placement="left" bordered size="small" :column="{ xs: 1, sm: 2 }">
<ADescriptionsItem v-for="item in pkgJson.devDependencies" :key="item.name" :label="item.name">
{{ item.version }}
Expand Down

0 comments on commit 9895a37

Please sign in to comment.