uni-number-box.wxml 664 B

123456789
  1. <view class="uni-numbox">
  2. <view bindtap="__e" class="uni-numbox-minus" data-event-opts="{{[ [ 'tap',[ [ '_calcValue',['subtract'] ] ] ] ]}}">
  3. <text class="{{['iconfont iconmove',minDisabled?'uni-numbox-disabled':'']}}"></text>
  4. </view>
  5. <input bindblur="__e" class="uni-numbox-value" data-event-opts="{{[ [ 'blur',[ [ '_onBlur',['$event'] ] ] ] ]}}" disabled="{{disabled}}" type="number" value="{{inputValue}}"></input>
  6. <view bindtap="__e" class="uni-numbox-plus" data-event-opts="{{[ [ 'tap',[ [ '_calcValue',['add'] ] ] ] ]}}">
  7. <text class="{{['iconfont iconadd',maxDisabled?'uni-numbox-disabled':'']}}"></text>
  8. </view>
  9. </view>