From af5763b2d91933945634c912beb3eacd55aabdfa Mon Sep 17 00:00:00 2001 From: jiayu Date: Wed, 31 Dec 2025 17:14:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9C=E6=98=8C=E9=85=8D=E7=BD=AE=E3=80=81?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8F=B3=E4=B8=8A=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/config.ts | 1 + src/views/sevenLargeScreen/indexL.vue | 84 +++++++++++++++++---------- 2 files changed, 54 insertions(+), 31 deletions(-) diff --git a/src/config/config.ts b/src/config/config.ts index e5dcac6..4687400 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -24,6 +24,7 @@ export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL; // 项目环境标识配置 部署时需更改对应的项目 export const COMPANY: string = ""; //标准版 +// export const COMPANY: string = "yc"; //宜昌项目 // export const COMPANY: string = "zhzrf"; //中海·臻如府 // export const COMPANY: string = "zsbf"; //中水北方 // export const COMPANY: string = "as"; //鞍山项目 diff --git a/src/views/sevenLargeScreen/indexL.vue b/src/views/sevenLargeScreen/indexL.vue index b6a9551..8aef6b2 100644 --- a/src/views/sevenLargeScreen/indexL.vue +++ b/src/views/sevenLargeScreen/indexL.vue @@ -59,9 +59,48 @@
-
- -
+ + +
+
+
+
+
+ +
+
{{ adminName }}
+
+
+
+ +
+
项目后台
+
+
+
+ +
+
退出登录
+
+
+
+
-
-
-
-
-
- -
-
{{ adminName }}
-
-
-
- -
-
项目后台
-
-
-
- -
-
退出登录
-
-
-
+ @@ -855,7 +872,7 @@ onMounted(async () => { // console.log("store数据", store.account); // menuClick(menuList.value[0], activeIndex.value); getNowTime(); - document.addEventListener("click", bodyCloseMenus); + // document.addEventListener("click", bodyCloseMenus); // nextTick(async () => { // const subMenus = document.querySelectorAll(".menStyle"); // const dataBoardContent = document.querySelector(".dataBoardContent"); @@ -889,7 +906,7 @@ onMounted(async () => { let timer = ref(null as any); onBeforeUnmount(() => { clearInterval(timer); - document.removeEventListener("click", bodyCloseMenus); + // document.removeEventListener("click", bodyCloseMenus); window.removeEventListener("resize", calculateAspectRatio); }); const getUserConfigList = () => { @@ -948,6 +965,7 @@ function loginOut() { } //跳转后台 function jumpBgd() { + debugger const envList = [ "agjt", "zkax", @@ -972,6 +990,10 @@ function jumpBgd() { window.location.replace( `${window.location.protocol}//${window.location.host}/#/login?token=` + store.token ); + } else if (COMPANY === "yc"){ + window.location.replace( + `${window.location.protocol}//${window.location.hostname}:9809/#/login?token=` + store.token + ); } else if (COMPANY === "tj") { window.location.replace("http://192.168.110.220:9809/#/login?token=" + store.token); } else if (COMPANY === "as") { @@ -1311,11 +1333,11 @@ const handleScroll = (e: any) => { position: relative; .userItem { - position: fixed; + // position: fixed; width: 110px; height: 100px; - right: 26px; - top: 72px; + // right: 26px; + //top: 72px; background: #112d59; border-radius: 0px 0px 0px 0px; border: 0px solid #405e97;