diffOrder.wxml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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.remainTimes}}</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. 您的服务还需支付补差费
  44. </view>
  45. <view class="service-tips">
  46. 如有任何疑问,请联系服务人员或客服
  47. </view>
  48. <view class="supply-order" wx:for="{{diffList}}" wx:key="index" bindtap="diffDetail" data-no="{{item.difNo}}">
  49. <view class="order-title">
  50. <view>补差订单{{index+1}}
  51. </view>
  52. <view class="{{item.state!=2?'non-payment':''}} pay-status">{{(item.state==0||item.state==1)?'未支付':(item.state==2?'已支付':'取消')}}</view>
  53. </view>
  54. <view class="item-line">
  55. <view class="item-left">补差内容:</view>
  56. <view>{{item.difName}}</view>
  57. </view>
  58. <view class="item-line">
  59. <view class="item-left">金额:</view>
  60. <view class="order-amount">¥ {{item.difTotalPrice}}</view>
  61. </view>
  62. <view class="item-line">
  63. <view class="item-left">创建时间:</view>
  64. <view class="order-time">{{item.createTime}}</view>
  65. </view>
  66. <view class="pay-btn" wx:if="{{item.state==0||item.state==1}}" catchtap="goPay" data-no="{{item.difNo}}">立即支付</view>
  67. <view class="detail-btn" wx:else>查看详情</view>
  68. </view>
  69. </view>