chargePhoneNum.wxml 2.2 KB
<!--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>