|
@@ -1,17 +1,9 @@
|
|
|
<template>
|
|
|
<div class="navbar">
|
|
|
- <hamburger
|
|
|
- id="hamburger-container"
|
|
|
- :is-active="sidebar.opened"
|
|
|
- class="hamburger-container"
|
|
|
- @toggleClick="toggleSideBar"
|
|
|
- />
|
|
|
+ <hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container"
|
|
|
+ @toggleClick="toggleSideBar" />
|
|
|
|
|
|
- <breadcrumb
|
|
|
- id="breadcrumb-container"
|
|
|
- class="breadcrumb-container"
|
|
|
- v-if="!topNav"
|
|
|
- />
|
|
|
+ <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">
|
|
@@ -21,7 +13,7 @@
|
|
|
<router-link to="/user/profile">
|
|
|
<span style="color: #00f6ff">用户名 :</span>
|
|
|
<span style="padding-left: 4px; color: #00f6ff; margin-right: 15px">{{
|
|
|
- yongHu
|
|
|
+ yongHu
|
|
|
}}</span>
|
|
|
<!-- <el-dropdown-item>个人中心</el-dropdown-item> -->
|
|
|
</router-link>
|
|
@@ -128,7 +120,7 @@ export default {
|
|
|
location.href = "/index";
|
|
|
});
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => { });
|
|
|
},
|
|
|
getUser() {
|
|
|
getUserProfile().then((response) => {
|
|
@@ -228,14 +220,17 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.yong_hu {
|
|
|
display: inline-block;
|
|
|
vertical-align: top;
|
|
|
font-size: 15px;
|
|
|
}
|
|
|
+
|
|
|
.span {
|
|
|
margin-right: 21px;
|
|
|
}
|
|
|
+
|
|
|
/* 退出登录 btl */
|
|
|
.el-button--btl.is-active,
|
|
|
.el-button--btl:active {
|
|
@@ -272,6 +267,7 @@ export default {
|
|
|
vertical-align: text-bottom;
|
|
|
margin-right: 20px;
|
|
|
}
|
|
|
+
|
|
|
.iconfont {
|
|
|
color: #fff;
|
|
|
font-size: 27px;
|