index.wxml 1007 B

123456789101112131415161718192021222324
  1. <nav type="back" background-color="#46a9a4" title="{{id?'编辑桌台':'添加桌台'}}" />
  2. <view class="top">
  3. <!-- <input bindblur="blur" type="text" class="input" data-name="name" value="{{name}}" placeholder="桌台名称"></input> -->
  4. <view class="top-input">
  5. <view class="top-txt">
  6. <input bindblur="blur" type="text" class="inputs" data-name="name" value="{{name}}"
  7. placeholder="桌台名称"></input>
  8. <view>名称</view>
  9. </view>
  10. <view class="top-txt">
  11. <input bindblur="blur" type="number" class="inputs" data-name="number" value="{{number}}"
  12. placeholder="桌台编号"></input>
  13. <view>编号</view>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="goods-title">
  18. <view class="goods-txt">是否上架商品</view>
  19. <van-switch checked="{{ checked }}" bind:change="onChange" />
  20. </view>
  21. <view class="buttoms">
  22. <buttom class="buttoms-bottom2" bindtap="submit">提交</buttom>
  23. </view>