|
@@ -7,8 +7,8 @@
|
|
|
<div style="display: flex;align-items: center;margin-right: 25px">
|
|
<div style="display: flex;align-items: center;margin-right: 25px">
|
|
|
|
|
|
|
|
<div style="display: flex; align-items: center; margin-right: 15px;margin-top: 6px">
|
|
<div style="display: flex; align-items: center; margin-right: 15px;margin-top: 6px">
|
|
|
- <i class="el-icon-bell" style="margin-right: 5px; font-size: 16px; color: #5a5e66;" />
|
|
|
|
|
- <el-switch v-model="isSoundOn" @change="handleSoundChange" />
|
|
|
|
|
|
|
+ <i class="el-icon-bell" style="margin-right: 5px; font-size: 16px; color: #fff;" />
|
|
|
|
|
+ <el-switch v-model="isSoundOn" active-color="#13ce66" @change="handleSoundChange" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<el-popover placement="bottom" width="170" trigger="hover">
|
|
<el-popover placement="bottom" width="170" trigger="hover">
|
|
@@ -49,8 +49,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div slot="reference" style="cursor: pointer; display: flex; align-items: center;margin-top: 6px">
|
|
<div slot="reference" style="cursor: pointer; display: flex; align-items: center;margin-top: 6px">
|
|
|
- <el-badge :value="totalPending" :max="99" :hidden="totalPending <= 0" style="line-height: 1; margin-right: 5px;">
|
|
|
|
|
- <span style="font-size: 14px; color: #5a5e66;">待处理 <i class="el-icon-arrow-down" /></span>
|
|
|
|
|
|
|
+ <el-badge :value="totalPending" :max="99" :hidden="totalPending <= 0"
|
|
|
|
|
+ style="line-height: 1; margin-right: 5px;">
|
|
|
|
|
+ <span style="font-size: 14px;">待处理 <i class="el-icon-arrow-down" /></span>
|
|
|
</el-badge>
|
|
</el-badge>
|
|
|
</div>
|
|
</div>
|
|
|
</el-popover>
|
|
</el-popover>
|
|
@@ -58,7 +59,7 @@
|
|
|
<el-dropdown class="avatar-container" trigger="click">
|
|
<el-dropdown class="avatar-container" trigger="click">
|
|
|
<div class="avatar-wrapper">
|
|
<div class="avatar-wrapper">
|
|
|
<img src="../../assets/images/logo.webp" class="user-avatar">
|
|
<img src="../../assets/images/logo.webp" class="user-avatar">
|
|
|
- <i class="el-icon-caret-bottom" />
|
|
|
|
|
|
|
+ <i class="el-icon-caret-bottom" style="color: #fff;" />
|
|
|
</div>
|
|
</div>
|
|
|
<el-dropdown-menu slot="dropdown" class="user-dropdown">
|
|
<el-dropdown-menu slot="dropdown" class="user-dropdown">
|
|
|
<el-dropdown-item @click.native="logout">
|
|
<el-dropdown-item @click.native="logout">
|
|
@@ -139,7 +140,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
goPage(pagePath) {
|
|
goPage(pagePath) {
|
|
|
- this.$router.push({name: pagePath})
|
|
|
|
|
|
|
+ this.$router.push({ name: pagePath })
|
|
|
},
|
|
},
|
|
|
// 新增:监听开关状态变化并写入缓存
|
|
// 新增:监听开关状态变化并写入缓存
|
|
|
handleSoundChange(val) {
|
|
handleSoundChange(val) {
|
|
@@ -213,8 +214,9 @@ export default {
|
|
|
margin-top: -10px;
|
|
margin-top: -10px;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
- background: #fff;
|
|
|
|
|
|
|
+ background: #2B5198;
|
|
|
box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
|
|
box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
|
|
|
.hamburger-container {
|
|
.hamburger-container {
|
|
|
line-height: 72px;
|
|
line-height: 72px;
|
|
@@ -223,10 +225,6 @@ export default {
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
transition: background .3s;
|
|
transition: background .3s;
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
-
|
|
|
|
|
- &:hover {
|
|
|
|
|
- background: rgba(0, 0, 0, .025)
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb-container {
|
|
.breadcrumb-container {
|
|
@@ -248,7 +246,6 @@ export default {
|
|
|
padding: 0 8px;
|
|
padding: 0 8px;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
font-size: 18px;
|
|
font-size: 18px;
|
|
|
- color: #5a5e66;
|
|
|
|
|
vertical-align: text-bottom;
|
|
vertical-align: text-bottom;
|
|
|
|
|
|
|
|
&.hover-effect {
|
|
&.hover-effect {
|
|
@@ -287,40 +284,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.online_title {
|
|
|
|
|
- color: #333;
|
|
|
|
|
- font-size: 16px;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-.online_box {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- justify-content: space-around;
|
|
|
|
|
- height: 90%;
|
|
|
|
|
- width: 340px;
|
|
|
|
|
- height: 36px;
|
|
|
|
|
- margin: 18px 19px 18px 5px;
|
|
|
|
|
- padding: 0 5%;
|
|
|
|
|
- background: #F3F2F2;
|
|
|
|
|
- border-radius: 18px 18px 18px 18px;
|
|
|
|
|
-
|
|
|
|
|
- .online_item {
|
|
|
|
|
- width: 23%;
|
|
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- justify-content: space-around;
|
|
|
|
|
-
|
|
|
|
|
- .type_icon {
|
|
|
|
|
- width: 20px;
|
|
|
|
|
- height: 20px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .type_num {
|
|
|
|
|
- font-size: 16px;
|
|
|
|
|
- color: #666;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
.remind {
|
|
.remind {
|
|
|
width: 24px;
|
|
width: 24px;
|
|
@@ -337,18 +300,19 @@ export default {
|
|
|
top: 0;
|
|
top: 0;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
z-index: 1;
|
|
z-index: 1;
|
|
|
- background-color: #3E7BFA;
|
|
|
|
|
|
|
+ background-color: #2B5198;
|
|
|
font-weight: 800;
|
|
font-weight: 800;
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.pending-text{
|
|
|
|
|
|
|
+.pending-text {
|
|
|
transition: .3s;
|
|
transition: .3s;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
user-select: none;
|
|
user-select: none;
|
|
|
}
|
|
}
|
|
|
-.pending-text:hover{
|
|
|
|
|
|
|
+
|
|
|
|
|
+.pending-text:hover {
|
|
|
color: #409eff;
|
|
color: #409eff;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|