From 7fbce1ecd95b4e12ceda0a5b874ec8f3951625f7 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期五, 17 一月 2025 17:58:59 +0800 Subject: [PATCH] WI水务智能助理 --- src/layout/component/main.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/layout/component/main.vue b/src/layout/component/main.vue index 4f4c7fe..c0bcfa2 100644 --- a/src/layout/component/main.vue +++ b/src/layout/component/main.vue @@ -7,7 +7,7 @@ ref="layoutMainScrollbarRef" class="layout-main-scroll layout-backtop-header-fixed" wrap-class="layout-main-scroll flex" - view-class="layout-main-scroll bg-[#1c1e1d] flex h100 w-full" + view-class="layout-main-scroll bg-[var(--color-bg-side)] flex h100 w-full" > <SideBar v-if="!isSharePage && sidebarIsShow" :isShow="sidebarIsShow" @toggleSidebar="toggleSidebar" /> <SidebarOther v-if="!isSharePage && !sidebarIsShow" :isShow="!sidebarIsShow" @toggleSidebar="toggleSidebar" /> @@ -16,7 +16,7 @@ :class="{ // 'm-[6px]': !isSharePage, // 'rounded-[10px]': !isSharePage, - 'bg-[#1c1e1d]': !isSharePage, + 'bg-[var(--color-bg-side)]': !isSharePage, 'bg-[#f7f8fa]': isSharePage, }" > @@ -88,7 +88,6 @@ //#region ====================== 渚ц竟鏍忔樉绀洪殣钘� ====================== const sidebarIsShow = ref(Local.get('sidebarIsShow') ?? true); const toggleSidebar = (val) => { - console.log('馃殌 ~ val:', val); sidebarIsShow.value = val; Local.set('sidebarIsShow', val); }; -- Gitblit v1.9.3