|
@@ -7,15 +7,13 @@
|
|
<div class="right-menu">
|
|
<div class="right-menu">
|
|
<template v-if="device!=='mobile'">
|
|
<template v-if="device!=='mobile'">
|
|
|
|
|
|
-<!-- http://localhost/cpms/index.html#/sems/notice-->
|
|
|
|
-<!-- cpms/index.html#/sems/notice-->
|
|
|
|
- <router-link to="/notice/details">
|
|
|
|
- <svg-icon icon-class="notice" class="svgStyle" ></svg-icon>
|
|
|
|
-<!-- <i class="el-icon-bell" style="color: #FFFFFF ; margin-bottom: 5px"></i>-->
|
|
|
|
- </router-link>
|
|
|
|
-
|
|
|
|
<search id="header-search" class="right-menu-item" />
|
|
<search id="header-search" class="right-menu-item" />
|
|
|
|
|
|
|
|
+ <router-link class="right-menu-item" to="/notice/details">
|
|
|
|
+ <el-badge is-dot style="">
|
|
|
|
+ <i class="el-icon-bell" style=" font-size:20px;"></i>
|
|
|
|
+ </el-badge>
|
|
|
|
+ </router-link>
|
|
<!-- <el-tooltip content="源码地址" effect="dark" placement="bottom">-->
|
|
<!-- <el-tooltip content="源码地址" effect="dark" placement="bottom">-->
|
|
<!-- <ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />-->
|
|
<!-- <ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />-->
|
|
<!-- </el-tooltip>-->
|
|
<!-- </el-tooltip>-->
|
|
@@ -94,6 +92,12 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ mounted() {
|
|
|
|
+ //定时器
|
|
|
|
+ const timer = setInterval(() => {
|
|
|
|
+ console.log("111")
|
|
|
|
+ }, 100000)
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
toggleSideBar() {
|
|
toggleSideBar() {
|
|
this.$store.dispatch('app/toggleSideBar')
|
|
this.$store.dispatch('app/toggleSideBar')
|
|
@@ -202,7 +206,6 @@ export default {
|
|
margin-right: 6px;
|
|
margin-right: 6px;
|
|
height: 25.5px;
|
|
height: 25.5px;
|
|
width: 25.5px;
|
|
width: 25.5px;
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|