1
0
forked from dyf/APP

6075设备控制页

This commit is contained in:
fengerli
2025-11-06 08:46:27 +08:00
parent 9037ef6ac3
commit c81a4d1903
11 changed files with 1380 additions and 18 deletions

View File

@ -297,11 +297,8 @@
export default {
data() {
return {
lastBrightnessTime: 0,
isCardSliding: false,
cardRect: null,
touchStartX: 0,
touchStartY: 0,
pageLoading: true,
navBarHeight: 70 + uni.getSystemInfoSync().statusBarHeight,
navTitle: "",
@ -338,7 +335,6 @@
isLaserOn: false,
isSending: false,
isProcessing: false,
isLoading: false, // 主加载状态
isPolling: false // 轮询状态
}
},
@ -557,7 +553,6 @@
};
lightModeSettings(data).then((res) => {
if (res.code == 200) {
// 只有确认成功才更新实际模式,选中模式
this.currentMainMode = this.pendingMainMode;
this.selectedItemIndex = selectedItem;
uni.showToast({
@ -566,15 +561,11 @@
})
uni.hideLoading();
this.lightModeA = false;
//this.isProcessing = false
//loadingShown = false
} else {
uni.showToast({
title: res.msg,
icon: 'none'
})
//this.isProcessing = false
//loadingShown = false
uni.hideLoading();
}
})