|
|
|
@ -3,44 +3,38 @@ |
|
|
|
<image style="width:192rpx;height:192rpx" src="/assets/image/icon_logo.png"></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="padding: 30rpx 80rpx" wx:if="{{ regist }}"> |
|
|
|
<view style="padding: 30rpx 80rpx;height:480rpx" wx:if="{{ regist }}"> |
|
|
|
<view class="flex"> |
|
|
|
<image style="width:40rpx;height:40rpx" src="/assets/image/icon_phone.png"></image> |
|
|
|
<text class="label" style="margin-left:24rpx">手机号码</text> |
|
|
|
</view> |
|
|
|
<view class="cu-form-group" style="min-height:120rpx;border-bottom:1rpx solid #eee;padding:0rpx"> |
|
|
|
<input id="account" type="number" placeholder-style="color:#aaa" maxlength="11" placeholder="请输入手机号" |
|
|
|
value="{{form.account}}" bindinput="bindInput" /> |
|
|
|
<input id="account" type="number" placeholder-style="color:#aaa" maxlength="11" placeholder="请输入手机号" value="{{form.account}}" bindinput="bindInput" /> |
|
|
|
</view> |
|
|
|
<view class="flex" style="margin-top: 40rpx"> |
|
|
|
<image style="width:40rpx;height:40rpx" src="{{type == 1 ? '/assets/image/icon_code.png' : '/assets/image/icon_pwd.png'}}"></image> |
|
|
|
<text class="label" style="margin-left:12rpx">{{type == 1 ? '验证码' : '密码'}}</text> |
|
|
|
</view> |
|
|
|
<view wx:if="{{type == 1}}" class="cu-form-group" style="min-height:120rpx;border-bottom:1rpx solid #eee;padding:0rpx;border-top:0rpx solid #eee;"> |
|
|
|
<input id="captcha" type="number" placeholder-style="color:#aaa" maxlength="6" |
|
|
|
placeholder="请输入{{type == 1 ? '验证码' : '密码'}}" bindinput="bindInput" /> |
|
|
|
<van-button size="small" plain type="info" custom-style="width:220rpx" disabled="{{!mobileEnable || !codeEnable}}" |
|
|
|
bind:click="fetchCaptcha"> |
|
|
|
<van-count-down class="count-down" time="{{ 60000 }}" use-slot auto-start="{{false}}" bind:change="onCountChange" |
|
|
|
bind:finish="onFinished"> |
|
|
|
<input id="captcha" type="number" placeholder-style="color:#aaa" maxlength="6" placeholder="请输入验证码" bindinput="bindInput" /> |
|
|
|
<van-button size="small" plain type="info" custom-style="width:220rpx" disabled="{{!mobileEnable || !codeEnable}}" bind:click="fetchCaptcha"> |
|
|
|
<van-count-down class="count-down" time="{{ 60000 }}" use-slot auto-start="{{false}}" bind:change="onCountChange" bind:finish="onFinished"> |
|
|
|
<text class="text-sm">{{second}}</text> |
|
|
|
</van-count-down> |
|
|
|
</van-button> |
|
|
|
</view> |
|
|
|
<view wx:else class="cu-form-group" style="min-height:120rpx;border-bottom:1rpx solid #eee;padding:0rpx"> |
|
|
|
<input id="password" placeholder-style="color:#aaa" type="{{pwdType}}" maxlength="20" placeholder="请输入验密码" |
|
|
|
bindinput="bindInput" bindfocus="inputFocus" /> |
|
|
|
<input id="password" placeholder-style="color:#aaa" type="{{pwdType}}" maxlength="20" placeholder="请输入验密码" bindinput="bindInput" bindfocus="inputFocus" /> |
|
|
|
<text class="cuIcon-{{pwdType == 'password' ? 'attention': 'attentionforbid'}}" bindtap="changePwd" style="font-size:22px"></text> |
|
|
|
</view> |
|
|
|
<view style="margin-top:24rpx;text-align:end;"> |
|
|
|
<text class="label" style="font-size:30rpx;padding: 12rpx 0rpx 12rpx 24rpx" |
|
|
|
bindtap="changeType">{{type == 1 ? '密码登录' : '验证码登录'}}</text> |
|
|
|
<text class="label" style="font-size:30rpx;padding: 12rpx 0rpx 12rpx 24rpx" bindtap="changeType">{{type == 1 ? '密码登录' : '验证码登录'}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view wx:else style="margin-top:16rpx;padding:30rpx"> |
|
|
|
<view wx:else style="padding:30rpx 80rpx;height:480rpx"> |
|
|
|
<view style="text-align: center" class="text-xl">服务协议和隐私政策</view> |
|
|
|
<view class="text-df" style="padding:40rpx 30rpx"> |
|
|
|
<text class="text-df">请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了向你提工厂经营管理、订单结算以及其他业务的相关服务,我们需要获你的个人微信信息,然后验证是你本人在操作。 |
|
|
|
你可阅读</text><text class="text-blue" bindtap="readAgreement">《纸通宝SAAS服务协议》</text>了解详细信息,如你同意,请点击“同意”开始接受我们的服务。 |
|
|
|
<view class="text-df" style="padding:40rpx 0rpx"> |
|
|
|
<text class="text-df">请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了向你提工厂经营管理、订单结算以及其他业务的相关服务,我们需要获你的个人微信信息,然后验证是你本人在操作。你可阅读</text><text class="text-blue" bindtap="readAgreement">《纸通宝SAAS服务协议》</text>了解详细信息,如你同意,请点击“同意”开始接受我们的服务。 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <view style="margin-top:20rpx;padding:40rpx 80rpx"> |
|
|
|
|