Change_phone.wxml
1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<view class="container">
<!-- 手机logo -->
<view class="flex-center phone_logo">
<image src="{{iurl}}/miniapp/images/userinfo/phone_logo.png"></image>
</view>
<view class="fs30">
<!-- 手机号码 -->
<view class="flex-vertical phone">
<image src="{{iurl}}/miniapp/images/userinfo/phone.png"></image>
<block wx:if="{{inputxphone==0}}">
<view class="inphone">{{mobile}}</view>
</block>
<block wx:else>
<input bindblur="getphoneValue" class="inphone" placeholder="输入新手机号" type="number" maxlength="11" value="{{change_phone}}" />
</block>
</view>
<!-- 发送手机验证码 -->
<view class="flex-vertical code">
<image src="{{iurl}}/miniapp/images/userinfo/code.png"></image>
<input placeholder="请输入验证码" bindinput="getCodeValue" type="number" maxlength="6" value="{{code}}" />
<view class="flex-center Obtain">
<block wx:if="{{getvcode.length>3}}">
<view bindtap="Ver_phone">{{getvcode}}</view>
</block>
<block wx:else>
<view>{{getvcode}}s</view>
</block>
</view>
</view>
</view>
<!-- 提示语 -->
<view class="Tips fs28">
<view>温馨提示:</view>
<view>1.更换手机号后下次可使用新手机号登录。
</view>
<view>3.收到验证码而非本人操作时请及时更改密码。
</view>
</view>
<view class="flex-center go fs32">
<block wx:if="{{inputxphone==0}}">
<view class="flex-center lower" bindtap="ver_code">
<view>下一步</view>
</view>
</block>
<block wx:else>
<navigator url="{{url}}" class="flex-center lower" bindtap="change_phone">
<view>确定更换</view>
</navigator>
</block>
</view>
</view>
<warn id="warn"></warn>