From 44f5fadd6a669405cd8a7608aa510bd62688a750 Mon Sep 17 00:00:00 2001 From: wyg <wu1555611@163.com> Date: 星期一, 17 六月 2024 11:35:11 +0800 Subject: [PATCH] 去除若依化 --- src/layout/components/Navbar.vue | 36 ++++++------------------------------ 1 files changed, 6 insertions(+), 30 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index ce5fd1a..94c56c0 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -6,28 +6,7 @@ <top-nav id="topmenu-container" class="topmenu-container" v-if="topNav"/> <div class="right-menu"> - <template v-if="device!=='mobile'"> - <el-tooltip content="椹伴獘BPM" effect="dark" placement="bottom"> - <a href="http://ccflow.org/?frm=KonBAI" target="_blank" class="right-menu-item hover-effect">椹伴獘BPM</a> - </el-tooltip> - - <search id="header-search" class="right-menu-item" /> - - <el-tooltip content="婧愮爜鍦板潃" effect="dark" placement="bottom"> - <ruo-yi-git id="dl-git" class="right-menu-item hover-effect" /> - </el-tooltip> - - <el-tooltip content="鏂囨。鍦板潃" effect="dark" placement="bottom"> - <ruo-yi-doc id="dl-doc" class="right-menu-item hover-effect" /> - </el-tooltip> - - <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> - - </template> + <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click"> <div class="avatar-wrapper"> @@ -38,9 +17,9 @@ <router-link to="/user/profile"> <el-dropdown-item>涓汉涓績</el-dropdown-item> </router-link> - <el-dropdown-item @click.native="setting = true"> + <!-- <el-dropdown-item @click.native="setting = true"> <span>甯冨眬璁剧疆</span> - </el-dropdown-item> + </el-dropdown-item> --> <el-dropdown-item divided @click.native="logout"> <span>閫�鍑虹櫥褰�</span> </el-dropdown-item> @@ -56,10 +35,9 @@ import TopNav from '@/components/TopNav' import Hamburger from '@/components/Hamburger' import Screenfull from '@/components/Screenfull' -import SizeSelect from '@/components/SizeSelect' +// import SizeSelect from '@/components/SizeSelect' import Search from '@/components/HeaderSearch' -import RuoYiGit from '@/components/RuoYi/Git' -import RuoYiDoc from '@/components/RuoYi/Doc' + export default { components: { @@ -67,10 +45,8 @@ TopNav, Hamburger, Screenfull, - SizeSelect, + // SizeSelect, Search, - RuoYiGit, - RuoYiDoc }, computed: { ...mapGetters([ -- Gitblit v1.9.3