From a6a8e49af8c8172f4209dd94e65f53f17825cc44 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期四, 21 十一月 2024 17:30:12 +0800 Subject: [PATCH] 项目管理 --- src/layout/components/Navbar.vue | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 4bc452f..4c30253 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -16,27 +16,27 @@ <!-- <ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect" />--> <!-- </el-tooltip>--> - <screenfull id="screenfull" class="right-menu-item hover-effect" /> +<!-- <screenfull id="screenfull" class="right-menu-item hover-effect" />--> - <el-tooltip content="布局大小" effect="dark" placement="bottom"> - <size-select id="size-select" class="right-menu-item hover-effect" /> - </el-tooltip> +<!-- <el-tooltip content="布局大小" effect="dark" placement="bottom">--> +<!-- <size-select id="size-select" class="right-menu-item hover-effect" />--> +<!-- </el-tooltip>--> </template> <div class="avatar-container"> <el-dropdown @command="handleCommand" class="right-menu-item hover-effect" trigger="click"> <div class="avatar-wrapper"> - <img :src="userStore.avatar" class="user-avatar" /> + <img :src="avator" class="user-avatar" /> <el-icon><caret-bottom /></el-icon> </div> <template #dropdown> <el-dropdown-menu> - <router-link to="/user/profile"> - <el-dropdown-item>个人中心</el-dropdown-item> - </router-link> +<!-- <router-link to="/user/profile">--> +<!-- <el-dropdown-item>个人中心</el-dropdown-item>--> +<!-- </router-link>--> <!-- <el-dropdown-item command="setLayout" v-if="settingsStore.showSettings">--> <!-- <span>布局设置</span>--> <!-- </el-dropdown-item>--> - <el-dropdown-item divided command="logout"> + <el-dropdown-item command="logout"> <span>退出登录</span> </el-dropdown-item> </el-dropdown-menu> @@ -60,6 +60,8 @@ import useAppStore from '@/store/modules/app' import useUserStore from '@/store/modules/user' import useSettingsStore from '@/store/modules/settings' +import avator from '@/assets/images/avator.png' + const appStore = useAppStore() const userStore = useUserStore() @@ -106,8 +108,8 @@ overflow: hidden; position: relative; background: #fff; - border-radius: 0.4rem 0.4rem 0 0; - border-bottom: 1px solid #d5dce5; + box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); + .hamburger-container { line-height: 46px; height: 100%; -- Gitblit v1.9.2