numberbox.wxml 621 B

12345
  1. <view class="tui-numberbox-class tui-numberbox">
  2. <view class="tui-numbox-icon tui-icon-reduce {{disabled || min>=value?'tui-disabled':''}}" bindtap="reduce" style="color:{{iconcolor}};font-size:{{iconsize}}rpx"></view>
  3. <input type="number" value="{{inputValue}}" disabled="{{disabled}}" bindblur="blur" class="tui-num-input" style="color:{{color}};font-size:{{iconsize}}rpx;background:{{bgcolor}};height:{{height}}rpx;width:{{width}}rpx" />
  4. <view class="tui-numbox-icon tui-icon-plus {{disabled || value>=max?'tui-disabled':''}}" bindtap="plus" style="color:{{iconcolor}};font-size:{{iconsize}}rpx"></view>
  5. </view>