From 8fd53c074db5763c3482cb0bf5848eed374e9fbe Mon Sep 17 00:00:00 2001 From: 17792275749 <812100002@qq.com> Date: Fri, 10 Apr 2026 10:34:18 +0800 Subject: [PATCH] =?UTF-8?q?[AI=20Generated]:=20fix(*):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E6=B5=8B=E8=AF=95=E7=94=A8=E6=88=B7ID=E4=B8=BA64?= =?UTF-8?q?=E4=BD=8D=E3=80=81=E9=99=90=E5=88=B6=E7=94=A8=E6=88=B7=E6=95=B0?= =?UTF-8?q?=E4=B8=8A=E9=99=90=E4=B8=BA5=E3=80=81=E6=96=B0=E5=A2=9EWiFi?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=BA=E7=A9=BA=E6=97=B6=E7=9A=84=E5=85=9C?= =?UTF-8?q?=E5=BA=95=E6=8F=90=E7=A4=BAUI=E5=8F=8A=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=EF=BC=8C=E5=B9=B6=E6=B3=A8=E9=87=8A=E6=9C=AC=E5=9C=B0=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 ++ .../configureDevice_2/configureDevice_2.js | 2 +- .../configureDevice_3/configureDevice_3.wxml | 30 ++++++++++++------- .../configureDevice_3/configureDevice_3.wxss | 19 ++++++++++++ 4 files changed, 42 insertions(+), 11 deletions(-) diff --git a/app.js b/app.js index 50d19d1..b4b540d 100644 --- a/app.js +++ b/app.js @@ -16,6 +16,8 @@ App({ activeProtocol: null, domain1: "http://device.shuziweidao.com:80/gateway", // 老版本 没有鉴权 domain2: "http://device.shuziweidao.com:80/weight", // 新版本 有鉴权 + // domain1: "http://192.168.1.207:8889", // 老版本 没有鉴权 + // domain2: "http://192.168.1.207:8889/weight", // 新版本 有鉴权 wifi: { ssid: "", password: "" diff --git a/components/configureDevice_2/configureDevice_2.js b/components/configureDevice_2/configureDevice_2.js index 1e8c570..8d545a0 100644 --- a/components/configureDevice_2/configureDevice_2.js +++ b/components/configureDevice_2/configureDevice_2.js @@ -101,7 +101,7 @@ Component({ }, addUser() { - if (this.data.userList.length >= 10) { + if (this.data.userList.length >= 5) { wx.showToast({ title: "超过最大用户数", icon: "none" diff --git a/components/configureDevice_3/configureDevice_3.wxml b/components/configureDevice_3/configureDevice_3.wxml index 568429c..4d839ff 100644 --- a/components/configureDevice_3/configureDevice_3.wxml +++ b/components/configureDevice_3/configureDevice_3.wxml @@ -7,18 +7,28 @@ - - - - - - + + + + + + + + + {{item.ssid}} - {{item.ssid}} - - + + + + + + + + + + 获取WIFI失败 - + diff --git a/components/configureDevice_3/configureDevice_3.wxss b/components/configureDevice_3/configureDevice_3.wxss index 0c91321..2b836cb 100644 --- a/components/configureDevice_3/configureDevice_3.wxss +++ b/components/configureDevice_3/configureDevice_3.wxss @@ -35,6 +35,25 @@ line-height: 30rpx; } +.nullData { + width: 100%; + padding: 200rpx 0 250rpx; +} + +.nullData>view:first-of-type { + width: 230rpx; + height: 160rpx; + margin: 0 auto 15rpx; +} + +.nullData>view:last-of-type { + color: #B6B6B6; + height: 30rpx; + font-size: 30rpx; + line-height: 30rpx; + text-align: center; +} + .progress0_content { width: 100%; height: calc(100% - 166rpx);