chargePhoneNum.wxml
2.2 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
<!--pages/chargePhoneNum/chargePhoneNum.wxml-->
<view class='content_box'>
<view class='banner_box'>
<view class='head_img'>
<image src='{{avatar}}'></image>
</view>
<view>{{user_nickname}}</view>
</view>
<form bindsubmit="formSubmit" bindreset="formReset" report-submit="true">
<view class='list_box'>
<view class='item_list'>
<view class='info_box'>
<view wx:if="{{time_flag === ''}}">原手机号:</view>
<view wx:if="{{time_flag !== ''}}">新手机号:</view>
<view class='list_input'>
<input wx:if="{{time_flag === ''}}" placeholder='{{old_phone_hidden}}' value='{{new_phone}}'
bindinput="phoneInput"/>
<input wx:if="{{time_flag !== ''}}" placeholder='输入新手机号' value='{{new_phone}}' name="new_phone"
bindinput="phoneInput"/>
</view>
</view>
</view>
<view class='item_list'>
<view class='info_box'>
<text>验证码:</text>
<view class='list_input'>
<input placeholder='输入验证码' value='{{old_verification_code}}' bindinput="codeInput"
wx:if="{{time_flag === ''}}"/>
<input placeholder='输入验证码' value='{{new_verification_code}}' bindinput="codeInput"
wx:if="{{time_flag !== ''}}"/>
</view>
</view>
<button class='get_code' disabled="{{disabled}}" data-id="2" bindtap="getVerificationCode"
wx:if="{{time_flag === ''}}">{{time}}
</button>
<button class='get_code' disabled="{{disabled1}}" data-id="2" bindtap="getVerificationCode"
wx:if="{{time_flag !== ''}}">{{time1}}
</button>
</view>
</view>
<view class='save_btn' wx:if="{{time_flag === ''}}" bindtap="next">下一步</view>
<button class='save_btn' wx:if="{{time_flag !== ''}}" form-type="submit">保 存</button>
</form>
</view>