hardwareBind.wxml 778 B

12345678910111213141516
  1. <view class="home">
  2. <van-cell-group>
  3. <van-field value="{{ num }}" label="硬件编号" input-align="right" />
  4. </van-cell-group>
  5. <van-cell-group>
  6. <van-field value="{{ type }}" error-message="{{err}}" readonly clickable label="硬件种类" placeholder='请选择硬件种类' input-align="right"
  7. bind:click-input='typeClick'/>
  8. </van-cell-group>
  9. <van-popup show='{{showPicker}}' position='bottom'>
  10. <van-picker show-toolbar show='{{showPicker}}' columns="{{ hardTypeArr }}" bind:cancel="onCancel" bind:confirm="onConfirm" />
  11. </van-popup>
  12. <view style="margin-top:30rpx">
  13. <button style="width:600rpx;background:#FFB943;color:#fff;margin-top:80rpx;font-size:30rpx" bindtap="bd">绑定设备</button>
  14. </view>
  15. </view>
  16. <van-toast id="van-toast" />