- <view class="content">
- <view class="item">
- <input bindinput="inputAction" placeholder="请输入新的手机号" data-type="phone" value="{{newPhone}}"/>
- </view>
- <view class="line">
- <view></view>
- </view>
- <view class="item">
- <input bindinput="inputAction" placeholder="请输入验证码" data-type="code" value="{{code}}"/>
- <view s-if="{{!countDown}}" bindtap="getCode">获取验证码</view>
- <view s-if="{{countDown}}">还剩{{time}}秒</view>
- </view>
- </view>
- <view class="btn {{canSave?'able':'disable'}}" bindtap="{{canSave?'btnAction':''}}">确定</view>
|