From b11b7582c244c8d5a1b9dd2a72805c5c22436861 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 20 Oct 2025 09:39:41 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90mall=20=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E3=80=91=E4=BA=A4=E6=98=93=E7=BB=9F=E8=AE=A1=E3=80=81=E5=95=86?= =?UTF-8?q?=E5=93=81=E7=BB=9F=E8=AE=A1=E3=80=90antd=E3=80=9130%=EF=BC=9A?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../statistics/member/modules/sex-card.vue | 3 +- .../views/mall/statistics/product/index.vue | 2 +- ...duct-summary-card.vue => summary-card.vue} | 127 +++++++----------- ...rt-options.ts => summary-chart-options.ts} | 0 4 files changed, 51 insertions(+), 81 deletions(-) rename apps/web-antd/src/views/mall/statistics/product/modules/{product-summary-card.vue => summary-card.vue} (68%) rename apps/web-antd/src/views/mall/statistics/product/modules/{product-summary-chart-options.ts => summary-chart-options.ts} (100%) diff --git a/apps/web-antd/src/views/mall/statistics/member/modules/sex-card.vue b/apps/web-antd/src/views/mall/statistics/member/modules/sex-card.vue index 151280744..2938b8eb3 100644 --- a/apps/web-antd/src/views/mall/statistics/member/modules/sex-card.vue +++ b/apps/web-antd/src/views/mall/statistics/member/modules/sex-card.vue @@ -39,7 +39,8 @@ async function getMemberSexStatisticsList() { value: userCount || 0, }; }); - // 更新 Echarts 数据 + + // 渲染图表 await renderEcharts(getSexChartOptions(chartData)); } finally { loading.value = false; diff --git a/apps/web-antd/src/views/mall/statistics/product/index.vue b/apps/web-antd/src/views/mall/statistics/product/index.vue index f2caa8862..2e3834059 100644 --- a/apps/web-antd/src/views/mall/statistics/product/index.vue +++ b/apps/web-antd/src/views/mall/statistics/product/index.vue @@ -1,8 +1,8 @@