修改中建四局页面(双碳管理页面)单位细节

This commit is contained in:
yjl 2022-10-24 14:06:32 +08:00
parent 711a206e1c
commit 1255dcdb42
4 changed files with 42 additions and 20 deletions

View File

@ -42,7 +42,7 @@ export default {
name: "PM2.5",
value: "--",
id:2,
unit:'μg/m3'
unit:'μg/m³'
},
{
name: "温度",
@ -54,7 +54,7 @@ export default {
name: "TSP",
value: "79",
id:4,
unit:'μg/m3'
unit:'μg/m³'
},
{
name: "风速",
@ -66,7 +66,7 @@ export default {
name: "PM10",
value: "30",
id:6,
unit:'μg/m3'
unit:'μg/m³'
},
{
name: "风向",

View File

@ -6,14 +6,14 @@
</div>
<div class="right3">
<div class="dropDown" v-show="0 === number">
<el-dropdown>
<span class="el-dropdown-link"> 设备一<i class="el-icon-arrow-down el-icon--right"></i> </span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>设备二</el-dropdown-item>
<el-dropdown-item>设备三</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-select v-model="Equipment" >
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</div>
<div v-show="0 === number" ref="centerChart" class="centerChart" id="right2"></div>
<div class="right4" v-show="1 === number">
@ -38,6 +38,23 @@ export default {
},
data() {
return {
options:
[
{
value: '设备一',
label: '设备一'
},
{
value: '设备二',
label: '设备二'
},
{
value: '设备三',
label: '设备三'
},
],
Equipment: '设备一',
number: 0,
devList: [],
currentDevDetail: {},
@ -463,18 +480,23 @@ export default {
margin-right: 40px;
margin-top: -20px;
width: 100px;
height: 30px;
line-height: 30px;
height: 20px;
line-height: 20px;
background-color: #305c6d;
background-image: url(../assets/images/common/bg_sby.png);
background-repeat: no-repeat;
background-size: 100%;
font-size: 8px;
.el-dropdown-link {
color: #Fff;
::v-deep .el-select{
width: 100px;
height: 20px;
}
.el-icon-arrow-down{
margin-left: 15px;
::v-deep .el-input__inner {
background-color: #3e7c86;
color: #fff;
}
::v-deep .el-select__caret {
color: #fff;
}
}
}

View File

@ -18,7 +18,7 @@
<td>一号设备</td>
<td>离线</td>
<td>pm2.5</td>
<td>0.1μg/m3</td>
<td>0.1μg/m³</td>
<td>2</td>
</tr>
</tbody>

View File

@ -37,7 +37,7 @@
<div class="waterDiv">
<span class="span3">本月报警次数</span>
<span class="numberStyle">{{realTimeData.alarmNum}}</span>
<span>t</span>
<span></span>
</div>
</div>
</div>