diff --git a/src/main/webapp/page/visual/show.html b/src/main/webapp/page/visual/show.html index dbbe17c..a8d49ee 100644 --- a/src/main/webapp/page/visual/show.html +++ b/src/main/webapp/page/visual/show.html @@ -41,7 +41,7 @@ -
@@ -80,6 +80,7 @@
client: '' ,
scene_id: '' , // 场景id
dis_type: '' , // 展示类型
+ disTypeFlag: false,
lastTime: new Date().getTime() ,
popwidth: '' // 弹窗宽度
};
@@ -105,10 +106,12 @@
that.mqttInit();
// 初始化设备状态
initDeviceStatus();
-
- if(data.dis_type == 1 ){
+
+
+ this.disTypeFlag = data.dis_type == 1
+ if(data.dis_type == 1 ){
that.popwidth = '80%' ;
- document.getElementById("scale").setAttribute("style","display:none")
+ // document.getElementById("scale").setAttribute("style","display:none")
}else{
that.popwidth = '30%' ;
}