控制器样式调整

This commit is contained in:
pangdundun 2024-01-11 10:51:08 +08:00
parent 57cae4997b
commit 01b3d0e4a3
4 changed files with 135 additions and 127 deletions

View File

@ -1594,9 +1594,11 @@
}; };
}, },
onReady(){ onReady(){
if(this.purviewList.indexOf('10')!=-1){
setTimeout(() => { setTimeout(() => {
this.$refs.collapseView.init(); this.$refs.collapseView.init();
}, 500); }, 1000);
}
}, },
onLoad(options) { onLoad(options) {
console.log(options); console.log(options);
@ -1986,7 +1988,7 @@
res.data.forEach((el, index) => { res.data.forEach((el, index) => {
this.purviewList.push(el.id.toString()) this.purviewList.push(el.id.toString())
}) })
}
// //
this.getControl_getState(); this.getControl_getState();
@ -2055,6 +2057,7 @@
// //
// if(this.purviewList.indexOf('21') != -1){}; // if(this.purviewList.indexOf('21') != -1){};
}
})) }))
}, },
@ -2650,10 +2653,12 @@
width: 100%; width: 100%;
min-height: 100vh; min-height: 100vh;
background-color: #F5F6FA; background-color: #F5F6FA;
box-sizing: border-box;
padding: 30rpx;
.content { .content {
box-sizing: border-box; box-sizing: border-box;
padding: 30rpx; // padding: 30rpx;
::v-deep .uicon-arrow-down { ::v-deep .uicon-arrow-down {
width: 16rpx; width: 16rpx;

File diff suppressed because one or more lines are too long

View File

@ -1903,9 +1903,11 @@ var _default = {
}, },
onReady: function onReady() { onReady: function onReady() {
var _this = this; var _this = this;
if (this.purviewList.indexOf('10') != -1) {
setTimeout(function () { setTimeout(function () {
_this.$refs.collapseView.init(); _this.$refs.collapseView.init();
}, 500); }, 1000);
}
}, },
onLoad: function onLoad(options) { onLoad: function onLoad(options) {
console.log(options); console.log(options);
@ -2278,7 +2280,6 @@ var _default = {
res.data.forEach(function (el, index) { res.data.forEach(function (el, index) {
_this5.purviewList.push(el.id.toString()); _this5.purviewList.push(el.id.toString());
}); });
}
// 控制器状态获取 // 控制器状态获取
_this5.getControl_getState(); _this5.getControl_getState();
@ -2341,6 +2342,7 @@ var _default = {
// 环流风扇 // 环流风扇
// if(this.purviewList.indexOf('21') != -1){}; // if(this.purviewList.indexOf('21') != -1){};
}
}); });
}, },
// getReadControlliShuiControl() { // getReadControlliShuiControl() {

View File

@ -28,10 +28,11 @@
width: 100%; width: 100%;
min-height: 100vh; min-height: 100vh;
background-color: #F5F6FA; background-color: #F5F6FA;
box-sizing: border-box;
padding: 30rpx;
} }
.controller .content.data-v-a456d474 { .controller .content.data-v-a456d474 {
box-sizing: border-box; box-sizing: border-box;
padding: 30rpx;
} }
.controller .content.data-v-a456d474 .uicon-arrow-down { .controller .content.data-v-a456d474 .uicon-arrow-down {
width: 16rpx; width: 16rpx;