From 21e8e8f1b872a7e7989c45b29061f52127dffce5 Mon Sep 17 00:00:00 2001 From: Sun <95302870@qq.com> Date: Fri, 5 Jan 2024 21:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E5=AE=8C=E6=88=90=E4=BA=86?= =?UTF-8?q?=E5=A2=9E=E6=94=B9=E6=9F=A5cpu=E5=92=8C=E5=86=85=E5=AD=98?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/ItemCard/index.vue | 2 +- .../AppIconSystemMonitor/index.vue | 47 +++++----- .../Edit/GenericProgressStyleEditor/index.vue | 24 +++-- .../deskModule/SystemMonitor/Edit/index.vue | 89 +++++++++++++++---- .../deskModule/SystemMonitor/common.ts | 87 ++++++++++++++++++ .../components/GenericMonitorCard/index.vue | 5 +- .../deskModule/SystemMonitor/index.vue | 87 +++++++++--------- .../deskModule/SystemMonitor/typings.ts | 2 +- src/store/modules/moduleConfig/index.ts | 4 +- 9 files changed, 255 insertions(+), 92 deletions(-) create mode 100644 src/components/deskModule/SystemMonitor/common.ts diff --git a/src/components/common/ItemCard/index.vue b/src/components/common/ItemCard/index.vue index e6b6f9f..7685a7f 100644 --- a/src/components/common/ItemCard/index.vue +++ b/src/components/common/ItemCard/index.vue @@ -6,7 +6,7 @@ interface Prop { cardTypeStyle: PanelPanelConfigStyleEnum class?: string backgroundColor?: string - iconTextIconHideTitle: boolean // 隐藏小图标标题 + iconTextIconHideTitle?: boolean // 隐藏小图标标题 iconTextColor?: string // 小图标文字颜色 iconText?: string // 小图标文字 } diff --git a/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/index.vue b/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/index.vue index 3f5f61e..49fd477 100644 --- a/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/index.vue +++ b/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/index.vue @@ -1,10 +1,5 @@