From db1a3dd80395c4c08c73fff0bc28a2a1ccb25363 Mon Sep 17 00:00:00 2001 From: zhangrenyuan <18990852002@163.com> Date: Fri, 26 Sep 2025 17:57:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?cash-management=20=E5=92=8C=20worspace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/workspace/CashManagement.vue | 172 +++++++++++++++++++++++++--- src/views/home.vue | 18 +-- src/views/workspace/index.vue | 2 +- 3 files changed, 155 insertions(+), 37 deletions(-) diff --git a/src/components/workspace/CashManagement.vue b/src/components/workspace/CashManagement.vue index 2cf5a8c..56ef20a 100644 --- a/src/components/workspace/CashManagement.vue +++ b/src/components/workspace/CashManagement.vue @@ -1,30 +1,47 @@ diff --git a/src/views/home.vue b/src/views/home.vue index 3ca4933..f793730 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -330,28 +330,12 @@ function logout() { overflow: hidden; } -/* 头部样式 */ -.header { - /* 将纯色背景替换为线性渐变 */ - background: linear-gradient( - 90deg, - rgba(228, 240, 252, 1) 20%, - rgba(190, 218, 247, 1) 50%, - rgba(228, 240, 252, 1) 100% - ); - height: 6vh; - border-radius: 12px; - margin-bottom: 4px; - box-shadow: 0 2px 5px rgba(8, 4, 4, 0.1); - /* 添加阴影增强层次感 */ - z-index: 80; -} /* 主内容区域容器 */ .main-area { flex: 1; background: #E7F4FD; - /* 半透明白色背景 */ + /* 半透明浅色背景 */ /* backdrop-filter: blur(5px); */ /* 毛玻璃效果 */ border-radius: 12px; diff --git a/src/views/workspace/index.vue b/src/views/workspace/index.vue index 1a3d69f..231ed36 100644 --- a/src/views/workspace/index.vue +++ b/src/views/workspace/index.vue @@ -3,7 +3,7 @@
数据总览
-
+
From 3acbf1c4527d6d65fbb643e9ee552ba49df2a19b Mon Sep 17 00:00:00 2001 From: lihui Date: Sat, 27 Sep 2025 17:50:25 +0800 Subject: [PATCH 2/2] =?UTF-8?q?add=EF=BC=9A=E5=B7=A5=E4=BD=9C=E5=8F=B0?= =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E5=8D=A1=E7=89=87=EF=BC=8C=E5=8F=B3=E4=BE=A7?= =?UTF-8?q?=E5=8D=A1=E7=89=87=EF=BC=8C=E5=BA=95=E9=83=A8=E6=9F=B1=E7=8A=B6?= =?UTF-8?q?=E5=9B=BE=EF=BC=8C=E6=9F=B1=E7=8A=B6=E5=9B=BE=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=92=E5=90=8D=E9=83=A8=E5=88=86=20?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/SvgIcons/上升箭头.svg | 14 + src/assets/SvgIcons/下降箭头.svg | 14 + src/assets/SvgIcons/持平.svg | 14 + src/components/workspace/CashManagement.vue | 70 +++-- src/components/workspace/GoldGraph.vue | 100 +++++- src/components/workspace/GoldManagement.vue | 471 ++++++++++++++++++++-------- src/views/workspace/index.vue | 8 +- 7 files changed, 508 insertions(+), 183 deletions(-) create mode 100644 src/assets/SvgIcons/上升箭头.svg create mode 100644 src/assets/SvgIcons/下降箭头.svg create mode 100644 src/assets/SvgIcons/持平.svg diff --git a/src/assets/SvgIcons/上升箭头.svg b/src/assets/SvgIcons/上升箭头.svg new file mode 100644 index 0000000..343582c --- /dev/null +++ b/src/assets/SvgIcons/上升箭头.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/assets/SvgIcons/下降箭头.svg b/src/assets/SvgIcons/下降箭头.svg new file mode 100644 index 0000000..99120a4 --- /dev/null +++ b/src/assets/SvgIcons/下降箭头.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/assets/SvgIcons/持平.svg b/src/assets/SvgIcons/持平.svg new file mode 100644 index 0000000..9185a41 --- /dev/null +++ b/src/assets/SvgIcons/持平.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/components/workspace/CashManagement.vue b/src/components/workspace/CashManagement.vue index 56ef20a..eb377da 100644 --- a/src/components/workspace/CashManagement.vue +++ b/src/components/workspace/CashManagement.vue @@ -4,7 +4,7 @@
现金管理 最后更新时间:{{ - workDataUpdateTime && workDataUpdateTime !== '1970-01-01 08:00:00' ? workDataUpdateTime : '该地区暂无数据' + workDataUpdateTime && workDataUpdateTime !== '1970-01-01 08:00:00' ? workDataUpdateTime : '该地区暂无数据' }}
@@ -20,7 +20,7 @@ {{ market.value.toLocaleString() }}
- +
@@ -30,18 +30,18 @@ \ No newline at end of file diff --git a/src/views/workspace/index.vue b/src/views/workspace/index.vue index 231ed36..f7d02fe 100644 --- a/src/views/workspace/index.vue +++ b/src/views/workspace/index.vue @@ -3,13 +3,13 @@
数据总览
-
+
- + - + @@ -35,7 +35,7 @@ const markets = ref([]) const account = ref('') const activeTab = ref('recharge') -// 👉 tab 切换时重新调图表接口 +// tab 切换时重新调图表接口 const handleTabChange = async (tab) => { activeTab.value = tab await getGraphData()