From 558be246d4a1f5a8cfc4c2e300af865a9829dcba Mon Sep 17 00:00:00 2001 From: lihui Date: Tue, 30 Sep 2025 10:06:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E7=9A=84=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=EF=BC=8C=E9=A2=84=E7=95=99=E5=87=BA=E5=9C=B0=E5=8C=BA=E8=B4=9F?= =?UTF-8?q?=E8=B4=A3=E4=BA=BA=E7=9A=84=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=90=8E?= =?UTF-8?q?=E9=9D=A2=E6=A0=B9=E6=8D=AE=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/workspace/CashManagement.vue | 5 +- src/components/workspace/CashManagementMarkets.vue | 210 +++++++++++++++++++++ src/components/workspace/GoldGraph.vue | 47 ++--- src/components/workspace/GoldGraphMarkets.vue | 7 +- src/components/workspace/GoldManagement.vue | 4 +- 5 files changed, 246 insertions(+), 27 deletions(-) create mode 100644 src/components/workspace/CashManagementMarkets.vue diff --git a/src/components/workspace/CashManagement.vue b/src/components/workspace/CashManagement.vue index eb377da..e2a3c96 100644 --- a/src/components/workspace/CashManagement.vue +++ b/src/components/workspace/CashManagement.vue @@ -17,7 +17,7 @@
{{ market.name }}: - {{ market.value.toLocaleString() }} + {{ market.value.toLocaleString() }}新币
@@ -58,8 +58,11 @@ const renderChart = () => { bottom: 5, // 增加底部距离的 left: 'center' }, + series: [ { + label: {show: false}, + type: 'pie', radius: ['40%', '70%'], data: cashData.value.markets, diff --git a/src/components/workspace/CashManagementMarkets.vue b/src/components/workspace/CashManagementMarkets.vue new file mode 100644 index 0000000..890fb4b --- /dev/null +++ b/src/components/workspace/CashManagementMarkets.vue @@ -0,0 +1,210 @@ + + + + + + diff --git a/src/components/workspace/GoldGraph.vue b/src/components/workspace/GoldGraph.vue index dabf113..76e1807 100644 --- a/src/components/workspace/GoldGraph.vue +++ b/src/components/workspace/GoldGraph.vue @@ -15,15 +15,25 @@ 任务金币: {{ activeTab === 'recharge' ? sumRechargeTask / 100 : sumConsumeTask / 100 }}  
- 昨天 + 昨天 - 今天 + 今天 - 本周 + 本周 - 本月 + 本月 - 本年 + 本年
@@ -656,7 +666,6 @@ const getAdminData = async function () { } } -const workDataUpdateTime = ref(null) // 标记当前激活的时间范围按钮 const activeTimeRange = ref('') @@ -679,7 +688,7 @@ onUnmounted(() => { diff --git a/src/components/workspace/GoldGraphMarkets.vue b/src/components/workspace/GoldGraphMarkets.vue index 9f0cf73..3de971f 100644 --- a/src/components/workspace/GoldGraphMarkets.vue +++ b/src/components/workspace/GoldGraphMarkets.vue @@ -1,3 +1,5 @@ + +