恢复修改的数据

This commit is contained in:
wangzzpeng
2026-09-28 10:47:49 +08:00
parent f1e64ef864
commit 43c2dc0d8d
57 changed files with 4557 additions and 1642 deletions

View File

@@ -7,10 +7,11 @@ interface Props {
defineProps<Props>()
/** 展示顺序与设计稿一致:累积项目 / 进行中 / 已提交 */
const items = [
{ key: 'pending', label: '待您处理' },
{ key: 'total', label: '累积项目' },
{ key: 'inProgress', label: '进行中' },
{ key: 'total', label: '累计项目' },
{ key: 'pending', label: '已提交' },
] as const
</script>
@@ -22,24 +23,23 @@ const items = [
class="home-stats__item"
>
<span class="home-stats__value">{{ stats[item.key] }}</span>
<span class="home-stats__label text-secondary">{{ item.label }}</span>
<span class="home-stats__label">{{ item.label }}</span>
</div>
</section>
</template>
<style lang="less" scoped>
.home-stats {
.flex(row, space-between);
.flex(row, flex-end);
gap: @spacing-base;
&__item {
.flex(column, center);
flex: 1;
.flex(column, center, center);
gap: @spacing-xs;
padding: @spacing-base @spacing-lg;
min-width: 84px;
padding: @spacing-base;
border-radius: @radius-lg;
background: @white;
box-shadow: @shadow-base;
background: rgba(255, 255, 255, 0.92);
}
&__value {
@@ -49,7 +49,8 @@ const items = [
}
&__label {
font-size: @font-size-base;
font-size: @font-size-sm;
color: @text-color-secondary;
}
}
</style>