From 0d0421c8ebc749889422c416970fd5760f2a5f6a Mon Sep 17 00:00:00 2001 From: Sun <95302870@qq.com> Date: Fri, 5 Jan 2024 13:27:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=AE=8C=E6=88=90=E4=BA=86?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/ItemCard/index.vue | 53 +++++++ src/components/common/index.ts | 2 + .../AppIconSystemMonitor/CPU.vue | 47 ++---- .../AppIconSystemMonitor/index.vue | 129 +++++++--------- .../Edit/GenericProgressStyleEditor/index.vue | 84 +++++++++++ .../Edit/ProgressStyleEditor/index.vue | 35 +++++ .../deskModule/SystemMonitor/Edit/index.vue | 68 +++++++++ .../components/GenericMonitorCard/index.vue | 60 ++++++++ .../components/GenericProgress/index.vue | 57 +++++++ .../deskModule/SystemMonitor/index.vue | 139 ++++++++++++------ .../deskModule/SystemMonitor/typings.ts | 7 + src/views/exception/test/zujian.vue | 0 .../home/components/EditItem/IconEditor.vue | 2 + 13 files changed, 520 insertions(+), 163 deletions(-) create mode 100644 src/components/common/ItemCard/index.vue create mode 100644 src/components/deskModule/SystemMonitor/Edit/GenericProgressStyleEditor/index.vue create mode 100644 src/components/deskModule/SystemMonitor/Edit/ProgressStyleEditor/index.vue create mode 100644 src/components/deskModule/SystemMonitor/Edit/index.vue create mode 100644 src/components/deskModule/SystemMonitor/components/GenericMonitorCard/index.vue create mode 100644 src/components/deskModule/SystemMonitor/components/GenericProgress/index.vue create mode 100644 src/views/exception/test/zujian.vue diff --git a/src/components/common/ItemCard/index.vue b/src/components/common/ItemCard/index.vue new file mode 100644 index 0000000..e6b6f9f --- /dev/null +++ b/src/components/common/ItemCard/index.vue @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + {{ iconText }} + + + + diff --git a/src/components/common/index.ts b/src/components/common/index.ts index 990d2e8..72ff205 100644 --- a/src/components/common/index.ts +++ b/src/components/common/index.ts @@ -8,6 +8,7 @@ import RoundCardModal from './RoundCardModal/index.vue' import SvgIconOnline from './SvgIconOnline/index.vue' import JsonImportExport from './JsonImportExport/index.vue' import AppLoader from './AppLoader/index.vue' +import ItemCard from './ItemCard/index.vue' export { Verification, @@ -20,4 +21,5 @@ export { SvgIconOnline, JsonImportExport, AppLoader, + ItemCard, } diff --git a/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/CPU.vue b/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/CPU.vue index cd98588..cac1835 100644 --- a/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/CPU.vue +++ b/src/components/deskModule/SystemMonitor/AppIconSystemMonitor/CPU.vue @@ -1,9 +1,9 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/deskModule/SystemMonitor/Edit/ProgressStyleEditor/index.vue b/src/components/deskModule/SystemMonitor/Edit/ProgressStyleEditor/index.vue new file mode 100644 index 0000000..0a529a6 --- /dev/null +++ b/src/components/deskModule/SystemMonitor/Edit/ProgressStyleEditor/index.vue @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + diff --git a/src/components/deskModule/SystemMonitor/Edit/index.vue b/src/components/deskModule/SystemMonitor/Edit/index.vue new file mode 100644 index 0000000..da6aa47 --- /dev/null +++ b/src/components/deskModule/SystemMonitor/Edit/index.vue @@ -0,0 +1,68 @@ + + + + + + + progressStyle值:{{ JSON.stringify(currentDataExterdParam) }} + + + + + + + + + + + + + + + + 确定 + + + + diff --git a/src/components/deskModule/SystemMonitor/components/GenericMonitorCard/index.vue b/src/components/deskModule/SystemMonitor/components/GenericMonitorCard/index.vue new file mode 100644 index 0000000..6ecdaed --- /dev/null +++ b/src/components/deskModule/SystemMonitor/components/GenericMonitorCard/index.vue @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/deskModule/SystemMonitor/components/GenericProgress/index.vue b/src/components/deskModule/SystemMonitor/components/GenericProgress/index.vue new file mode 100644 index 0000000..5848626 --- /dev/null +++ b/src/components/deskModule/SystemMonitor/components/GenericProgress/index.vue @@ -0,0 +1,57 @@ + + + + + + + + {{ infoCardLeftText }} + + + {{ infoCardRightText }} + + + + + + + + + {{ percentage }}% + + + + + + diff --git a/src/components/deskModule/SystemMonitor/index.vue b/src/components/deskModule/SystemMonitor/index.vue index e11e219..c708d2f 100644 --- a/src/components/deskModule/SystemMonitor/index.vue +++ b/src/components/deskModule/SystemMonitor/index.vue @@ -1,21 +1,55 @@