|
|
@@ -1,9 +1,17 @@
|
|
|
<template>
|
|
|
<div class="navbar">
|
|
|
<div class="hos-name">
|
|
|
+ <hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
|
|
|
<img :src="logo" alt="logo">
|
|
|
<span v-if="userData.ocName" class="tag">{{ userData.ocName }}</span>
|
|
|
- <hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
|
|
|
+ <countdown :end-time="userData.licExpiredTime">
|
|
|
+ <div
|
|
|
+ slot="process"
|
|
|
+ slot-scope="{ timeObj }"
|
|
|
+ class="tag authorization"
|
|
|
+ >({{ `${timeObj.d}天${timeObj.h}:${timeObj.m}:${timeObj.s}` }})</div>
|
|
|
+ <div slot="finish" class="tag error">请续费使用</div>
|
|
|
+ </countdown>
|
|
|
</div>
|
|
|
<!-- 隐藏标签 -->
|
|
|
<breadcrumb v-if="0" id="breadcrumb-container" class="breadcrumb-container" />
|
|
|
@@ -209,19 +217,23 @@ export default {
|
|
|
img{
|
|
|
display: block;
|
|
|
width: auto;
|
|
|
- height: 36px;
|
|
|
+ height: 32px;
|
|
|
}
|
|
|
.tag{
|
|
|
font-size: 16px;
|
|
|
- line-height: 16px;
|
|
|
+ line-height: 1;
|
|
|
font-weight: 600;
|
|
|
- padding-left: 10px;
|
|
|
+ padding-left: 5px;
|
|
|
margin-top: 15px;
|
|
|
+ &.authorization{
|
|
|
+ font-size: 14px;
|
|
|
+ color: rgba(255, 255, 255, 0.7);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.hamburger-container {
|
|
|
padding: 3px 6px;
|
|
|
- margin-left: 10px;
|
|
|
+ margin-left: 5px;
|
|
|
line-height: var(--navHeight);
|
|
|
height: 100%;
|
|
|
font-size: 16px;
|
|
|
@@ -316,6 +328,7 @@ export default {
|
|
|
height: 40px;
|
|
|
line-height: 40px;
|
|
|
border-radius: 20px;
|
|
|
+ margin-right: 5px;
|
|
|
.item-cont{
|
|
|
display: block;
|
|
|
height: 100%;
|