| | |
| | | "video/single/index" |
| | | ], |
| | | "requiredPrivateInfos": [ |
| | | "getLocation", |
| | | "chooseLocation" |
| | | ], |
| | | "window": { |
| | | "backgroundTextStyle": "light", |
| | |
| | | }, |
| | | //监听开机密码的输入 |
| | | handleInputPwd(e){ |
| | | console.log(e,960) |
| | | if(e.detail.value != ""){ |
| | | if(e.detail.value.length != 0){ |
| | | this.setData({ |
| | | openPwd:e.detail.value, |
| | | rulePwd:false |
| | | }) |
| | | }else { |
| | | this.setData({ |
| | | openPwd:e.detail.value, |
| | | rulePwd:true |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | //确定按钮 |
| | | defindBtn(){ |
| | | if(this.data.openPwd == ""){ |
| | | if(this.data.openPwd.length == 0){ |
| | | this.setData({ |
| | | rulePwd:true |
| | | }) |
| | |
| | | </view> |
| | | <view style="text-align: left; min-height: 150rpx; box-sizing: border-box; padding: 19rpx;"> |
| | | <label>请输入启动密码</label> |
| | | <input style="border-bottom: 1rpx solid #aaaaaa; margin-top: 16rpx;" type="safe-password" password="{{true}}" bindinput="handleInputPwd" value="{{openPwd}}" /> |
| | | <input style="border-bottom: 1rpx solid #aaaaaa; margin-top: 16rpx;" password="{{true}}" bindinput="handleInputPwd" value="{{openPwd}}" /> |
| | | <view wx:if="{{rulePwd}}" class="text-red text-sm" style="margin-top: 15rpx;">密码不能为空</view> |
| | | </view> |
| | | <view class="cu-bar bg-white justify-end"> |