From 3933d3aa143e87f92387d2c3a31f65c192685efc Mon Sep 17 00:00:00 2001 From: AliooWang <64893838+AliooWang@users.noreply.github.com> Date: 星期日, 13 四月 2025 14:05:15 +0800 Subject: [PATCH] Merge pull request #58 from zhitan-cloud/jiayu1.0 --- zhitan-vue/src/layout/index.vue | 45 +++++---------------------------------------- 1 files changed, 5 insertions(+), 40 deletions(-) diff --git a/zhitan-vue/src/layout/index.vue b/zhitan-vue/src/layout/index.vue index cc29ec7..7cb8e3e 100644 --- a/zhitan-vue/src/layout/index.vue +++ b/zhitan-vue/src/layout/index.vue @@ -9,7 +9,7 @@ <img v-if="sideTheme === 'theme-dark'" :src="systemInfo.leftLogo" class="sidebar-logo" /> <img v-else :src="systemInfo.leftLogo" class="sidebar-logo" /> </div> - <div class="name" v-if="sidebar.opened" :style="{ color: '#fff' }"> + <div class="name" v-if="sidebar.opened" :style="{ color: sideTheme === 'theme-dark' ? '#fff' : '#333' }"> {{ title }} </div> </div> @@ -86,13 +86,13 @@ // 璺宠浆鍒版姤璀﹂〉闈� function goToAlarm() { - router.push('/alarm/list') + router.push('/alarmmanage/measuremen?modelCode=BJGL') } // 鎵撳紑AI澶фā鍨嬪璇濇 function openAIModel() { - // 杩欓噷鍙互瀹炵幇鎵撳紑AI瀵硅瘽妗嗙殑閫昏緫 - console.log('鎵撳紑AI澶фā鍨嬪璇濇') + // 璺宠浆鍒版寚瀹氱殑URL + window.open('https://deepseek.tan-zhonghe.com/chat', '_blank') } const classObj = computed(() => ({ @@ -351,47 +351,12 @@ } .themeDark { - .navbar-container { - background: #1a235d; - border-bottom: 2px solid #110f2e; - } - .navbar { - background: transparent !important; + background: #002866 !important; } .sidebar-container { background-color: #002866 !important; - } -} - -.themeLight { - .navbar-container { - background: #3883FA; - } - - .navbar { - background: transparent !important; - - .left { - .sidebar-logo-container { - .name { - color: #fff !important; - } - } - } - - .right { - .right-menu { - .right-menu-item { - color: #fff; - - .right-menu-icon { - color: #fff; - } - } - } - } } } </style> \ No newline at end of file -- Gitblit v1.9.3