|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="navbar">
|
|
|
|
|
<hamburger id="hamburger-container" :is-active="appStore.sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
|
|
|
|
|
<!-- <hamburger id="hamburger-container" :is-active="appStore.sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
|
|
|
|
|
<breadcrumb id="breadcrumb-container" class="breadcrumb-container" v-if="!settingsStore.topNav" />
|
|
|
|
|
<top-nav id="topmenu-container" class="topmenu-container" v-if="settingsStore.topNav" />
|
|
|
|
|
<top-nav id="topmenu-container" class="topmenu-container" v-if="settingsStore.topNav" /> -->
|
|
|
|
|
|
|
|
|
|
<div class="right-menu">
|
|
|
|
|
<template v-if="appStore.device !== 'mobile'">
|
|
|
|
|
<!-- <template v-if="appStore.device !== 'mobile'">
|
|
|
|
|
<header-search id="header-search" class="right-menu-item" />
|
|
|
|
|
|
|
|
|
|
<el-tooltip content="源码地址" effect="dark" placement="bottom">
|
|
|
|
@ -21,7 +21,7 @@
|
|
|
|
|
<el-tooltip content="布局大小" effect="dark" placement="bottom">
|
|
|
|
|
<size-select id="size-select" class="right-menu-item hover-effect" />
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
</template> -->
|
|
|
|
|
<div class="avatar-container">
|
|
|
|
|
<el-dropdown @command="handleCommand" class="right-menu-item hover-effect" trigger="click">
|
|
|
|
|
<div class="avatar-wrapper">
|
|
|
|
@ -49,14 +49,14 @@
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import { ElMessageBox } from 'element-plus'
|
|
|
|
|
import Breadcrumb from '@/components/Breadcrumb'
|
|
|
|
|
import TopNav from '@/components/TopNav'
|
|
|
|
|
import Hamburger from '@/components/Hamburger'
|
|
|
|
|
import Screenfull from '@/components/Screenfull'
|
|
|
|
|
import SizeSelect from '@/components/SizeSelect'
|
|
|
|
|
import HeaderSearch from '@/components/HeaderSearch'
|
|
|
|
|
import RuoYiGit from '@/components/RuoYi/Git'
|
|
|
|
|
import RuoYiDoc from '@/components/RuoYi/Doc'
|
|
|
|
|
// import Breadcrumb from '@/components/Breadcrumb'
|
|
|
|
|
// import TopNav from '@/components/TopNav'
|
|
|
|
|
// import Hamburger from '@/components/Hamburger'
|
|
|
|
|
// import Screenfull from '@/components/Screenfull'
|
|
|
|
|
// import SizeSelect from '@/components/SizeSelect'
|
|
|
|
|
// import HeaderSearch from '@/components/HeaderSearch'
|
|
|
|
|
// import RuoYiGit from '@/components/RuoYi/Git'
|
|
|
|
|
// import RuoYiDoc from '@/components/RuoYi/Doc'
|
|
|
|
|
import useAppStore from '@/store/modules/app'
|
|
|
|
|
import useUserStore from '@/store/modules/user'
|
|
|
|
|
import useSettingsStore from '@/store/modules/settings'
|
|
|
|
@ -105,8 +105,13 @@ function setLayout() {
|
|
|
|
|
height: 50px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
position: relative;
|
|
|
|
|
background: #fff;
|
|
|
|
|
background: url(../../assets/images/top.png);
|
|
|
|
|
background-size: 100% 54px !important;
|
|
|
|
|
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
|
|
|
|
position: fixed;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 50px;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
|
|
|
|
|
.hamburger-container {
|
|
|
|
|
line-height: 46px;
|
|
|
|
|