抖音b端
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

50 righe
2.4 KiB

  1. <view>
  2. <view class="nav">
  3. <view class="{{ currentID == 1 ? 'currentItem' : 'item' }}" bindtap="setNav" data-id="1">
  4. <text>类型</text>
  5. <image mode="widthFix" src="../../assets/images/arrow.png"></image>
  6. </view>
  7. <view class="{{ currentID == 2 ? 'currentItem' : 'item' }}" bindtap="setNav" data-id="2">
  8. <text>日期</text>
  9. <image mode="widthFix" src="../../assets/images/arrow.png">
  10. </image>
  11. </view>
  12. </view>
  13. <view class="{{ currentID == 1 ? 'type active' : 'type' }}">
  14. <view class="item" bindtap="setType" data-type="">全部</view>
  15. <view class="item" bindtap="setType" data-type="0">未确认</view>
  16. <view class="item" bindtap="setType" data-type="5">已确认</view>
  17. <view class="item" bindtap="setType" data-type="8">已完成</view>
  18. </view>
  19. <view tt:if="{{ currentID == 2 }}" class="pickedTime">
  20. <picker class="picker" mode="date" bindchange="setStartTime">{{ startTime }}</picker> 至 <picker class="picker"
  21. mode="date" bindchange="setEndTime">{{ endTime }}</picker>
  22. <button class="search" type="primary" bindtap="search">查询</button>
  23. </view>
  24. <view class="{{ currentID != 1 ? 'list active' : 'list' }}">
  25. <view tt:if="{{ list.length > 0 }}" class="item" tt:for="{{ list }}">
  26. <view class="head">
  27. <view>订单编号:{{ item.couponOrderId }}</view>
  28. <view tt:if="{{ item.status == 0 }}" class="notice noAppoint">未确认</view>
  29. <view tt:if="{{ item.status == 3 }}" class="notice refund">已退款</view>
  30. <view tt:if="{{ item.status == 5 }}" class="notice confirm">已确认</view>
  31. <view tt:if="{{ item.status == 8 }}" class="notice complete">已完成</view>
  32. </view>
  33. <view class="body">
  34. <view class="items">商品名称:{{ item.couponTitle }}</view>
  35. <view class="items">用户手机号码:{{ item.userPhone }}</view>
  36. <view class="items">服务预约时间:</view>
  37. <view class="items">{{ item.appointTime }}</view>
  38. </view>
  39. <view class="footer">
  40. <button type="primary" bindtap="goDetail" data-id="{{ item.id }}">详情</button>
  41. </view>
  42. </view>
  43. <view tt:if="{{ list.length == 0 }}" class="itemXX">
  44. 暂无记录
  45. </view>
  46. </view>
  47. </view>