watch-input.wxml 895 B

1
  1. <view class="main-list oBorder"><input class="main-input" type="{{_type}}" maxlength="{{maxlength}}" placeholder="{{placeholder}}" password="{{type==='password'&&!showPassword}}" data-event-opts="{{[['input',[['onInput',['$event']]]]]}}" value="{{value}}" bindinput="__e"/><block wx:if="{{_isShowPass&&type==='password'&&!_isShowCode}}"><image data-event-opts="{{[['tap',[['showPass',['$event']]]]]}}" class="{{['img','cuIcon',showPassword?'cuIcon-attention':'cuIcon-attentionforbid']}}" bindtap="__e"></image></block><block wx:if="{{_isShowCode&&!_isShowPass}}"><view data-event-opts="{{[['tap',[['setCode',['$event']]]]]}}" class="{{['vercode',[(second>0)?'vercode-run':'']]}}" bindtap="__e">{{getVerCodeSecond}}</view></block><block wx:if="{{_isShowGet}}"><view data-event-opts="{{[['tap',[['setNumberCode',['$event']]]]]}}" class="vercode" bindtap="__e">官方邀请码</view></block></view>