diff --git a/src/pages/modules/device.vue b/src/pages/modules/device.vue index 6decb4f..a8b4a80 100644 --- a/src/pages/modules/device.vue +++ b/src/pages/modules/device.vue @@ -8,12 +8,13 @@ - - + + {{ el.label }} @@ -455,6 +456,7 @@ export default { overflow-y auto max-height 100% .task_button + width 24% line-height 1 white-space nowrap vertical-align middle @@ -466,9 +468,9 @@ export default { margin 0 color #9ff0fc background center / 100% 100% url(../../images/new/tab_bg.png) no-repeat - padding 0 0.1rem - font-size 0.2rem - height .4rem + padding 0 + font-size 24px + height 50px &:first-child border-left 1px solid #233553 &:active, &:hover @@ -485,7 +487,7 @@ export default { border-left-color #409EFF .button_box height 18% - margin 3.5% 0 + margin-bottom .2rem max-height .65rem text-align center &:last-child diff --git a/src/style/common.styl b/src/style/common.styl index 5b77c5e..7ecf405 100644 --- a/src/style/common.styl +++ b/src/style/common.styl @@ -130,6 +130,8 @@ color: #fff; border-radius: 0; padding 0 0.1rem + height: .4rem; + line-height: .4rem; .el-input--mini .el-input__inner line-height .4rem height .4rem @@ -198,6 +200,7 @@ background-color #c3390c border-color #ed865c color #fff + box-sizing border-box .el-button--primary background-color #009fde border-color #00d9f3