diffOrder.wxml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <wxs src="../../utils/formatFuc.wxs" module="utils" />
  2. <view class="container">
  3. <!-- 卡片 -->
  4. <view class="top-card">
  5. <view class="top-name">{{orderInfo.goodsName}}</view>
  6. <view class="top-times">
  7. <!-- <view class="top-sku-name">{{orderInfo.skuName}}</view> -->
  8. <view>剩余<text>{{orderInfo.remainNumber}}</text>次</view>
  9. <view class="serviced-times">已服务<text>{{orderInfo.servicedTimes}}</text>次</view>
  10. </view>
  11. </view>
  12. <!-- 工单 -->
  13. <view class="service-list" >
  14. <view class="service-item">
  15. <view class="service-title">
  16. <view class="sercive-name">服务{{utils.servciceName(orderInfo.ofTimes)}}</view>
  17. <view class="service-id">工单编号:{{orderInfo.bookDetailId}}</view>
  18. <view class="service-status">{{orderInfo.statusName}}</view>
  19. </view>
  20. <view class="service-main">
  21. <view class="customer-info">
  22. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-order-map.png"></image>
  23. <view class="customer-main">
  24. <view class="main-line">
  25. <view>{{orderInfo.cusName}}</view>
  26. <view class="phone">{{orderInfo.cusMobile}}</view>
  27. </view>
  28. <!-- <view class="customer-address" wx:if="{{orderInfo.address}}">{{orderInfo.addressName}}</view> -->
  29. <view class="customer-address" >{{orderInfo.address}}</view>
  30. </view>
  31. </view>
  32. <view class="row">
  33. <text>上门时段:</text>{{orderInfo.bookTime}}
  34. </view>
  35. <view class="row">
  36. <text>预约备注:</text>{{orderInfo.message}}
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. <!-- 提示 -->
  42. <view class="diff-tips" >
  43. <span wx:if="diffList.length >0">您的服务还需支付补差费(若无需要,请忽略)</span>
  44. <span wx:else>占无补差信息</span>
  45. </view>
  46. <view class="service-tips">
  47. 如有任何疑问,请联系服务人员或客服
  48. </view>
  49. <view class="supply-order" wx:for="{{diffList}}" wx:key="index" bindtap="diffDetail" data-no="{{item.difNo}}">
  50. <view class="order-title">
  51. <view>补差订单{{index+1}}
  52. </view>
  53. <view class="{{item.state!=2?'non-payment':''}} pay-status">{{(item.state==0||item.state==1)?'未支付':(item.state==2?'已支付':'取消')}}</view>
  54. </view>
  55. <view class="item-line">
  56. <view class="item-left">补差内容:</view>
  57. <view>{{item.difName}}</view>
  58. </view>
  59. <view class="item-line">
  60. <view class="item-left">金额:</view>
  61. <view class="order-amount">¥ {{item.difTotalPrice}}</view>
  62. </view>
  63. <view class="item-line">
  64. <view class="item-left">创建时间:</view>
  65. <view class="order-time">{{item.createTime}}</view>
  66. </view>
  67. <view class="pay-btn" wx:if="{{item.state==0||item.state==1}}" catchtap="goPay" data-no="{{item.difNo}}">立即支付</view>
  68. <view class="detail-btn" wx:else>查看详情</view>
  69. </view>
  70. </view>