orderDetailsProject.wxml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <!--pages/orderDetailsProject/orderDetailsProject.wxml-->
  2. <wxs src="./../../utils/wxsUtil.wxs" module="wxsUtil" />
  3. <view class="content">
  4. <view class="line-spc"></view>
  5. <view class="border-content">
  6. <view class="title-line">
  7. <view class="title-left">预约门店:</view>
  8. <view class="title-content">{{orderDetails.store_name}}</view>
  9. <view class="inLocations" style="font-size:28rpx">
  10. <image class="inLocationImage" src="/images/location-to.png"></image>
  11. <view class="inLocationDistance">
  12. 距离您<text>{{wxsUtil.getDistance(lat1,lng1,orderDetails.latitude,orderDetails.longitude)}}</text>Km
  13. </view>
  14. </view>
  15. </view>
  16. <view class="title-line1">
  17. <view class="title-left">门店地址:</view>
  18. <view class="title-value">{{orderDetails.address}}</view>
  19. </view>
  20. </view>
  21. <view class="border-content">
  22. <view class="title-line">
  23. <view class="title-left">美容时间:</view>
  24. <view class="title-content">{{orderDetails.order_time}}<text></text></view>
  25. </view>
  26. </view>
  27. <view class="border-content flex-column">
  28. <!-- <view class="project-list"> -->
  29. <view class="peoject-list-title">共<text>{{orderDetails.project_list.length}}</text>个项目</view>
  30. <!-- </view> -->
  31. <view class="project-content" wx:for="{{orderDetails.project_list}}" wx:key='index'>
  32. <image class="project-content-img" src="{{item.cover_url}}"></image>
  33. <view class="project-content-right">
  34. <view class="item-right-time">
  35. <!-- <view class="item-right-title">{{item.name}}</view> -->
  36. <view class="item-right-title">{{item.name}}</view>
  37. <!-- <view class="item-right-title-time">¥<text>{{item.price}}</text></view> -->
  38. </view>
  39. <view class="item-project-add" hidden="{{item.product_name?false:true}}">
  40. +{{item.product_name}}</view>
  41. <view class="item-project-house">
  42. <view class="device-name">{{item.device_name}}({{item.room}})</view>
  43. <view class="project-time">{{item.use_time}}分钟</view>
  44. </view>
  45. <!-- <view class="item-project-add">+润百颜精华</view> -->
  46. </view>
  47. </view>
  48. <view class="line-spc-line"></view>
  49. <view class="money-show">美容费用<text>¥</text>{{orderDetails.price}}</view>
  50. <view class="dis-line" hidden="{{orderDetails.status==2?false:true}}">
  51. <view class="spc"></view>
  52. <view class="btm-submit" catchtap="btmBack">申请退款</view>
  53. </view>
  54. <view class="line-spc"></view>
  55. </view>
  56. <view class="border-content">
  57. <view class="title-line">
  58. <view class="title-left">订单编号:</view>
  59. <view class="not-flex">{{orderDetails.order_sn}}</view>
  60. <view class="copy" catchtap="onCopy" data-no="{{orderDetails.order_sn}}">复制</view>
  61. </view>
  62. <view class="title-line">
  63. <view class="title-left">预约时间:</view>
  64. <view class="title-content-flex">{{orderDetails.order_time}}</view>
  65. </view>
  66. <view class="title-line">
  67. <view class="title-left">支付时间:</view>
  68. <view class="title-content-flex">{{orderDetails.create_time}}</view>
  69. </view>
  70. </view>
  71. <view class="dis-view">
  72. <view class="dis-line-show"></view>
  73. <view class="dis-line-title">为你推荐</view>
  74. <view class="dis-line-show"></view>
  75. </view>
  76. <view class="comm-product">
  77. <navigator class="comm-product-item" wx:for="{{productRecommend}}" wx:key='index'
  78. url="/pages/projectDetail/projectDetail?source=goods&id={{item.id}}&store_id={{storeDataid}}"
  79. hover-class="none">
  80. <image class="comm-image" src="{{item.cover_url}}"></image>
  81. <view class="comm-title ellipsis">{{item.name}}</view>
  82. <view class="comm-desc">
  83. <view class="item-desc ellipsis" wx:for="{{ wxsUtil.split(item.desc, ' ') }}" wx:key="t_index"
  84. wx:for-item="t_item">{{t_item}}</view>
  85. </view>
  86. <view class="bottom">
  87. <view class="price-show"><text>¥</text>{{item.price}}</view>
  88. <image class="shop-image" src="/images/icon_15.png"></image>
  89. </view>
  90. </navigator>
  91. </view>
  92. <view style="width:20px;height:40px"></view>
  93. </view>