feat: 新增会员统计组件和优化数据展示
- 在会员统计页面中新增会员地域分布和性别分布组件 - 更新会员统计 API,支持获取会员汇总和地区统计数据 - 优化数据加载逻辑,提升用户体验 - 引入分析概览组件以展示关键统计信息
This commit is contained in:
@@ -52,7 +52,7 @@ const itemsData = computed({
|
||||
/>
|
||||
<VbenIcon :icon="item.icon" class="size-8 flex-shrink-0" />
|
||||
</CardContent>
|
||||
<CardFooter class="justify-between">
|
||||
<CardFooter v-if="item.totalTitle" class="justify-between">
|
||||
<span>{{ item.totalTitle }}</span>
|
||||
<VbenCountToAnimator
|
||||
:end-val="item.totalValue"
|
||||
|
||||
@@ -3,8 +3,8 @@ import type { Component } from 'vue';
|
||||
interface AnalysisOverviewItem {
|
||||
icon: Component | string;
|
||||
title: string;
|
||||
totalTitle: string;
|
||||
totalValue: number;
|
||||
totalTitle?: string;
|
||||
totalValue?: number;
|
||||
value: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user