纸通宝SAAS仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

39 lines
1.9 KiB

<!--pages/home/password/index.wxml-->
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content" style="color:black;font-size:18px">{{first ? '设置密码' : '密码重置'}}</view>
</cu-custom>
<wux-alert theme="positive" title="为了简化登录流程,您可以设置登录密码,以后就可以直接使用密码进行登录了。" wx:if="{{first}}"/>
<view class="cu-list menu no-card sm-border margin-top">
<view class="cu-item">
<view class="flex content cu-item" style="font-size:28rpx">
<view style="min-width:170rpx">登录密码:</view>
<input id="password" maxlength="24" type="password" placeholder="请输入新的登录密码" bindinput="bindForm"></input>
</view>
</view>
</view>
<view class="cu-list menu no-card sm-border margin-top" wx:if="{{!first}}">
<view class="cu-item">
<view class="flex content cu-item" style="font-size:28rpx">
<view style="min-width:170rpx">手机号:</view>
<input id="mobile" maxlength="11" disabled="true" type="number" value="{{form.mobile}}" placeholder="请输入当前登录手机号码" bindinput="bindForm"></input>
</view>
</view>
<view class="cu-item">
<view class="flex content cu-item" style="font-size:28rpx">
<view style="min-width:170rpx">验证码:</view>
<input id="verifyCode" maxlength="6" type="number" placeholder="请输入验证码" bindinput="bindForm"></input>
</view>
<van-button size="small" plain type="info" custom-style="width:220rpx" disabled="{{codeEnable}}" bind:click="fetchCode">
<van-count-down id="count-down" time="{{ 60000 }}" use-slot auto-start="{{false}}" bind:change="onChange" bind:finish="onFinished">
<text class="text-sm">{{second}}</text>
</van-count-down>
</van-button>
</view>
</view>
<view class="flex flex-direction" style="padding:80rpx 32rpx">
<van-button block type="info" bind:click="submitForm">提交</van-button>
</view>