抖音c端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

406 lines
18 KiB

  1. <!-- <navbar home back text="订单详情"></navbar>
  2. <view style="height:{{navigationBarHeight}} "></view> -->
  3. <view class='order' tt:if="{{showPage}}">
  4. <view tt:if="{{IMorderId && imId}}" class="serviceBOX">
  5. <button class="serviceBox2" open-type="im" data-im-id="{{ imId }}" data-im-type="order"
  6. data-order-id="{{ IMorderId }}" bindim="imCallback" binderror="onimError">
  7. <view class="fuwuLogoBox f">
  8. <image class="itemLogo" src="../../../assets/images/service1.png" />
  9. </view>
  10. </button>
  11. </view>
  12. </view>
  13. <view tt:if="{{order.orderStatus==1}}" class='tips'>
  14. <image class='success' src='{{succUrl}}' mode='widthFix'></image>
  15. <view tt:if="{{order.salePrice/100==0}}" class='msg'>
  16. <text>交易成功</text>
  17. <!-- <text>请尽快到门店使用,有效期至{{}}</text> -->
  18. </view>
  19. <view tt:if="{{order.salePrice/100!=0}}" class='msg'>
  20. <text>付款成功</text>
  21. <!-- <text>请尽快到门店使用,有效期至{{}}</text> -->
  22. </view>
  23. </view>
  24. <view class='section'>
  25. <view class='sectionTit'>
  26. <text>{{order.title}}</text>
  27. </view>
  28. <!-- -->
  29. <view class='detail_msg' bindtap="goDetail">
  30. <view class='logo'>
  31. <image mode='aspectFill' src='{{order.coverImg}}'></image>
  32. </view>
  33. <view class='info'>
  34. <view class="salePriceStr ">
  35. <view class='rmb'>¥</view>
  36. <view class="pri01">{{(order.payment)/100}}</view>
  37. <view class="throgh">{{(order.price)/100}}</view>
  38. </view>
  39. <view class="subTitle">
  40. <text>{{order.subTitle}}</text>
  41. </view>
  42. <view class="xidanTiem">
  43. <text>下单时间:</text>{{createDate}}
  44. </view>
  45. <image class="infoArrow" src="{{chevronUrl}}" mode='widthFix'></image>
  46. <view tt:if="{{orderStatus != 'noRefund' && orderStatus != 'orderCancel' && couponOrderStatus == 0}}">
  47. <pay-button tt:if="{{orderStatus}}" id='payBtn' class="goRefundPayBtn" order-status="{{orderStatus}}"
  48. order-id="{{outOrderId}}" refund-id="{{outRefundOrderId}}" bind:refund="handleRefund"
  49. bind:applyrefund="applyRefund" bind:error="handleError" />
  50. <view id='payBtn' tt:if="{{!orderStatus}}" class="goRefund">
  51. 退款处理中
  52. </view>
  53. </view>
  54. <view tt:if="{{orderStatus == 'orderCancel'}}">
  55. <view id='payBtn' class="goRefund">
  56. 交易关闭
  57. </view>
  58. </view>
  59. <!-- <view class="goRefund" catchtap="goRefund" data-id="{{order.id}}"
  60. tt:if="{{order.payment!=0&&(order.couponOrderStatus==0||order.couponOrderStatus==3)}}">
  61. {{order.couponOrderStatus==0?'申请退款':'退款进度'}}</view> -->
  62. </view>
  63. </view>
  64. </view>
  65. <view class="zhuangtai">
  66. <image tt:if="{{order.couponOrderStatus==1}}" src="{{wm01Url}}" mode='widthFix'></image>
  67. <image tt:if="{{order.couponOrderStatus==2}}" src="{{wm02Url}}" mode='widthFix'></image>
  68. <image tt:if="{{order.couponOrderStatus==3 && orderStatus != 2}}" src="{{wm03Url}}" mode='widthFix'></image>
  69. <image tt:if="{{order.couponOrderStatus==3 && orderStatus == 2}}" src="{{wm05Url}}" mode='widthFix'></image>
  70. <image tt:if="{{order.couponOrderStatus==0&&order.validStatus==0}}" src="{{wm04Url}}" mode='widthFix'></image>
  71. <view class="panel" tt:if="{{order.couponOrderStatus==0&&order.validStatus!=0}}">
  72. <view class="canWrap">
  73. <canvas canvas-id="qrcode" style="width: 1200rpx; height: 800rpx;" />
  74. </view>
  75. <image src="{{tempFilePath}}" mode="aspectFit" />
  76. <view class="closeRq" tt:if="{{showhieRq}}" bindtap="setRq">
  77. <image class="updataRqCode" mode='widthFix' src="{{upDataRqUrlF}}"></image>
  78. <view class="upDataRq">点一点刷新二维码</view>
  79. </view>
  80. <view class="coedTiem" tt:if="{{!showhieRq&&expiredSeconds>1}}">二维码在
  81. <text style="color:red">{{expiredSeconds}}s</text>
  82. 后失效
  83. </view>
  84. <!-- <view class="barnum buy"><text>兑换码:</text>{{code}}</view> -->
  85. </view>
  86. </view>
  87. <view class='classif'>
  88. <!--
  89. couponOrderStatus
  90. 0 未使用
  91. 1 已使用
  92. 2 已过期
  93. 3 已经退款
  94. -->
  95. <!--
  96. orderStatus
  97. 1
  98. 只有支付完成的时
  99. 才显示兑换码
  100. -->
  101. <!-- bindtap="powerDrawer" -->
  102. <view tt:if="{{order.type == 69 && order.couponOrderStatus == 0}}" class='dhCode' data-id="{{order.couponOrderId}}"
  103. bindtap="goAppointment">
  104. <view style="width:86%;clear: both;">
  105. <text class="fl">预约时间:</text>
  106. <text tt:if="{{ !isAppointment }}" class="fr" style="color: #d4a971;">点击预约</text>
  107. <text tt:if="{{ isAppointment && appointmentStatus == 0 }}" class="fr"
  108. style="color: #d4a971;">{{appointStart}}-{{appointEnd}}</text>
  109. <text
  110. tt:if="{{ isAppointment && ( appointmentStatus == 1 || appointmentStatus == 2 || appointmentStatus == 3 ) }}"
  111. class="fr" style="color: #d4a971;">预约已取消
  112. </text>
  113. <text tt:if="{{ isAppointment && appointmentStatus == 4 }}" class="fr" style="color: #d4a971;">预约派单中
  114. </text>
  115. <text tt:if="{{ isAppointment && appointmentStatus == 5 }}" class="fr" style="color: #d4a971;">预约已派单
  116. </text>
  117. <text tt:if="{{ isAppointment && appointmentStatus == 6 }}" class="fr" style="color: #d4a971;">预约派单中
  118. </text>
  119. <text tt:if="{{ isAppointment && appointmentStatus == 7 }}" class="fr" style="color: #d4a971;">预约派单中
  120. </text>
  121. <text tt:if="{{ isAppointment && appointmentStatus == 8 }}" class="fr" style="color: #d4a971;">服务已完成
  122. </text>
  123. <text tt:if="{{ isAppointment && appointmentStatus == 9 }}" class="fr" style="color: #d4a971;">已评价
  124. </text>
  125. </view>
  126. </view>
  127. <view tt:if="{{order.orderStatus==1&&order.type!=100&&order.type!=5&&order.type!=51}}"
  128. data-couponOrderStatus="{{order.couponOrderStatus}}" data-title="{{order.title}}" data-subtitle="{{order.subTitle}}"
  129. data-remark="{{order.remark}}" data-quancode="{{order.couponOrderId}}" data-validstatus="{{order.validStatus}}"
  130. class='dhCode'>
  131. <view style="width:86%;clear: both;">
  132. <text class="fl">兑换码:</text>
  133. <text class="fr" tt:if="{{order.validStatus!=0}}">{{showIdFalg?order.couponOrderId:order.couponOrderIdS}}</text>
  134. <image class="barnumImg" src="../../../assets/images/password.png" bindtap="showId"></image>
  135. </view>
  136. <view>
  137. <!-- <image class="spcode" src="{{spcodeUrl}}" mode='widthFix'></image>
  138. <image class="rArrow" src="{{chevronUrl}}" mode='widthFix'></image> -->
  139. </view>
  140. </view>
  141. <view class='dhCode' bindtap="goPaySnapshoot" data-id="{{order.id}}"
  142. tt:if="{{(order.orderStatus!=0&&order.orderStatus!=2)}}">
  143. <view style="width:86%;clear: both;">
  144. <text class="fl">交易快照:可作为交易争执的判断依据</text>
  145. </view>
  146. <view>
  147. <image class="rArrow" src="{{chevronUrl}}" mode='widthFix'></image>
  148. </view>
  149. </view>
  150. <!-- <view>
  151. <text>下单时间</text>
  152. <text class='fr'>{{createDate}}</text>
  153. </view> -->
  154. <view class='dhCode'>
  155. <text class='bianhao'>订单编号:</text>
  156. <text>{{order.id}}</text>
  157. </view>
  158. <view class='wuliu' tt:if="{{order.type==11}}">
  159. <text class='left'>物流状态:</text>
  160. <text
  161. class="right">{{(order.shippingStatus==10||order.shippingStatus==14)?"待自提":order.shippingStatus==15?"已自提":order.shippingStatus==20?"待发货":order.shippingStatus==24?"待收货":order.shippingStatus==25?"已收货":""}}</text>
  162. </view>
  163. <view class='wuliu' tt:if="{{order.shippingType==2&&order.deliveryInfo}}">
  164. <text class='left'>物流公司:</text>
  165. <text class="right">{{order.deliveryInfo.courierInput}}</text>
  166. </view>
  167. <view class='wuliu' tt:if="{{order.shippingType==2&&order.deliveryInfo}}">
  168. <text class='left'>快递单号:</text>
  169. <view class="left">{{order.deliveryInfo.expressageIdInput}}</view>
  170. <view class="copeCode" bindtap="copeCode" data-text="{{order.deliveryInfo.expressageIdInput}}">复制</view>
  171. <text class="goInquire" bindtap="gokuaidi" data-nu="{{order.deliveryInfo.expressageIdInput}}">查询物流</text>
  172. </view>
  173. <!-- <view>
  174. <text tt:if="{{order.type == 8}}">原价</text>
  175. <text tt:if="{{order.type != 8}}">面额</text>
  176. <text class="jine1" tt:if="{{order.unit==0}}">{{order.price/100}}元</text>
  177. <text class="jine1" tt:if="{{order.unit==1}}">{{order.price/100}}小时</text>
  178. </view> -->
  179. <view style="overflow: hidden; padding-left: 5%;padding-right: 5%;height: 96rpx;line-height: 96rpx;">
  180. <text class='left'>实付金额:</text>
  181. <view class='right'>
  182. <text class='RMB'>¥</text>
  183. <text class='jine'>{{order.payment/100}}</text>
  184. </view>
  185. </view>
  186. </view>
  187. <!-- 适用门店 -->
  188. <shop tt:if="{{mallList.length>0}}" mallList="{{mallList}}"></shop>
  189. <vieW class="groupTitleBox">
  190. <view class="groupTitle" tt:if="{{order.itemGroup.length>0}}">团购详情</view>
  191. </vieW>
  192. <view class="groupTextBox" tt:if="{{order.itemGroup.length>0}}" tt:for="{{order.itemGroup}}">
  193. <view class="groupTitleS" tt:if="{{item.group_name}}">{{item.group_name}}</view>
  194. <view class="groupDetailsBox" tt:for="{{item.item_list}}" tt:for-item="itemChi">
  195. <view class="groupTiemBox">
  196. <view class="yuandian"></view>
  197. <view class="groupTiemName">{{itemChi.name}}({{itemChi.count}}份)</view>
  198. <view class="groupTiemPay">¥{{itemChi.price/100}}</view>
  199. </view>
  200. </view>
  201. </view>
  202. <image tt:if="{{order.type == 69}}" class="alerting" mode='widthFix' src="../../../assets/images/appointment.png">
  203. </image>
  204. <view class='notes'>
  205. <view class="notesH">
  206. 购买须知
  207. </view>
  208. <view class="timeText">使用期</view>
  209. <view class="Hchild">• {{order.validStartDate}}至{{order.validEndDate}}</view>
  210. <view tt:if="{{order.soldStartTime && order.soldEndTime}}">
  211. <view class="timeText">售卖期</view>
  212. <view class="Hchild">• {{order.soldStartTime}}至{{order.soldEndTime}}</view>
  213. </view>
  214. <view class="timeText">可用时间</view>
  215. <view class="Hchild">• 商家营业时间内使用</view>
  216. <view class="Hchild" tt:if="{{order.can_no_use_date.weekend}}">• 周末不支持使用</view>
  217. <view class="Hchild" tt:if="{{order.can_no_use_date.HolidaysFlag}}">• 节假日(元旦、春节、清明、劳动节、端午节、中秋节、国庆节、情人节、圣诞节)不支持使用
  218. </view>
  219. <view tt:if="{{ order.useLimitQuantity }}" class="timeText">购买限制</view>
  220. <view tt:if="{{ order.useLimitQuantity }}" class="Hchild">• 每个用户限购{{order.useLimitQuantity}}单</view>
  221. <view tt:if="{{ use_num_per_consume }}" class="timeText">使用限制</view>
  222. <view tt:if="{{ use_num_per_consume }}" class="Hchild">• 每个用户仅可用{{use_num_per_consume}}张</view>
  223. <view class="timeText">预约消费</view>
  224. <view class="Hchild" tt:if="{{!order.subscribeSing}}">• 无需预约</view>
  225. <view class="Hchild" tt:if="{{order.subscribeSing}}">• {{order.subscribeSing}}</view>
  226. <view class="timeText" tt:if="{{order.rec_person_num_max}}">适用人数</view>
  227. <view class="Hchild" tt:if="{{order.rec_person_num_max}}">• 该优惠劵最多{{order.rec_person_num_max}}人使用</view>
  228. <view tt:if="{{ order.pack || order.besides || order.superimposed_discounts ||
  229. order.private_room }}" class="timeText">
  230. 温馨提示</view>
  231. <view class="Hchild" tt:if="{{order.pack}}">• 该优惠商品{{order.pack=='false'?'不支持':'支持'}}打包</view>
  232. <view class="Hchild" tt:if="{{order.besides}}">• {{order.besides=="false"?'不可以':'可以'}}外带餐食</view>
  233. <view class="Hchild" tt:if="{{order.superimposed_discounts}}">•
  234. {{order.superimposed_discounts=="false"?'不可以':'可以'}}享受店内其他优惠</view>
  235. <view class="Hchild" tt:if="{{order.private_room}}">• {{order.private_room=="false"?'不可以使用':'可以使用'}}包间</view>
  236. <view class="notesH" tt:if="{{order.curLsit}}">使用规则</view>
  237. <view tt:if="{{order.curLsit}}" tt:for="{{order.curLsit}}" tt:key="{{index}}">
  238. <view class="timeText" tt:if="{{item.title!=''}}">{{item.title}}</view>
  239. <text class="Hchild">{{item.content}}</text>
  240. </view>
  241. </view>
  242. <!-- 子券列表 -->
  243. <view class="childList" tt:if="{{order.type==12}}">
  244. <view class="childTitle">礼券:</view>
  245. <view class="childItme" tt:for="{{order.giftCouponList}}" tt:key="{{item}}">
  246. <view class="chaildDetBox">
  247. <image mode='aspectFill' class="chaildImg" src="{{item.coverImg}}"></image>
  248. <view class="childDataBox">
  249. <view class="orderName">{{item.title}}</view>
  250. <view class="childPriceStr">面额:{{item.priceStr}}元</view>
  251. </view>
  252. </view>
  253. </view>
  254. </view>
  255. <!-- 待付款 显示立即购买的按钮 -->
  256. <view tt:if="{{(order.orderStatus==0&&order.salePrice!=0)||(order.orderStatus==7&&order.salePrice!=0)}}"
  257. class="buy-view app-border-top">
  258. <button bindtap='orderFunc' hover-class='active' data-couponChannelId="{{orderFlag?order.composeOrderId:order.id}}"
  259. disabled='{{showButton}}' class="{{mouldType!=1?'buy':'buyX'}}">立即支付</button>
  260. </view>
  261. <view class='game' bindtap="gotogame" tt-if="{{showIf&&order.orderStatus!=0}}">
  262. <view class='game-entry'>
  263. <image src="{{newUrl}}" class='gameimg' mode='widthFix'></image>
  264. </view>
  265. <view class='notes'>
  266. <view class="notesH">购买须知</view>
  267. <view class="timeText">有效期</view>
  268. <view class="Hchild">• {{order.validStartDate}}至{{order.validEndDate}}</view>
  269. <view tt:if="{{order.soldStartTime && order.soldEndTime}}">
  270. <view class="timeText">售卖期</view>
  271. <view class="Hchild">• {{order.soldStartTime}}至{{order.soldEndTime}}</view>
  272. </view>
  273. <view class="timeText">可用时间</view>
  274. <view class="Hchild">• 商家营业时间内到店使用</view>
  275. <view class="Hchild" tt:if="{{order.can_no_use_date.weekend}}">• 周末不支持使用</view>
  276. <view class="Hchild" tt:if="{{order.can_no_use_date.HolidaysFlag}}">• 节假日(元旦、春节、清明、劳动节、端午节、中秋节、国庆节、情人节、圣诞节)不支持使用
  277. </view>
  278. <view class="timeText">购买限制</view>
  279. <view class="Hchild">• 每个用户限购{{order.useLimitQuantity}}单</view>
  280. <view class="timeText">预约消费</view>
  281. <view class="Hchild" tt:if="{{!order.subscribeSing}}">• 无需预约,高峰时段可能等位</view>
  282. <view class="Hchild" tt:if="{{order.subscribeSing}}">• {{order.subscribeSing}}</view>
  283. <view class="timeText" tt:if="{{order.rec_person_num_max}}">适用人数</view>
  284. <view class="Hchild" tt:if="{{order.rec_person_num_max}}">• 该优惠劵最多{{order.rec_person_num_max}}人使用</view>
  285. <view class="timeText">温馨提示</view>
  286. <view class="Hchild">• 该优惠券不支持配送或外卖</view>
  287. <view class="Hchild" tt:if="{{order.pack}}">• 该优惠商品{{order.pack=='false'?'不支持':'支持'}}打包</view>
  288. <view class="Hchild" tt:if="{{order.besides}}">• {{order.besides=="false"?'不可以':'可以'}}外带餐食</view>
  289. <view class="Hchild" tt:if="{{order.superimposed_discounts}}">•
  290. {{order.superimposed_discounts=="false"?'不可以':'可以'}}享受店内其他优惠</view>
  291. <view class="Hchild" tt:if="{{order.private_room}}">• {{order.private_room=="false"?'不可以使用':'可以使用'}}包间</view>
  292. <view class="notesH" tt:if="{{order.curLsit}}">使用规则</view>
  293. <view tt:if="{{order.curLsit}}" tt:for="{{order.curLsit}}" tt:key="{{index}}">
  294. <view class="timeText" tt:if="{{item.title!=''}}">{{item.title}}</view>
  295. <text class="Hchild">{{item.content}}</text>
  296. </view>
  297. </view>
  298. <!-- 子券列表 -->
  299. <view class="childList" tt:if="{{order.type==12}}">
  300. <view class="childTitle">礼券:</view>
  301. <view class="childItme" tt:for="{{order.giftCouponList}}" tt:key="{{item}}">
  302. <view class="chaildDetBox">
  303. <image mode='aspectFill' class="chaildImg" src="{{item.coverImg}}"></image>
  304. <view class="childDataBox">
  305. <view class="orderName">{{item.title}}</view>
  306. <view class="childPriceStr">面额:{{item.priceStr}}元</view>
  307. </view>
  308. </view>
  309. </view>
  310. </view>
  311. <!-- 待付款 显示立即购买的按钮 -->
  312. <view tt:if="{{(order.orderStatus==0&&order.salePrice!=0)||(order.orderStatus==7&&order.salePrice!=0)}}"
  313. class="buy-view app-border-top">
  314. <button bindtap='orderFunc' hover-class='active' data-couponChannelId="{{orderFlag?order.composeOrderId:order.id}}"
  315. disabled='{{showButton}}' class="{{mouldType!=1?'buy':'buyX'}}">立即支付</button>
  316. </view>
  317. <view class='game' bindtap="gotogame" tt-if="{{showIf&&order.orderStatus!=0}}">
  318. <view class='game-entry'>
  319. <image src="{{newUrl}}" class='gameimg' mode='widthFix'></image>
  320. </view>
  321. </view>
  322. <!-- <button type="primary" open-type="share" tt:if="{{order.type == 100 && supportTransfer==1&&cardIf}}" class='support-tansfer'>
  323. <image src="{{weixinTitle}}" class='share' mode="widthFix"></image>转赠给微信好友</button> -->
  324. <view class="sign"
  325. tt:if="{{order.couponOrderStatus == 0 &&order.type == 11 && order.shippingType == 2 && order.shippingStatus== 24}}"
  326. bindtap="setShow">签收
  327. </view>
  328. <view class="evaluate" bindtap="goEvaluate" tt:if="{{evaluateFlag}}">去评价</view>
  329. <view class="explainText"
  330. tt:if="{{serviceUrl!=''&&(order.orderStatus==1||order.orderStatus==3||order.orderStatus==4||order.orderStatus==5)}}">
  331. 对本订单有疑问或纠纷,请点击下方联系抖音官方客服</view>
  332. <view class="serviceBox"
  333. tt:if="{{serviceUrl!=''&&(order.orderStatus==1||order.orderStatus==3||order.orderStatus==4||order.orderStatus==5)}}"
  334. bindtap="goWebView">
  335. <image src="../../../assets/images/service1.png" class="serviceImg"></image>
  336. <view class="serviceText"> 抖音官方客服</view>
  337. </view>
  338. </view>
  339. <view class="showT" tt:if="{{showFlag}}" bindtap="hieShow">
  340. <view class="titleBxo">
  341. <view class="text">是否确认收到商品?</view>
  342. <view class="p">签收后将完成订单</view>
  343. <view class="btnBox">
  344. <view class="le" bindtap="verify">确认签收</view>
  345. <view class="ri" bindtap="hieShow">取消</view>
  346. </view>
  347. </view>
  348. </view>
  349. <!-- -->