From c1ac580b28a33e24356c19218262bc8b81e2a209 Mon Sep 17 00:00:00 2001 From: ko1234 Date: Mon, 28 Oct 2024 16:17:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A0=81=E7=B3=BB=E7=B5=B1=E5=B0=8F?= =?UTF-8?q?=E5=8D=A1=E9=A1=8F=E8=89=B2=E6=94=B9=E8=AE=8A=E3=80=81=E7=B3=BB?= =?UTF-8?q?=E7=B5=B1=E7=9B=A3=E6=8E=A7:sidebar=E9=A1=8F=E8=89=B2=E6=94=B9?= =?UTF-8?q?=E8=AE=8A=E3=80=81modal=E7=9A=84=E5=AE=9A=E4=BD=8D=E9=83=BD?= =?UTF-8?q?=E7=B6=AD=E6=8C=81=E5=9C=A8=E4=B8=AD=E9=96=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/navbar/NavbarItem.vue | 6 +++--- src/views/dashboard/components/DashboardSysCard.vue | 4 ++-- src/views/system/System.vue | 4 +--- src/views/system/components/SystemCard.vue | 4 ++-- src/views/system/components/SystemInfoModal.vue | 2 +- 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/navbar/NavbarItem.vue b/src/components/navbar/NavbarItem.vue index 82b01d4..db47cef 100644 --- a/src/components/navbar/NavbarItem.vue +++ b/src/components/navbar/NavbarItem.vue @@ -175,7 +175,7 @@ onMounted(() => { :deep(.ant-menu-submenu-selected) { .ant-menu-submenu-title { - @apply text-blue-300 ; + @apply text-info; } } @@ -183,7 +183,7 @@ onMounted(() => { @apply bg-transparent relative; &::before { - @apply absolute w-[15px] h-[15px] bottom-3.5 left-7 bg-no-repeat z-10; + @apply absolute w-[15px] h-[15px] bottom-3.5 left-7 bg-no-repeat saturate-200 z-10; content: ""; background: url(@ASSET/img/chart-data-background03.svg) center center; } @@ -193,7 +193,7 @@ onMounted(() => { } a { - color: #89d2ff !important; + color: #35ecec !important; text-shadow: 0px 0px 1px #fff; } } diff --git a/src/views/dashboard/components/DashboardSysCard.vue b/src/views/dashboard/components/DashboardSysCard.vue index daeaded..72bcebf 100644 --- a/src/views/dashboard/components/DashboardSysCard.vue +++ b/src/views/dashboard/components/DashboardSysCard.vue @@ -140,7 +140,7 @@ const navigateToSubSystem = (mainSystemId, subSystemId) => { twMerge( 'w-full sm:w-1/2 lg:w-1/4 relative my-2 ', item.sub_system_tag - ? 'saturate-200 cursor-pointer text-base' + ? 'saturate-200 cursor-pointer text-base text-info' : 'grayscale opacity-70 cursor-not-allowed text-sm' ) " @@ -160,7 +160,7 @@ const navigateToSubSystem = (mainSystemId, subSystemId) => { >
-
+
{{ item.title }}
diff --git a/src/views/system/System.vue b/src/views/system/System.vue index f23d913..5ba65fc 100644 --- a/src/views/system/System.vue +++ b/src/views/system/System.vue @@ -155,9 +155,7 @@ const isMobile = (e) => { const getCurrentInfoModalData = (e, position, value) => { const mobile = isMobile(e); selectedDevice.value = { - initPos: mobile - ? { left: `50%`, top: `50%` } - : { left: `${position.left}px`, top: `${position.top}px` }, + initPos: { left: `50%`, top: `50%` }, value, isMobile: mobile, };; diff --git a/src/views/system/components/SystemCard.vue b/src/views/system/components/SystemCard.vue index 89a18b4..d395b92 100644 --- a/src/views/system/components/SystemCard.vue +++ b/src/views/system/components/SystemCard.vue @@ -24,8 +24,8 @@ const fitToView = (forge_dbid) => {

{{ d.full_name }}

-
-
+
+
diff --git a/src/views/system/components/SystemInfoModal.vue b/src/views/system/components/SystemInfoModal.vue index 125a217..7b9b845 100644 --- a/src/views/system/components/SystemInfoModal.vue +++ b/src/views/system/components/SystemInfoModal.vue @@ -33,7 +33,7 @@ watch(