Browse Source

header高度调整

pull/143/head
liwei 3 years ago
parent
commit
26cc719eca
2 changed files with 17 additions and 17 deletions
  1. +12
    -12
      src/components/Header.vue
  2. +5
    -5
      src/components/Layout.vue

+ 12
- 12
src/components/Header.vue View File

@ -11,7 +11,7 @@
<el-dropdown>
<el-avatar
shape="square"
:size="40"
:size="20"
fit="contain"
:src="userInfo.avatar"
/>
@ -120,9 +120,9 @@ export default {
}
.el-dropdown {
float: right;
width: 40px;
height: 40px;
margin-top: 8px;
width: 20px;
height: 20px;
margin-top: 5px;
margin-right: 8px;
}
}
@ -133,7 +133,7 @@ export default {
float: left;
width: 40px;
height: 40px;
margin-top: 10px;
margin-top: 3px;
margin-left: 24px;
cursor: pointer;
}
@ -159,11 +159,11 @@ export default {
.user-info-wrap {
float: right;
min-width: 199px;
height: 56px;
height: 30px;
box-shadow: 0px 1px 3px 0px #1e514d;
border-radius: 2px;
border: 1px solid #2c998f;
margin-top: 2px;
margin-top: 7px;
margin-right: 16px;
.user-details-wrap {
float: right;
@ -173,6 +173,7 @@ export default {
margin: 0;
line-height: 18px;
text-align: right;
float: right;
span {
font-size: 16px;
font-family: PingFangSC-Semibold, PingFang SC;
@ -182,11 +183,10 @@ export default {
text-shadow: 0px 0px 0px #215c57;
}
}
.user-details {
line-height: 24px;
margin-top: 10px;
.user-details, .system-time {
line-height: 30px;
span {
margin-left: 24px;
margin-left: 20px;
}
}
.system-time {
@ -213,7 +213,7 @@ export default {
float: left;
width: 185px;
height: 26px;
margin-top: 17px;
margin-top: 10px;
margin-left: 40px;
}
.customer-name {


+ 5
- 5
src/components/Layout.vue View File

@ -39,7 +39,7 @@ export default {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 62px;
padding-top: 46px;
padding-left: 250px;
background: #f3f3f3;
#content-title {
@ -47,16 +47,16 @@ export default {
top: 0;
left: 0;
width: 100%;
height: 62px;
line-height: 62px;
height: 46px;
line-height: 46px;
background: linear-gradient(180deg, #327e77 0%, #2c9b92 46%, #1e524d 100%);
}
#content-nav-menu {
position: absolute;
top: 62px;
top: 46px;
left: 0;
width: 250px;
height: calc(100% - 62px);
height: calc(100% - 46px);
background: #eeeeee;
box-sizing: border-box;
padding-top: 12px;


Loading…
Cancel
Save