6075设备控制页
This commit is contained in:
@ -147,7 +147,6 @@
|
||||
</view>
|
||||
<view class="arrowContent marginTop10">
|
||||
<view class="modeSetting">
|
||||
|
||||
<view class="arrow" @click.stop="ArrowSet('red_all')"
|
||||
:class="formData.sta_ArrowType=='red_all'?'active':''">
|
||||
<view class="outCircle">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -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();
|
||||
}
|
||||
})
|
||||
|
||||
@ -1378,7 +1378,7 @@
|
||||
|
||||
},
|
||||
//获取当前设备状态
|
||||
GetDeviceStatu: function() {
|
||||
GetDeviceStatu: function() {
|
||||
//数据头 命令码 数据 校验码
|
||||
//JQOC 0B 00 9C41
|
||||
|
||||
|
||||
@ -252,7 +252,7 @@
|
||||
uni.showToast({
|
||||
title: res.msg || '服务器异常,请稍后重试',
|
||||
icon: 'none'
|
||||
})
|
||||
})
|
||||
}
|
||||
} catch (error) {
|
||||
console.log('捕获错误:', error);
|
||||
|
||||
Reference in New Issue
Block a user