Commit 50df46ba by wuwx

新增看板遮罩层

1 parent 487d13bd
......@@ -9,6 +9,18 @@
.static_list_box {
display: flex;
align-items: center;
position: relative;
.mask {
position: absolute;
width: 100%;
height: 234px;
background-color: #fbfbfb;
top: 0;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
}
.cell_box {
flex: 1;
margin: 0 10px 0 0;
......
......@@ -3,7 +3,7 @@
<!-- 数据列表 开始 -->
<div class="static_list_box">
<div class="mask" v-show="maskFlag"><i class="el-icon-loading" style="font-size: 20px;"></i></div>
<!-- 总绑定数 开始 -->
<div class="cell_box">
<!-- 表头 开始 -->
......@@ -150,7 +150,6 @@
</div>
<!-- 设备数 end -->
</div>
<!-- 数据列表 end -->
......@@ -256,6 +255,7 @@ export default {
staticInfo: {},
alarmInfo: {},
isZhongli: false,
maskFlag: true
};
},
mounted() {
......@@ -327,6 +327,7 @@ export default {
x.push({ value: obj.fakeOfflineRate, name: "" });
}
this.createBindChart("fakeOfflineChart", x);
this.maskFlag = false
});
},
// 计算函数
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!