From 4ca6474cf4b90dd1b4ebe88306e361bb873b9f23 Mon Sep 17 00:00:00 2001 From: birt <2499248221@qq.com> Date: 星期日, 13 四月 2025 13:19:37 +0800 Subject: [PATCH] 123 --- zhitan-vue/src/assets/styles/index.scss | 9 +++++++++ zhitan-vue/src/layout/components/AppMain.vue | 5 +++++ zhitan-vue/src/views/login.vue | 3 ++- zhitan-vue/src/layout/components/Navbar.vue | 4 ++-- zhitan-vue/src/views/system/user/profile/index.vue | 2 +- zhitan-vue/src/layout/index.vue | 4 ++-- zhitan-vue/src/components/Hamburger/index.vue | 2 +- 7 files changed, 22 insertions(+), 7 deletions(-) diff --git a/zhitan-vue/src/assets/styles/index.scss b/zhitan-vue/src/assets/styles/index.scss index c31570b..1117766 100644 --- a/zhitan-vue/src/assets/styles/index.scss +++ b/zhitan-vue/src/assets/styles/index.scss @@ -9,10 +9,12 @@ body { height: 100%; margin: 0; + padding: 0; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; + overflow-x: hidden; /* 闃叉姘村钩婊氬姩鏉� */ } label { @@ -22,10 +24,17 @@ html { height: 100%; box-sizing: border-box; + margin: 0; + padding: 0; + overflow-x: hidden; /* 闃叉姘村钩婊氬姩鏉� */ } #app { height: 100%; + width: 100%; + margin: 0; + padding: 0; + overflow-x: hidden; /* 闃叉姘村钩婊氬姩鏉� */ } *, diff --git a/zhitan-vue/src/components/Hamburger/index.vue b/zhitan-vue/src/components/Hamburger/index.vue index 7e05d03..53e6544 100644 --- a/zhitan-vue/src/components/Hamburger/index.vue +++ b/zhitan-vue/src/components/Hamburger/index.vue @@ -12,7 +12,7 @@ </svg> --> <img src="/src/assets/images/nav-btn.png" width="26" v-if="settingsStore.sideTheme == 'theme-dark'"> - <img src="/src/assets/images/nav-btn2.png" width="26" v-else> + <img src="/src/assets/images/nav-btn.png" width="26" v-else> </div> </template> diff --git a/zhitan-vue/src/layout/components/AppMain.vue b/zhitan-vue/src/layout/components/AppMain.vue index 2eaa2bb..fb2159e 100644 --- a/zhitan-vue/src/layout/components/AppMain.vue +++ b/zhitan-vue/src/layout/components/AppMain.vue @@ -74,6 +74,11 @@ } } } + +/* 鐢ㄦ埛涓汉璧勬枡椤电壒娈婇珮搴﹀鐞� */ +.user-profile-container { + min-height: calc(100vh - 50px) !important; +} </style> <style lang="scss"> diff --git a/zhitan-vue/src/layout/components/Navbar.vue b/zhitan-vue/src/layout/components/Navbar.vue index edf2bbd..65ac355 100644 --- a/zhitan-vue/src/layout/components/Navbar.vue +++ b/zhitan-vue/src/layout/components/Navbar.vue @@ -55,8 +55,8 @@ } function handleRobot() { - // 澶勭悊澶фā鍨嬫寜閽偣鍑讳簨浠� - console.log('澶фā鍨嬫寜閽鐐瑰嚮') + // 璺宠浆鍒版櫤鑳藉姪鎵嬮〉闈� + window.open('https://deepseek.tan-zhonghe.com/chat', '_blank') } </script> diff --git a/zhitan-vue/src/layout/index.vue b/zhitan-vue/src/layout/index.vue index f190105..96903b5 100644 --- a/zhitan-vue/src/layout/index.vue +++ b/zhitan-vue/src/layout/index.vue @@ -91,8 +91,8 @@ // 鎵撳紑AI澶фā鍨嬪璇濇 function openAIModel() { - // 杩欓噷鍙互瀹炵幇鎵撳紑AI瀵硅瘽妗嗙殑閫昏緫 - console.log('鎵撳紑AI澶фā鍨嬪璇濇') + // 璺宠浆鍒版寚瀹氱殑URL + window.open('https://deepseek.tan-zhonghe.com/chat', '_blank') } const classObj = computed(() => ({ diff --git a/zhitan-vue/src/views/login.vue b/zhitan-vue/src/views/login.vue index f709a42..a42fc6f 100644 --- a/zhitan-vue/src/views/login.vue +++ b/zhitan-vue/src/views/login.vue @@ -201,7 +201,7 @@ .login { display: flex; align-items: center; - height: 100%; + height: 100vh; background-image: url("@/assets/images/login-background.png"); background-repeat: no-repeat; background-size: cover; @@ -209,6 +209,7 @@ position: relative; min-width: 700px; min-height: 700px; + background-color:#001146 } .middle-view { diff --git a/zhitan-vue/src/views/system/user/profile/index.vue b/zhitan-vue/src/views/system/user/profile/index.vue index 56ba9bc..ca87adb 100644 --- a/zhitan-vue/src/views/system/user/profile/index.vue +++ b/zhitan-vue/src/views/system/user/profile/index.vue @@ -1,5 +1,5 @@ <template> - <div class="app-container"> + <div class="app-container user-profile-container"> <el-row :gutter="20"> <el-col :span="6" :xs="24"> <el-card class="box-card"> -- Gitblit v1.9.3