补充图片

This commit is contained in:
17792275749
2025-04-24 19:59:00 +08:00
parent 4ad8d2a841
commit 230490b995
15 changed files with 178 additions and 102 deletions
+9 -1
View File
@@ -2,8 +2,10 @@ const app = getApp();
Page({
data: {
type: true,
wifiInfo: null,
password: "mimahaojige8"
password: ""
},
onLoad(options) {
@@ -18,6 +20,12 @@ Page({
})
},
inputTypeChange() {
this.setData({
type: !this.data.type
})
},
// 打开配网
openSetNetwork() {
wx.navigateTo({
+2 -2
View File
@@ -9,13 +9,13 @@
<view>密码</view>
<view>
<input
type="password"
password="{{type}}"
value="{{password}}"
bindinput="passwordInput"
placeholder="8~16位密码"
placeholder-class="placeholderClass" />
</view>
<view>
<view bind:tap="inputTypeChange">
<image src="/images/setWifiPassword/open.png" />
</view>
</view>