|
@@ -74,6 +74,16 @@
|
|
|
</el-tooltip>
|
|
|
<el-tooltip
|
|
|
effect="dark"
|
|
|
+ :content="$t('navbar.notice')"
|
|
|
+ placement="bottom"
|
|
|
+ style="margin-right:12px"
|
|
|
+ >
|
|
|
+ <div class="top-bar__item--show">
|
|
|
+ <top-notice></top-notice>
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+ <el-tooltip
|
|
|
+ effect="dark"
|
|
|
:content="$t('navbar.language')"
|
|
|
placement="bottom"
|
|
|
>
|
|
@@ -123,7 +133,11 @@
|
|
|
</el-dropdown>
|
|
|
<el-dropdown>
|
|
|
<span class="el-dropdown-link">
|
|
|
- <img class="top-bar__img" :src="userInfo.avatar" style="margin-left:8px"/>
|
|
|
+ <img
|
|
|
+ class="top-bar__img"
|
|
|
+ :src="userInfo.avatar"
|
|
|
+ style="margin-left:8px"
|
|
|
+ />
|
|
|
<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
</span>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
@@ -154,13 +168,15 @@ import topLock from "./top/top-lock";
|
|
|
import topTheme from "./top/top-theme";
|
|
|
import topLogs from "./top/top-logs";
|
|
|
import topLang from "./top/top-lang";
|
|
|
+import topNotice from "./top/top-notice";
|
|
|
export default {
|
|
|
components: {
|
|
|
topColor,
|
|
|
topLogs,
|
|
|
topLock,
|
|
|
topTheme,
|
|
|
- topLang
|
|
|
+ topLang,
|
|
|
+ topNotice
|
|
|
},
|
|
|
name: "tags",
|
|
|
data() {
|