From 15792ad8baea4ab886dbfc58009847f26de45df8 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期五, 02 八月 2024 17:55:19 +0800 Subject: [PATCH] 1、利用viewport完成PC端页面响应式布局,其他端还未适配 2、基本完成语言大模型页面布局及部分功能 3、实现对于侧边栏图标在首页与其他页面时不同的展示风格 4、使用压缩后的背景图与首页gif(效果不好,跳转路由后仍会出现短暂背景图片未加载出情况) 5、修改项目浏览器页签图标 --- src/components/tools/Logo.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/tools/Logo.vue b/src/components/tools/Logo.vue index d871db9..dc4d03c 100644 --- a/src/components/tools/Logo.vue +++ b/src/components/tools/Logo.vue @@ -4,7 +4,8 @@ <span>鍥炲埌棣栭〉</span> </template> <div class="logo"> - <img src="~@/assets/icons/logo.png" alt="logo" @click="$router.push('/dashboard/Analysis')"> + <img src="~@/assets/icons/logo.png" alt="logo" @click="$router.push('/dashboard/Analysis')" v-if="$route.meta.title==='棣栭〉'"> + <img src="~@/assets/icons/logo-dark.png" alt="logo" @click="$router.push('/dashboard/Analysis')" v-else> </div> </a-tooltip> </template> @@ -45,14 +46,12 @@ line-height: @height !important; box-shadow: none !important; cursor: pointer; + background-color: transparent; + text-align: center; img { height: @height !important; } - } - - &.light .logo { - background-color: transparent; } } </style> \ No newline at end of file -- Gitblit v1.9.3