This commit is contained in:
2024-01-08 17:13:02 +08:00
parent ba8de0f965
commit 23c48503a8

View File

@@ -201,7 +201,7 @@ export default {
let img = {pointerImg: pointerImg} let img = {pointerImg: pointerImg}
let cdata = [] let cdata = []
this.capacityRate.map(el => { this.capacityRate.map(el => {
cdata.push({name: el.device_name, data: el.numerical}) cdata.push({name: el.device_name, data: el.numerical.toFixed(0)})
}) })
let centerArr = [['25%', '38%'], ['75%', '38%'], ['25%', '89%'], ['75%', '89%']] let centerArr = [['25%', '38%'], ['75%', '38%'], ['25%', '89%'], ['75%', '89%']]
let topArr = ['39%', '39%', '90%', '90%'] let topArr = ['39%', '39%', '90%', '90%']
@@ -887,7 +887,7 @@ export default {
_wh(100%, 100%) _wh(100%, 100%)
.scroll_wrap .scroll_wrap
_wh(100%, 100%) _wh(100%, 100%)
padding 20px 20px 0 20px padding 20px 20px 5px 20px
.scroll_tab_1 .scroll_tab_1
_wh(100%, 38px) _wh(100%, 38px)
background center / 100% url('../../../../images/table-bg_1.png') no-repeat background center / 100% url('../../../../images/table-bg_1.png') no-repeat
@@ -904,12 +904,20 @@ export default {
padding 0 5px padding 0 5px
overflow hidden overflow hidden
box-sizing border-box box-sizing border-box
&:nth-child(1), &:nth-child(2), &:nth-child(3), &:nth-child(4) &:nth-child(1)
width 8% width 5%
&:nth-child(2)
width 8%
&:nth-child(3)
width 14%
&:nth-child(4)
width 8%
&:nth-child(5)
width 12%
&:nth-child(7) &:nth-child(7)
width 19%
&:nth-child(9)
width 19% width 19%
&:nth-child(9)
width 14%
.state .state
display block display block
_wh(20px, 14px) _wh(20px, 14px)
@@ -939,12 +947,20 @@ export default {
// white-space nowrap // white-space nowrap
padding 0 5px padding 0 5px
overflow hidden overflow hidden
&:nth-child(1), &:nth-child(2), &:nth-child(3), &:nth-child(4) &:nth-child(1)
width 5%
&:nth-child(2)
width 8% width 8%
&:nth-child(3)
width 14%
&:nth-child(4)
width 8%
&:nth-child(5)
width 12%
&:nth-child(7) &:nth-child(7)
width 19% width 19%
&:nth-child(9) &:nth-child(9)
width 19% width 14%
.state .state
display block display block
_wh(20px, 14px) _wh(20px, 14px)