|
@@ -3,11 +3,10 @@
|
|
<div class="left-menu">
|
|
<div class="left-menu">
|
|
<hamburger class="hamburger-container" :is-active="opened" @toggleClick="toggleSideBar" />
|
|
<hamburger class="hamburger-container" :is-active="opened" @toggleClick="toggleSideBar" />
|
|
<div>
|
|
<div>
|
|
- <el-image class="img" :src="src" alt=""></el-image>
|
|
|
|
|
|
+ <!-- <el-image class="img" :src="src" alt=""></el-image> -->
|
|
</div>
|
|
</div>
|
|
<div class="title">
|
|
<div class="title">
|
|
- <div class="tit">智慧运营管理中心</div>
|
|
|
|
- <div class="tit2">Intelligent operation and managenemnt center</div>
|
|
|
|
|
|
+ <p style="margin-top:15px">智慧运营管理中心</p>
|
|
</div>
|
|
</div>
|
|
<el-select class="select-btn" v-model="value" placeholder="主语国际3号楼">
|
|
<el-select class="select-btn" v-model="value" placeholder="主语国际3号楼">
|
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
|
@@ -15,9 +14,10 @@
|
|
</el-select>
|
|
</el-select>
|
|
</div>
|
|
</div>
|
|
<div class="right-menu">
|
|
<div class="right-menu">
|
|
- <el-image class="phone" :src="src" alt=""></el-image>
|
|
|
|
- <el-image class="help" :src="src" alt=""></el-image>
|
|
|
|
- <el-image class="notification" :src="src" alt="" ></el-image>
|
|
|
|
|
|
+ <el-image class="labtap" :src="require('@/assets/images/diannao@3x.png')"></el-image>
|
|
|
|
+ <el-image class="phone" :src="require('@/assets/images/shouji-4@3x.png')"></el-image>
|
|
|
|
+ <el-image class="help" :src="require('@/assets/images/help@3x.png')"></el-image>
|
|
|
|
+ <el-image class="notification" :src="require('@/assets/images/tongzhi@3x.png')"></el-image>
|
|
<div class="avatar"><el-avatar :size="50" :src="circleUrl"></el-avatar></div>
|
|
<div class="avatar"><el-avatar :size="50" :src="circleUrl"></el-avatar></div>
|
|
<div class="info">
|
|
<div class="info">
|
|
<i class="el-icon-user"></i>
|
|
<i class="el-icon-user"></i>
|
|
@@ -34,21 +34,20 @@ export default {
|
|
name: "Navbar",
|
|
name: "Navbar",
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- value:'test',
|
|
|
|
|
|
+ value: '主语国际3号楼',
|
|
options: {
|
|
options: {
|
|
|
|
|
|
},
|
|
},
|
|
- opened:true,
|
|
|
|
|
|
+ opened: false,
|
|
name: "test",
|
|
name: "test",
|
|
- src:"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png",
|
|
|
|
circleUrl: "https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png",
|
|
circleUrl: "https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png",
|
|
isCollapse: true
|
|
isCollapse: true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
- toggleSideBar(){
|
|
|
|
-
|
|
|
|
|
|
+ toggleSideBar() {
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -65,11 +64,13 @@ export default {
|
|
position: absolute;
|
|
position: absolute;
|
|
line-height: 64px;
|
|
line-height: 64px;
|
|
left: 0;
|
|
left: 0;
|
|
- width:64px;
|
|
|
|
|
|
+ width: 64px;
|
|
float: left;
|
|
float: left;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
transition: background .3s;
|
|
transition: background .3s;
|
|
- -webkit-tap-highlight-color:transparent;
|
|
|
|
|
|
+ background-color: #104986;
|
|
|
|
+ ;
|
|
|
|
+ -webkit-tap-highlight-color: transparent;
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
background: rgba(0, 0, 0, .025)
|
|
background: rgba(0, 0, 0, .025)
|
|
@@ -85,63 +86,38 @@ export default {
|
|
.img {
|
|
.img {
|
|
display: flex;
|
|
display: flex;
|
|
position: absolute;
|
|
position: absolute;
|
|
- left: 70px;
|
|
|
|
- top: 3px;
|
|
|
|
- width: 58px;
|
|
|
|
- height: 57px;
|
|
|
|
- bottom: 4px;
|
|
|
|
|
|
+ left: 64px;
|
|
|
|
+ width: 64px;
|
|
|
|
+ height: 64px;
|
|
}
|
|
}
|
|
|
|
|
|
.title {
|
|
.title {
|
|
position: absolute;
|
|
position: absolute;
|
|
- // margin-top: 4px;
|
|
|
|
- // margin-bottom: 4px;
|
|
|
|
left: 130px;
|
|
left: 130px;
|
|
- // top: 4px;
|
|
|
|
- width: 302px;
|
|
|
|
|
|
+ width: 320px;
|
|
height: 64px;
|
|
height: 64px;
|
|
color: rgba(255, 255, 255, 1);
|
|
color: rgba(255, 255, 255, 1);
|
|
- // font-size: 18px;
|
|
|
|
- text-align: left;
|
|
|
|
-
|
|
|
|
- .tit {
|
|
|
|
- left: 130px;
|
|
|
|
- margin-top: 4px;
|
|
|
|
- width: 302px;
|
|
|
|
- height: 29px;
|
|
|
|
- color: rgba(255, 255, 255, 1);
|
|
|
|
- font-size: 18px;
|
|
|
|
- text-align: left;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .tit2 {
|
|
|
|
- left: 130px;
|
|
|
|
- top: 33px;
|
|
|
|
- width: 302px;
|
|
|
|
- height: 29px;
|
|
|
|
- color: rgba(255, 255, 255, 1);
|
|
|
|
- font-size: 14px;
|
|
|
|
- text-align: left;
|
|
|
|
- align-content: center;
|
|
|
|
- }
|
|
|
|
|
|
+ text-align: center;
|
|
|
|
+ letter-spacing: 15px;
|
|
|
|
+ font-size: 25px;
|
|
}
|
|
}
|
|
|
|
|
|
.select-btn {
|
|
.select-btn {
|
|
position: absolute;
|
|
position: absolute;
|
|
- left: 442px;
|
|
|
|
|
|
+ left: 480px;
|
|
top: 15px;
|
|
top: 15px;
|
|
width: 205px;
|
|
width: 205px;
|
|
height: 36px;
|
|
height: 36px;
|
|
line-height: 23px;
|
|
line-height: 23px;
|
|
- border-radius: 4px;
|
|
|
|
color: rgba(226, 229, 231, 1);
|
|
color: rgba(226, 229, 231, 1);
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
|
|
/deep/.el-input__inner {
|
|
/deep/.el-input__inner {
|
|
- background-color: #045bb8;
|
|
|
|
|
|
+ background-color: #5186be;
|
|
color: rgba(226, 229, 231, 1);
|
|
color: rgba(226, 229, 231, 1);
|
|
- border: 1px solid #3a8ee6;
|
|
|
|
|
|
+ border: 1px solid #5186be;
|
|
|
|
+ border-radius: 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -156,31 +132,40 @@ export default {
|
|
outline: none;
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ .labtap {
|
|
|
|
+ position: absolute;
|
|
|
|
+ float: right;
|
|
|
|
+ right: 355px;
|
|
|
|
+ top: 20px;
|
|
|
|
+ width: 20px;
|
|
|
|
+ height: 20px;
|
|
|
|
+ }
|
|
|
|
+
|
|
.phone {
|
|
.phone {
|
|
position: absolute;
|
|
position: absolute;
|
|
float: right;
|
|
float: right;
|
|
right: 320px;
|
|
right: 320px;
|
|
top: 20px;
|
|
top: 20px;
|
|
- width: 24px;
|
|
|
|
- height: 24px;
|
|
|
|
|
|
+ width: 20px;
|
|
|
|
+ height: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
.help {
|
|
.help {
|
|
position: absolute;
|
|
position: absolute;
|
|
float: right;
|
|
float: right;
|
|
- right: 278px;
|
|
|
|
|
|
+ right: 285px;
|
|
top: 20px;
|
|
top: 20px;
|
|
- width: 24px;
|
|
|
|
- height: 24px;
|
|
|
|
|
|
+ width: 20px;
|
|
|
|
+ height: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
.notification {
|
|
.notification {
|
|
position: absolute;
|
|
position: absolute;
|
|
float: right;
|
|
float: right;
|
|
- right: 236px;
|
|
|
|
|
|
+ right: 250px;
|
|
top: 20px;
|
|
top: 20px;
|
|
- width: 24px;
|
|
|
|
- height: 24px;
|
|
|
|
|
|
+ width: 20px;
|
|
|
|
+ height: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
.avatar {
|
|
.avatar {
|