phone-code.wxml
1.1 KB
<!--pages/index/phone-code/phone-code.wxml-->
<view class="content_box">
<view class="img_box">
<image src="../../../images/logo.png"></image>
</view>
<form bindsubmit="formSubmit" bindreset="formReset" report-submit="true">
<view class="phone_box">
<input type="number" placeholder="请输入您的手机号" placeholder-class="placeholder" class="phone_num"
value="{{phone_number}}" bindinput="phoneInput" name="phone_number"/>
<view class="code_box">
<input type="number" placeholder="输入验证码" placeholder-class="placeholder" value="{{verification_code}}"
bindinput="codeInput" name="verification_code"/>
<button class="button" disabled="{{disabled}}" data-id="2" bindtap="getVerificationCode">
{{time}}
</button>
</view>
</view>
<view class="confirm_box">
<button class="confirm_btn" form-type="submit">
<text>确 定</text>
</button>
</view>
</form>
</view>