更换WIFI

This commit is contained in:
17792275749
2025-05-29 13:43:16 +08:00
parent 3caf082c24
commit 1eb129e3bd
41 changed files with 1314 additions and 50 deletions
+7 -1
View File
@@ -6,7 +6,7 @@ Page({
deviceInfo: null,
},
onLoad(options) {
onShow() {
this.getDevice();
},
@@ -20,6 +20,12 @@ Page({
})
},
openReplaceNetwork() {
wx.navigateTo({
url: "/pages/replaceNetwork/replaceNetwork"
})
},
delDevice() {
let scaleDeviceId = this.data.deviceInfo.macAddress.replace(/:/g, '');
let params = {
+1 -1
View File
@@ -19,7 +19,7 @@
<view>设备SN</view>
<view>{{deviceInfo.equipmentCode}}</view>
</view>
<view>
<view class="arrowAfter" bind:tap="openReplaceNetwork">
<view>Wi-Fi名称</view>
<view>{{deviceInfo.wifiName}}</view>
</view>
+8
View File
@@ -80,6 +80,14 @@ page {
color: #808080;
}
.arrowAfter {
padding-right: 60rpx !important;
}
.arrowAfter::after {
right: 30rpx;
}
.btn {
color: #FFFFFF;
width: 580rpx;