|
@@ -86,6 +86,7 @@ export default {
|
|
|
},1000)
|
|
|
},
|
|
|
beforeDestroy(){
|
|
|
+ // 组件销毁前清除定时器
|
|
|
clearInterval(timer)
|
|
|
},
|
|
|
|
|
@@ -113,7 +114,7 @@ export default {
|
|
|
color: #516380;
|
|
|
.time_day {
|
|
|
font-family: DS4Font;
|
|
|
- // width: 8rem;
|
|
|
+ width: 8rem;
|
|
|
}
|
|
|
.time_weekday {
|
|
|
margin: 0 1rem;
|
|
@@ -121,7 +122,8 @@ export default {
|
|
|
.time_date {
|
|
|
font-family: DS4Font;
|
|
|
margin-right: 2rem;
|
|
|
- width: 3.5rem;
|
|
|
+ width: 8rem;
|
|
|
+ letter-spacing: 0.3rem;
|
|
|
}
|
|
|
}
|
|
|
.icon_box {
|
|
@@ -131,6 +133,7 @@ export default {
|
|
|
i {
|
|
|
font-size: 1.8rem;
|
|
|
color: #00cefb;
|
|
|
+ margin-right: 0.5rem;
|
|
|
}
|
|
|
span {
|
|
|
font-size: 1.4rem;
|
|
@@ -145,7 +148,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.header_menu {
|
|
|
- height: 48px;
|
|
|
+ height: 5rem;
|
|
|
}
|
|
|
.header_user_line {
|
|
|
font-size: 1.33rem;
|
|
@@ -154,9 +157,9 @@ export default {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
::v-deep .el-menu-item {
|
|
|
- height: 48px !important;
|
|
|
+ height: 5rem !important;
|
|
|
font-size: 1.33rem !important;
|
|
|
- line-height: 48px !important;
|
|
|
+ line-height: 5rem !important;
|
|
|
color: #516380 !important;
|
|
|
padding: 0 !important;
|
|
|
margin-right: 2rem !important;
|