暂存导航栏调整

This commit is contained in:
2024-08-02 16:05:37 +08:00
parent 69aaacb1c7
commit ad7ef729d0
12 changed files with 242 additions and 46 deletions

View File

@@ -12,7 +12,7 @@
v-if="!topNav" />
<top-nav id="topmenu-container" class="topmenu-container" v-if="topNav" />
<div style="padding-top: 5px; padding-right: 38px">
<div style="padding-top: 5px; padding-right: 24px">
<navbar-right :blackTitle="true" />
</div>
</div>
@@ -80,14 +80,14 @@ export default {
<style lang="scss" scoped>
.navbar {
height: 48px; // 56
height: 84px;
overflow: hidden;
position: relative;
background: #fff;
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
.hamburger-container {
line-height: 48px;
line-height: 84px;
height: 100%;
float: left;
cursor: pointer;

View File

@@ -8,7 +8,7 @@
<svg-icon
icon-class="alarm"
style="font-size: 24px; cursor: pointer"
@click="toHome" />
@click="toAlarm" />
</div>
<!-- <div class="time-msg">
<div class="line1">{{timeZone}}&nbsp;&nbsp;&nbsp;&nbsp;{{topTime}}</div>
@@ -20,13 +20,14 @@
<img
:src="require(`../../assets/images/choicepart/avatar.png`)"
alt=""
width="32"
height="32" />
width="42"
height="42"
style="position: relative; top: 4px" />
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>
<!-- <el-dropdown-item>
<svg-icon icon-class="helpbtn" />
帮助文档
</el-dropdown-item>
</el-dropdown-item> -->
<el-dropdown-item @click.native="logout">
<svg-icon icon-class="exitbtn" />
退出登录
@@ -98,8 +99,8 @@ export default {
})
.catch(() => {});
},
toHome() {
this.$router.push({ path: '/' });
toAlarm() {
this.$router.push({ path: '/abnormalWarning' });
},
},
};
@@ -117,10 +118,11 @@ export default {
display: inline-block;
margin-right: 20px;
vertical-align: top;
padding-top: 7px;
line-height: 84px;
}
.base-msg {
display: inline-block;
padding-top: 10px;
.avatar {
display: inline-block;
margin-right: 10px;

View File

@@ -67,7 +67,7 @@ export default {
},
data() {
return {
title: '中建材智能化院',
title: 'MES产品化重构',
logo: logoImg,
};
},
@@ -87,8 +87,8 @@ export default {
.sidebar-logo-container {
position: relative;
width: 100%;
height: 56px;
line-height: 56px;
height: 84px;
line-height: 84px;
background: #1445cc;
text-align: center;
overflow: hidden;