order.wxml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <view class="body">
  2. <view class="top">
  3. <view class="time">
  4. <picker mode="date" value="{{date}}" start="2020-09-01" end="2100-09-01" bindchange="bindDateChange">
  5. <view class="picker">
  6. <text>{{date}}</text>
  7. <image src="/img/xiajiantou.png" style="width:30rpx;height:30rpx;margin-left:6rpx;"></image>
  8. </view>
  9. </picker>
  10. </view>
  11. <view class="yutang">
  12. <view wx:for="{{items}}" class="{{yuIndex==index?'active' :''}}" bindtap="yutang" data-index="{{index}}">
  13. <text>{{item.name}}</text>
  14. <text class="text" wx:if="{{yuIndex==index}}"></text>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="list" wx:if="{{list!=''}}">
  19. <view wx:for="{{list}}" class="view">
  20. <view class="left">
  21. <text>昵称:{{item.user.nickname}}</text>
  22. <text>手机号:15824794547</text>
  23. <text>预约时间:{{item.subscribe_day}}</text>
  24. <text>预约鱼塘:南塘私人定制区</text>
  25. </view>
  26. <view class="right">
  27. <view bindtap="fenhao" data-number="{{item.number}}" data-id="{{item.id}}" wx:if="{{item.is_subscribe==0}}">
  28. <text>分号</text>
  29. </view>
  30. <view bindtap="dayin" data-id="{{item.id}}" wx:if="{{item.is_subscribe==1}}">
  31. <text>打印</text>
  32. </view>
  33. <view bindtap="fanqian" data-user_id="{{item.user_id}}">
  34. <text>返钱</text>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="background" wx:if="{{fenhao}}"></view>
  40. <view class="model" wx:if="{{fenhao}}">
  41. <view class="title">请填写{{number}}个桌号</view>
  42. <input type="text" placeholder="请输入桌号多个用,分割" bindinput="input"/>
  43. <view class="bottom">
  44. <view style="border-right:2rpx solid #ccc" bindtap="quxiao">
  45. <text>取消</text>
  46. </view>
  47. <view bindtap="queding">
  48. <text>确定</text>
  49. </view>
  50. </view>
  51. </view>
  52. <view class="background" wx:if="{{fanqian}}"></view>
  53. <view class="model" wx:if="{{fanqian}}">
  54. <view class="title">返给用户钱</view>
  55. <input type="text" placeholder="请输入金额" bindinput="money"/>
  56. <view class="bottom">
  57. <view style="border-right:2rpx solid #ccc" bindtap="quxiao">
  58. <text>取消</text>
  59. </view>
  60. <view bindtap="return_money">
  61. <text>确定</text>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="none" wx:if="{{list==''}}">
  66. <text>暂无数据~</text>
  67. </view>
  68. </view>