|
@@ -4,9 +4,9 @@
|
|
|
|
|
|
<breadcrumb id="breadcrumb-container" class="breadcrumb-container" v-if="!topNav"/>
|
|
|
<top-nav id="topmenu-container" class="topmenu-container" v-if="topNav"/>
|
|
|
-
|
|
|
+
|
|
|
<div class="right-menu">
|
|
|
-
|
|
|
+
|
|
|
<template v-if="device!=='mobile'">
|
|
|
<span class="date" >{{date}}</span>
|
|
|
<search id="header-search" class="right-menu-item" />
|
|
@@ -16,13 +16,13 @@
|
|
|
<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">
|
|
|
- {{$store.state.user.name}}
|
|
|
+ {{$store.state.user.nickName}}
|
|
|
<!-- <img :src="avatar" class="user-avatar"> -->
|
|
|
<i class="el-icon-caret-bottom" />
|
|
|
</div>
|
|
@@ -49,7 +49,7 @@ import TopNav from '@/components/TopNav'
|
|
|
import Hamburger from '@/components/Hamburger'
|
|
|
import Screenfull from '@/components/Screenfull'
|
|
|
import SizeSelect from '@/components/SizeSelect'
|
|
|
-import Search from '@/components/HeaderSearch'
|
|
|
+import Search from '@/components/HeaderSearch'
|
|
|
|
|
|
export default {
|
|
|
data(){
|
|
@@ -87,7 +87,7 @@ export default {
|
|
|
return this.$store.state.settings.topNav
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
mounted(){
|
|
|
let that= this;
|
|
@@ -102,7 +102,7 @@ export default {
|
|
|
let sfb = hours + ':' + minutes + ':' + seconds
|
|
|
that.date = year + month + day + ' ' + sfb
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
//销毁时清除计时器
|
|
|
// beforeDestroy: function () {
|
|
@@ -220,6 +220,6 @@ export default {
|
|
|
width:250px;
|
|
|
margin-right: 20px;
|
|
|
vertical-align: top;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
</style>
|