From 0a8519372cfd5d4e192fab374bf24e4ce46bf7ef Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sat, 18 May 2024 16:42:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Main/index.vue | 4 +- src/views/home/home.vue | 105 ++++++++++++++++++++++++++- 2 files changed, 106 insertions(+), 3 deletions(-) diff --git a/src/layout/components/Main/index.vue b/src/layout/components/Main/index.vue index bd20116..6da436f 100644 --- a/src/layout/components/Main/index.vue +++ b/src/layout/components/Main/index.vue @@ -51,11 +51,11 @@ watch(watermarkConfig, newv => { .scrollbar { height: calc(100% - 40px); // 去掉tabs的高度 - background: $color-border-1; // 背景颜色 + background: $color-fill-1; // 背景颜色 } .scrollbar-no-tabs { height: 100%; - background: $color-border-1; // 背景颜色 + background: $color-fill-1; // 背景颜色 } .main { diff --git a/src/views/home/home.vue b/src/views/home/home.vue index 9ccb9c7..47b7e06 100644 --- a/src/views/home/home.vue +++ b/src/views/home/home.vue @@ -46,6 +46,31 @@ + +
+
+
财务指标
+
+ + 自定义 +
+
+ +
+ +
+
+ {{ item.title }} +
+
{{ item.value }}
+
+
+
+ +
+
+
+
@@ -116,6 +141,39 @@ const targetData = reactive({ } ] }); + +const financeData = ref([ + { + id: 1, + title: "利润总额", + value: "100,000", + color: "#ff8625" + }, + { + id: 2, + title: "现金", + value: "750,420", + color: "#165DFF" + }, + { + id: 3, + title: "银行存款", + value: "100,000", + color: "#39cbab" + }, + { + id: 4, + title: "存贷", + value: "100,000", + color: "#6c73ff" + }, + { + id: 5, + title: "应收账款", + value: "100,000", + color: "#2fd0ff" + } +]);