order.wxml 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. <i-auth bind:authSuccess="authSuccess" needAuth="{{needAuth}}">
  2. <view>
  3. <view class="head">
  4. <view class="head">
  5. <view class="back-img-wrap">
  6. <image class="back-img" src="{{common_header_backgroundimage?common_header_backgroundimage:'../../images/TOP_background@2x.png'}}"></image>
  7. </view>
  8. <view class="to-pay-wrap" wx:if="{{order.order_info.order_status_id==3 && changeState!=1}}">
  9. <view class="font-bold-30" wx:if="{{order.order_info.open_auto_delete == 1}}">
  10. <view class="tradeStatus-index--count-down count-down">
  11. <text wx:if="{{endtime.days >0}}">{{endtime.days}}天</text>{{endtime.hours}}:{{endtime.minutes}}:{{endtime.seconds}}</view>
  12. </view>
  13. <view class="font-bold-30" wx:if="{{order.order_info.open_auto_delete == 0}}">
  14. <view class="tradeStatus-index--count-down count-down">待付款</view>
  15. </view>
  16. <view class="font-12" wx:if="{{order.order_info.open_auto_delete==1}}">请尽快付款,超时将被自动取消</view>
  17. <view class="font-12" wx:else>请尽快付款,不然就被抢光了</view>
  18. </view>
  19. <view class="to-get-wrap" wx:if="{{order.order_info.order_status_id==1}}">
  20. <view class="font-bold-20">
  21. <block wx:if="{{presale_info&&presale_info.id}}">
  22. <view>{{order.order_status_info.name}}</view>
  23. <view class="fsz-24">
  24. 发货时间:<block wx:if="{{presale_info.presale_sendorder_date}}">{{presale_info.presale_sendorder_date}}</block>
  25. <block wx:else>{{presale_info.presale_sendorder_afterday}}日内</block>开始{{presalePickup[order.order_info.delivery]}}
  26. </view>
  27. </block>
  28. <block wx:else>备货中</block>
  29. </view>
  30. <image class="little-img" src="../../images/img_delivery@2x.png"></image>
  31. </view>
  32. <view class="to-get-wrap" wx:if="{{order.order_info.order_status_id==2}}">
  33. <view class="font-bold-20">拼团中,已付款</view>
  34. <image class="little-img" src="../../images/img_delivery@2x.png"></image>
  35. </view>
  36. <view class="to-get-wrap" wx:if="{{order.order_info.order_status_id==14}}">
  37. <view class="font-bold-20">配送中</view>
  38. <image class="little-img" src="../../images/img_delivery@2x.png"></image>
  39. </view>
  40. <view class="to-get-wrap" wx:if="{{order.order_info.order_status_id==4}}">
  41. <view class="font-bold-20">
  42. <view>{{order.order_status_info.name?order.order_status_info.name:"可提货"}}</view>
  43. <view class="fsz-24" wx:if="{{presale_info}}">
  44. 发货时间:<block wx:if="{{presale_info.presale_sendorder_date}}">{{presale_info.presale_sendorder_date}}</block>
  45. <block wx:else>{{presale_info.presale_sendorder_afterday}}日内</block>开始{{presalePickup[order.order_info.delivery]}}
  46. </view>
  47. </view>
  48. <image class="little-img" src="../../images/img_ready_to_get@2x.png"></image>
  49. </view>
  50. <view class="to-get-wrap" wx:if="{{order.order_info.order_status_id==6}}">
  51. <view class="font-bold-20">已签收</view>
  52. <image class="little-img" src="../../images/img_trade_succeed@2x.png"></image>
  53. </view>
  54. <view class="trade-cancel-wrap" wx:if="{{order.order_info.order_status_id==10}}">
  55. <view class="font-bold-20 cancel-box">
  56. <image class="cancel-img" src="../../images/icon_exclamation@2x.png"></image>等待退款
  57. </view>
  58. </view>
  59. <view class="to-get-wrap" wx:if="{{order.order_info.order_status_id==11}}">
  60. <view class="font-bold-20">交易完成</view>
  61. <image class="little-img" src="../../images/img_trade_succeed@2x.png"></image>
  62. </view>
  63. <view class="trade-cancel-wrap" wx:if="{{order.order_info.order_status_id==12}}">
  64. <view class="font-bold-20 cancel-box">
  65. <image class="cancel-img" src="../../images/icon_exclamation@2x.png"></image>售后中
  66. </view>
  67. </view>
  68. <view class="trade-cancel-wrap" wx:if="{{order.order_info.order_status_id==5 || changeState==1}}">
  69. <view class="font-bold-20 cancel-box">
  70. <block wx:if="{{presale_info&&presale_info.is_unpay_ding_cancle==1}}">
  71. <view class="fsz-32">未在规定时间内支付,订单已取消</view>
  72. <view class="fsz-24" wx:if="{{presale_info.presale_limit_balancepaytime==1}}">支付尾款时间:{{presale_info.balance_pay_begintime}} - {{presale_info.balance_pay_endtime}}</view>
  73. </block>
  74. <block wx:else><image class="cancel-img" src="../../images/icon_exclamation@2x.png"></image>交易取消</block>
  75. </view>
  76. </view>
  77. <view class="trade-cancel-wrap" wx:if="{{order.order_info.order_status_id==7}}">
  78. <view class="font-bold-20 cancel-box">
  79. <image class="cancel-img" src="../../images/icon_exclamation@2x.png"></image>已退款
  80. </view>
  81. </view>
  82. <!-- 预售订单状态 -->
  83. <view class="to-get-wrap" wx:if="{{presale_info&&order.order_info.order_status_id==15}}">
  84. <view class="font-bold-20">
  85. <view>{{order.order_status_info.name}}</view>
  86. <view class="fsz-24" wx:if="{{presale_info.presale_limit_balancepaytime==1}}">支付尾款时间:{{presale_info.balance_pay_begintime}} - {{presale_info.balance_pay_endtime}}</view>
  87. </view>
  88. <image class="little-img" src="../../images/img_delivery@2x.png"></image>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="content">
  93. <!-- 核销 -->
  94. <block wx:if="{{delivery=='hexiao'}}">
  95. <!-- 券码已使用 -->
  96. <block wx:if="{{hx_receive_info.goods_count==hx_receive_info.receive_count}}">
  97. <i-card>
  98. <view slot="header" class="header">{{order.order_info.shopname}}</view>
  99. <view slot="content" class="content-wrap middle">
  100. <view class="each-item" wx:for="{{order_goods_list}}" wx:for-item="goodsInfo" wx:key="id">
  101. <view style="margin-right: 10px">
  102. <i-img height="60" iClass="show-img" lazyLoad="true" loadImage="{{goodsInfo.image}}" width="60"></i-img>
  103. </view>
  104. <view style="flex-grow: 1">
  105. <view class="name bold-text">{{goodsInfo.name}}</view>
  106. <view class="mount">
  107. <block wx:if="{{goodsInfo.option_str}}">{{goodsInfo.option_str}} </block>
  108. ¥{{goodsInfo.price}} x {{goodsInfo.quantity}}
  109. </view>
  110. <view class="bottom-info i-flex i-flex-alc">
  111. <view class='bold-text i-flex-item'>小计:¥{{goodsInfo.real_total}}</view>
  112. <view class="card-btn" style="margin: 0;">
  113. <view catchtap="hanlePresalePayModal" class="btn-1 mar-left-8" wx:if="{{presale_info.need_repay==2&&!presale_info.second_paytime}}">付尾款</view>
  114. <block wx:if="{{goodsInfo.is_refund_state>0&&goodsInfo.order_refund_goods.ref_id}}">
  115. <view class="btn-2 mar-left-8" catchtap="goRefund" data-id="{{goodsInfo.order_refund_goods.ref_id}}">
  116. <block wx:if="{{goodsInfo.is_refund_state==1}}">
  117. {{(goodsInfo.order_refund_goods&&goodsInfo.order_refund_goods.state==3)?'退款成功':'查看售后'}}
  118. </block>
  119. <block wx:else>退款成功</block>
  120. </view>
  121. </block>
  122. <view catchtap="applyForService" data-type="{{order.order_info.order_id}}" data-order_goods_id="{{goodsInfo.order_goods_id}}" class="btn-1 mar-left-8" wx:if="{{goodsInfo.is_statements_state==0&&goodsInfo.is_refund_state==0&&(order.order_info.order_status_id==6||order.order_info.order_status_id==11)&&order_can_shen_refund==1}}">申请售后</view>
  123. </view>
  124. </view>
  125. </view>
  126. </view>
  127. </view>
  128. <view slot="footer">
  129. <view class="footer">
  130. 共{{hx_receive_info.goods_count}}{{goods_sale_unit}}商品 小计:
  131. <view class="money">¥{{goodsTot}}</view>
  132. </view>
  133. </view>
  134. </i-card>
  135. <!-- 已使用信息 -->
  136. <view class="mt10"></view>
  137. <i-card>
  138. <view slot="header" class="header i-flex">
  139. <view class="i-flex-item fsz-30">{{order.order_info.order_status_id==7?'已退款':'已收货'}}</view>
  140. <view class="text-gray">{{hx_receive_info.goods_count}}{{goods_sale_unit}}商品</view>
  141. </view>
  142. <view slot="content" class="content-wrap p15 fsz-24">
  143. <view>使用时间:{{hx_receive_info.use_time}}</view>
  144. <view class="mt5">使用地址:{{hx_receive_info.salesroom_name}}</view>
  145. <view class="i-flex mt5">
  146. <view>券码:</view>
  147. <view class="i-flex-item weight">
  148. <view wx:for="{{hx_receive_info.volume_code_list}}" wx:key="index">
  149. <text class="line-through">{{item.hexiao_volume_code}}</text> <text class="bule ml5" wx:if="{{order.order_info.order_status_id==7}}">已退款</text>
  150. </view>
  151. </view>
  152. </view>
  153. </view>
  154. </i-card>
  155. </block>
  156. <!-- 券码未使用 -->
  157. <block wx:else>
  158. <i-card wx:if="{{order.order_info.order_status_id!=11&&order.order_info.order_status_id!=6}}">
  159. <view slot="header" class="header">{{order.order_info.shopname}}</view>
  160. <view slot="content" class="content-wrap">
  161. <view class="text-center mt10" wx:if="{{order.order_info.hexiao_qr_code}}">
  162. <image src="{{order.order_info.hexiao_qr_code}}" style="width:300rpx;height:300rpx;"></image>
  163. </view>
  164. <view class="text-center weight mt5 pt10">{{order.order_info.hexiao_volume_code}}</view>
  165. <view class="text-center u-font-24 mt5 pb15 text-gray">出示二维码给店员核销</view>
  166. </view>
  167. </i-card>
  168. <!-- 商品信息 -->
  169. <block wx:for="{{order_goods_list}}" wx:for-item="goodsInfo" wx:key="id">
  170. <view class="mt10"></view>
  171. <i-card bindtap="handleGoodsHexiao" data-idx="{{index}}">
  172. <view slot="header" class="header i-flex i-flex-spb" wx:if="{{goodsInfo.is_hexiao_expire==1}}">
  173. <view class="red fsz-24">有效期至{{goodsInfo.effect_end_time}}</view>
  174. <view class="red fsz-24" wx:if="{{goodsInfo.is_refund_state>0}}">已退款</view>
  175. <view class="red fsz-24" wx:else>已过期</view>
  176. </view>
  177. <view slot="header" class="header i-flex i-flex-spb" wx:else>
  178. <view class="red fsz-24">有效期至{{goodsInfo.effect_end_time}}</view>
  179. <view class="red fsz-24" wx:if="{{goodsInfo.is_refund_state>0}}">{{goodsInfo.is_refund_state==1?'已退款':'部分退款'}}</view>
  180. <view class="red fsz-24" wx:elif="{{goodsInfo.is_hexiao_over==1}}">已使用({{goodsInfo.hexiao_count-goodsInfo.remain_hexiao_count}}{{goodsInfo.hexiao_type==0?'份':'次'}})</view>
  181. <view class="red fsz-24" wx:else>未使用({{goodsInfo.remain_hexiao_count ==0?'不限':goodsInfo.remain_hexiao_count}}{{goodsInfo.hexiao_type==0?'份':'次'}})</view>
  182. </view>
  183. <view slot="content" class="content-wrap middle">
  184. <view class="each-item">
  185. <view style="margin-right: 10px">
  186. <i-img height="60" iClass="show-img" lazyLoad="true" loadImage="{{goodsInfo.image}}" width="60"></i-img>
  187. </view>
  188. <view style="flex-grow: 1">
  189. <view class="name bold-text">{{goodsInfo.name}}</view>
  190. <view class="mount">
  191. <block wx:if="{{goodsInfo.option_str}}">{{goodsInfo.option_str}} </block>
  192. ¥{{goodsInfo.price}} x {{goodsInfo.quantity}}
  193. </view>
  194. <view class="bottom-info i-flex i-flex-alc">
  195. <view class='bold-text i-flex-item'>小计:¥{{goodsInfo.real_total}}</view>
  196. <view class="card-btn" style="margin: 0;">
  197. <view catchtap="hanlePresalePayModal" class="btn-1 mar-left-8" wx:if="{{presale_info.need_repay==2&&!presale_info.second_paytime}}">付尾款</view>
  198. <block wx:if="{{goodsInfo.is_refund_state>0&&goodsInfo.order_refund_goods.ref_id}}">
  199. <view class="btn-2 mar-left-8" catchtap="goRefund" data-id="{{goodsInfo.order_refund_goods.ref_id}}">
  200. <block wx:if="{{goodsInfo.is_refund_state==1}}">
  201. {{(goodsInfo.order_refund_goods&&goodsInfo.order_refund_goods.state==3)?'退款成功':'查看售后'}}
  202. </block>
  203. <block wx:else>退款成功</block>
  204. </view>
  205. </block>
  206. <view catchtap="applyForService" data-type="{{order.order_info.order_id}}" data-order_goods_id="{{goodsInfo.order_goods_id}}" class="btn-1 mar-left-8" wx:if="{{goodsInfo.is_statements_state==0&&goodsInfo.is_refund_state==0&&(order.order_info.order_status_id==6||order.order_info.order_status_id==11)&&order_can_shen_refund==1}}">申请售后</view>
  207. <text class="iconfont icon-erweima1 fsz-36 ml10" wx:if="{{order.order_info.order_status_id!=11&&order.order_info.order_status_id!=6}}"></text>
  208. </view>
  209. </view>
  210. </view>
  211. </view>
  212. </view>
  213. </i-card>
  214. </block>
  215. <!-- 使用情况信息 -->
  216. <block wx:if="{{hx_receive_info.goods_count!=hx_receive_info.receive_count&&hx_receive_info.receive_count>0}}">
  217. <view class="mt10"></view>
  218. <i-card>
  219. <view slot="header" class="header i-flex">
  220. <view class="i-flex-item fsz-28">
  221. <block wx:if="{{hx_receive_info.receive_count}}">已收货{{hx_receive_info.receive_count}}份,</block>
  222. <block wx:if="{{hx_receive_info.wait_count}}">待收货{{hx_receive_info.wait_count}}份</block>
  223. <block wx:if="{{hx_receive_info.refund_goods_quantity}}">已退款{{hx_receive_info.refund_goods_quantity}}份</block>
  224. </view>
  225. <view class="text-gray">{{hx_receive_info.goods_count}}{{goods_sale_unit}}商品</view>
  226. </view>
  227. <view slot="content" class="content-wrap p15 fsz-24">
  228. <view>使用时间:{{hx_receive_info.use_time}}</view>
  229. <view class="mt5" wx:if="{{hx_receive_info.salesroom_name}}">使用地址:{{hx_receive_info.salesroom_name}}</view>
  230. <view class="i-flex mt5">
  231. <view>劵码:</view>
  232. <view class="i-flex-item weight">
  233. <view wx:for="{{hx_receive_info.volume_code_list}}" wx:key="index">
  234. <text class="{{item.is_use==1?'line-through':''}}">{{item.hexiao_volume_code}}</text>
  235. <text class="red" wx:if="{{item.is_hexiao_expire==1}}">已过期(有效期至{{item.effect_end_time}})</text>
  236. <text class="bule" wx:elif="{{item.refund_quantity==1}}">已退款({{item.refund_quantity}}份)</text>
  237. </view>
  238. </view>
  239. </view>
  240. </view>
  241. </i-card>
  242. </block>
  243. <view class="i-flex weight" style="background:#fbf1eb;margin:20rpx 0;padding:15rpx 20rpx;color:#f2792c;border-radius:5rpx;" wx:if="{{order.order_info.order_status_id!=11&&order.order_info.order_status_id!=6}}">
  244. <text class="iconfont icon-laba" style="margin-right:10rpx;"></text>
  245. 商品门店信息请点击商品右下角二维码查看
  246. </view>
  247. </block>
  248. <view class="mt10"></view>
  249. </block>
  250. <!-- 礼品卡 -->
  251. <block wx:elif="{{virtualcard_info}}">
  252. <i-card wx:if="{{virtualcard_info.state==1&&virtualcard_info.is_effect}}">
  253. <view slot="header" class="header">礼品卡</view>
  254. <view slot="content" class="content-wrap">
  255. <view class="text-center weight mt5 pt10 pb15" bindtap="copyCont" data-code="{{virtualcard_info.code_sn}}">
  256. {{virtualcard_info.code_sn}} <text class="bule">复制</text>
  257. </view>
  258. </view>
  259. </i-card>
  260. <!-- 商品信息 -->
  261. <block wx:for="{{order_goods_list}}" wx:for-item="goodsInfo" wx:key="id">
  262. <view class="mt10"></view>
  263. <i-card data-idx="{{index}}">
  264. <view slot="header" class="header i-flex i-flex-spb" wx:if="{{virtualcard_info.is_effect==0}}">
  265. <view class="red fsz-24">{{virtualcard_info.effect_type==1?'有效期至'+virtualcard_info.effect_enddate:''}}</view>
  266. <view class="red fsz-24" wx:if="{{goodsInfo.is_refund_state>0}}">已退款</view>
  267. <view class="red fsz-24" wx:else>已过期</view>
  268. </view>
  269. <view slot="header" class="header i-flex i-flex-spb" wx:else>
  270. <view class="red fsz-24">{{virtualcard_info.effect_type==1?'有效期至'+virtualcard_info.effect_enddate:''}}</view>
  271. <view class="red fsz-24" wx:if="{{goodsInfo.is_refund_state>0}}">{{goodsInfo.is_refund_state==1?'已退款':'部分退款'}}</view>
  272. <view class="red fsz-24" wx:elif="{{virtualcard_info.state==2}}">已使用</view>
  273. <view class="red fsz-24" wx:else>未使用</view>
  274. </view>
  275. <view slot="content" class="content-wrap middle">
  276. <view class="each-item">
  277. <view style="margin-right: 10px">
  278. <i-img height="60" iClass="show-img" lazyLoad="true" loadImage="{{goodsInfo.image}}" width="60"></i-img>
  279. </view>
  280. <view style="flex-grow: 1">
  281. <view class="name bold-text">{{goodsInfo.name}}</view>
  282. <view class="mount">
  283. <block wx:if="{{goodsInfo.option_str}}">{{goodsInfo.option_str}} </block>
  284. ¥{{goodsInfo.price}} x {{goodsInfo.quantity}}
  285. </view>
  286. <view class="bottom-info i-flex i-flex-alc">
  287. <view class='bold-text i-flex-item'>小计:¥{{goodsInfo.real_total}}</view>
  288. <view class="card-btn" style="margin: 0;">
  289. <block wx:if="{{goodsInfo.is_refund_state>0&&goodsInfo.order_refund_goods.ref_id}}">
  290. <view class="btn-2 mar-left-8" catchtap="goRefund" data-id="{{goodsInfo.order_refund_goods.ref_id}}">
  291. <block wx:if="{{goodsInfo.is_refund_state==1}}">
  292. {{(goodsInfo.order_refund_goods&&goodsInfo.order_refund_goods.state==3)?'退款成功':'查看售后'}}
  293. </block>
  294. <block wx:else>退款成功</block>
  295. </view>
  296. </block>
  297. <view catchtap="applyForService" data-type="{{order.order_info.order_id}}" data-order_goods_id="{{goodsInfo.order_goods_id}}" class="btn-1 mar-left-8" wx:if="{{goodsInfo.is_statements_state==0&&goodsInfo.is_refund_state==0&&(order.order_info.order_status_id==6||order.order_info.order_status_id==11)&&order_can_shen_refund==1}}">申请售后</view>
  298. <block wx:if="{{virtualcard_info.is_effect==1&&virtualcard_info.state==1}}">
  299. <view class="btn-1 mar-left-8" bindtap="goLink" data-link="/lionfish_comshop/moduleB/virtualcard/exchange">去使用</view>
  300. </block>
  301. </view>
  302. </view>
  303. </view>
  304. </view>
  305. </view>
  306. </i-card>
  307. </block>
  308. <view class="mt10"></view>
  309. <block wx:if="{{virtualcard_info.state>=2}}">
  310. <i-card>
  311. <view slot="header" class="header">
  312. <view class="i-flex-item fsz-30">{{order.order_info.order_status_id==7?'已退款':'已收货'}}</view>
  313. </view>
  314. <view slot="content" class="content-wrap p15 fsz-24">
  315. <view wx:if="{{virtualcard_info.use_date}}">使用时间:{{virtualcard_info.use_date}}</view>
  316. <view class="mt5" wx:if="{{virtualcard_info.use_member_name}}">兑换人:{{virtualcard_info.use_member_name}}</view>
  317. <view class="i-flex mt5">
  318. <view>兑换码:</view>
  319. <view class="i-flex-item weight">
  320. <view>
  321. <text class="line-through">{{virtualcard_info.code_sn}}</text> <text class="bule ml5" wx:if="{{order.order_info.order_status_id==7}}">已退款</text>
  322. </view>
  323. </view>
  324. </view>
  325. </view>
  326. </i-card>
  327. <view class="mt10"></view>
  328. </block>
  329. </block>
  330. <block wx:else>
  331. <view class="goods-info" wx:if="{{order.order_info.delivery!='pickup'}}">
  332. <i-order-info-express order="{{order}}" hidePhone="{{is_hidden_orderlist_phone}}" groupInfo="{{groupInfo}}" goodsTot="{{goodsTot}}" wx:if="{{order.order_info}}" goods_sale_unit="{{goods_sale_unit}}" presale="{{presale_info}}">
  333. </i-order-info-express>
  334. </view>
  335. <view class="goods-info" wx:elif="{{order.order_info.order_status_id!=3&&order.order_info.order_status_id!=5}}">
  336. <i-goods-info order="{{order}}" hidePhone="{{is_hidden_orderlist_phone}}" groupInfo="{{groupInfo}}" goodsTot="{{goodsTot}}" goods_sale_unit="{{goods_sale_unit}}">
  337. </i-goods-info>
  338. </view>
  339. <block wx:if="{{presale_info&&presale_info.presale_type==0}}">
  340. <i-card>
  341. <view slot="header" class="header">预售信息</view>
  342. <view slot="content" class="content-wrap middle p10">
  343. <view class="red">预售价¥{{goodsTot}},付定金后再减¥{{presale_info.presale_deduction_money}},尾款需付金额¥{{presale_info.weikuan}}(若有优惠,优惠将在尾款时使用)</view>
  344. <view>
  345. <view class="presale-item red i-flex i-flex-spb">
  346. <view class="presale-item-circle">定金({{presale_info.first_paytime>0?'已支付':'未支付'}}) <text class="iconfont icon-shuoming text-gray fsz-28" bindtap="hanlePresaleModal"></text></view>
  347. <view>¥{{presale_info.presale_ding_money}}</view>
  348. </view>
  349. <view class="presale-item i-flex i-flex-spb {{presale_info.second_paytime>0?'red':''}}">
  350. <view class="presale-item-circle">尾款({{presale_info.is_unpay_ding_cancle==1?'已过期':(presale_info.second_paytime>0?'已支付':'未支付')}})</view>
  351. <view>¥{{presale_info.weikuan}}</view>
  352. </view>
  353. </view>
  354. <view class="mt10 fsz-24 text-gray" wx:if="{{presale_info.presale_limit_balancepaytime==1}}">
  355. {{presale_info.balance_pay_begintime}} - {{presale_info.balance_pay_endtime}} 开始支付尾款
  356. </view>
  357. <view class="mt10 fsz-24 i-flex i-flex-spb" wx:if="{{presale_info.presale_sendorder_date||presale_info.presale_sendorder_afterday}}">
  358. <view>
  359. <em wx:if="{{order.order_info.delivery=='express'}}">{{groupInfo.delivery_express_name}}</em>
  360. <em wx:elif="{{order.order_info.delivery=='localtown_delivery'}}">同城配送</em>
  361. <em wx:elif="{{order.order_info.delivery=='pickup'}}">{{groupInfo.delivery_ziti_name}}</em>
  362. <em wx:else>{{groupInfo.delivery_tuanzshipping_name}}</em>
  363. </view>
  364. <view>
  365. {{!presale_info.second_paytime&&presale_info.presale_type==0?'尾款支付成功后':''}}
  366. <block wx:if="{{presale_info.presale_sendorder_date}}">{{presale_info.presale_sendorder_date}}</block>
  367. <block wx:else>{{presale_info.presale_sendorder_afterday}}日内</block>开始{{presalePickup[order.order_info.delivery]}}
  368. </view>
  369. </view>
  370. </view>
  371. </i-card>
  372. <view class="mt10"></view>
  373. </block>
  374. <view class="goods-card">
  375. <view class="i-card">
  376. <view class="header" slot="header">
  377. <view class="goods-cancel bold-text" wx:if="{{order.order_info.order_status_id==5}}">已取消</view>
  378. <view class="goods-ready bold-text" wx:if="{{order.order_info.order_status_id==1||order.order_info.order_status_id==14}}" style="color:{{skin.color}}">
  379. <block wx:if="{{presale_info&&presale_info.id}}">
  380. <block wx:if="{{presale_info.presale_sendorder_date}}">{{presale_info.presale_sendorder_date}}</block>
  381. <block wx:else>{{presale_info.presale_sendorder_afterday}}日内</block>开始{{presalePickup[order.order_info.delivery]}}
  382. </block>
  383. <block wx:else>
  384. <block wx:if="{{order.order_info.delivery=='pickup'}}">预计{{order.order_info.pick_up_time}}可提货</block>
  385. <block wx:elif="{{order.order_info.delivery=='tuanz_send'}}">预计{{order.order_info.pick_up_time}}{{groupInfo.owner_name}}配送</block>
  386. <block wx:elif="{{order.order_info.delivery=='localtown_delivery'}}">同城配送</block>
  387. <block wx:else>{{groupInfo.delivery_express_name}}</block>
  388. </block>
  389. </view>
  390. <view class="goods-done bold-text" wx:if="{{order.order_info.order_status_id==6||order.order_info.order_status_id==11}}">{{showRealPickUpTime}}提货完成</view>
  391. <view class="goods-num">{{order.goods_count}}{{goods_sale_unit}}商品</view>
  392. </view>
  393. <view class="middle" slot="content">
  394. <block wx:for="{{order_goods_list}}" wx:for-item="goodsInfo" wx:key="id">
  395. <view class="middle-line"></view>
  396. <view class='each-item' bindtap="showRefundInfo" data-idx="{{index}}" data-hasrefund="{{goodsInfo.has_refund_quantity}}">
  397. <view style="margin-right: 10px">
  398. <i-img height="60" iClass="show-img" lazyLoad="true" loadImage="{{goodsInfo.image}}" width="60"></i-img>
  399. </view>
  400. <view style="flex-grow: 1 ">
  401. <view class="name bold-text">
  402. <text class="red" wx:if="{{presale_info}}">[预售]</text>
  403. <text class="pintag" wx:if="{{order.order_info.is_pin==1}}" style="background:{{skin.color}}">拼团</text>
  404. {{goodsInfo.name}}
  405. </view>
  406. <view class="mount">
  407. <block wx:if="{{goodsInfo.option_str}}">{{goodsInfo.option_str}} </block>
  408. <block wx:if="{{order.order_info.type!='integral'}}">¥</block>{{goodsInfo.price}}
  409. <block wx:if="{{order.order_info.type=='integral'}}">积分</block> x {{goodsInfo.quantity}}
  410. <block wx:if="{{goodsInfo.refund_info}}">
  411. <text wx:if="{{goodsInfo.refund_info.state==0}}" class="bg-primary text-white tag">{{goodsInfo.refund_info.real_refund_quantity}}个 申请退款中</text>
  412. <text wx:if="{{goodsInfo.refund_info.state==3}}" class="bg-sucess text-white tag">{{goodsInfo.refund_info.real_refund_quantity}}个 退款成功</text>
  413. <text wx:if="{{goodsInfo.refund_info.state==4}}" class="bg-warning text-white tag">{{goodsInfo.refund_info.real_refund_quantity}}个 退款失败</text>
  414. </block>
  415. </view>
  416. <view class="bottom-info">
  417. <view class='bold-text'>
  418. 小计:<block wx:if="{{order.order_info.type!='integral'}}">¥</block>{{goodsInfo.real_total}}
  419. <block wx:if="{{order.order_info.type=='integral'}}">积分</block>
  420. </view>
  421. <i-dialog bind:cancel="callDialog" bind:confirm="confirmGoods" data-cancel="confirmGoodsVisible" text="确认该商品已经提货?" visible="{{confirmGoodsVisible}}"></i-dialog>
  422. </view>
  423. <view class="card-btn">
  424. <block wx:if="{{goodsInfo.is_refund_state>0&&goodsInfo.order_refund_goods.ref_id}}">
  425. <view class="btn-2 mar-left-8" catchtap="goRefund" data-id="{{goodsInfo.order_refund_goods.ref_id}}">
  426. <block wx:if="{{goodsInfo.is_refund_state==1}}">
  427. {{(goodsInfo.order_refund_goods&&goodsInfo.order_refund_goods.state==3)?'退款成功':'查看售后'}}
  428. </block>
  429. <block wx:else>退款成功</block>
  430. </view>
  431. </block>
  432. <view catchtap="goComment" data-order_goods_id="{{goodsInfo.order_goods_id}}" data-goods_id="{{goodsInfo.goods_id}}" data-type="{{order.order_info.order_id}}" class="btn-1" wx:if="{{goodsInfo.is_refund_state == 0 && order.order_info.order_status_id==6&& goodsInfo.hascomment == 0}}">{{open_comment_gift==1?'评价有礼':'去评价'}}</view>
  433. <!-- <block wx:if="{{order_can_del_cancle==1}}">
  434. <view catchtap="applyForService" data-type="{{order.order_info.order_id}}" data-order_goods_id="{{goodsInfo.order_goods_id}}" class="btn-1 mar-left-8" wx:if="{{goodsInfo.can_ti_refund!=0&&goodsInfo.is_refund_state==0&&order.order_info.order_status_id==4&&order_can_shen_refund==1}}">申请售后</view>
  435. </block> -->
  436. <view catchtap="applyForService" data-type="{{order.order_info.order_id}}" data-order_goods_id="{{goodsInfo.order_goods_id}}" class="btn-1 mar-left-8" wx:if="{{goodsInfo.can_ti_refund!=0&goodsInfo.is_statements_state==0&&goodsInfo.is_refund_state==0&&(order.order_info.order_status_id==6||order.order_info.order_status_id==11)&&order_can_shen_refund==1&&presale_info.presale_type!=1}}">申请售后</view>
  437. <button class="btn-1 mar-left-8" openType="contact" sessionFrom="sobot|{{userInfo.nickName}}|{{userInfo.avatarUrl}}" wx:if="{{user_service_switch==1}}">
  438. <text>联系客服</text>
  439. </button>
  440. <view class="btn-2 mar-left-8" wx:if="{{goodsInfo.is_refund_state == 0 && order.order_info.order_status_id==1}}">备货中</view>
  441. <view class="btn-2 mar-left-8" wx:if="{{goodsInfo.is_refund_state == 0 && order.order_info.order_status_id==14}}">配送中</view>
  442. </view>
  443. </view>
  444. </view>
  445. </block>
  446. </view>
  447. <view class="footer">
  448. <view bindtap="hanlePresalePayModal" class="btn-1 mar-left-8" wx:if="{{presale_info.need_repay==2&&!presale_info.second_paytime}}">付尾款</view>
  449. <view bindtap="cancelOrder" data-order_goods_id="0" data-type="{{order.order_info.order_id}}" class="btn-1 mar-left-8" wx:if="{{order.order_info.order_status_id==1&&order_can_del_cancle==1&&order.order_info.is_pin!=1}}">取消订单</view>
  450. <view wx:if="{{order.order_info.is_pin==1&&order.order_info.order_status_id==7&&order.pin_rebate}}" class="btn-1" bindtap="showFanliView">返利详情</view>
  451. <navigator url="/lionfish_comshop/moduleA/pin/share?id={{order.order_info.order_id}}" wx:if="{{order.order_info.is_pin==1&&order.order_info.order_status_id!=3}}" class="btn-1 mar-left-8">拼团详情</navigator>
  452. <view catchtap="receivOrder" data-type="{{order.order_info.order_id}}" class="btn-3 mar-left-8" data-show="confirmGoodsVisible" wx:if="{{order.order_info.order_status_id==4&&order.order_info.is_can_received==1}}">{{order.order_info.delivery=='pickup'?"确认提货":"确认收货"}}</view>
  453. </view>
  454. </view>
  455. <view class="space-between-card" wx:if="{{index!==orderSkuResps.length-1}}"></view>
  456. </view>
  457. </block>
  458. <i-orderComment wx:if="{{order.order_info.comment}}" comment="{{order.order_info.comment}}" />
  459. <view class="order-info">
  460. <i-order-info orderInfo="{{order.order_info}}" order_goods_list="{{order_goods_list}}" groupInfo="{{groupInfo}}" goodsTot="{{goodsTot}}" wx:if="{{order.order_info}}"></i-order-info>
  461. </view>
  462. <!-- 下单表单 -->
  463. <view class="rounded bg-f u-p-30" wx:if="{{order.order_form&&order.order_form.form_type}}">
  464. <s-form-show formData="{{order.order_form}}"></s-form-show>
  465. </view>
  466. </view>
  467. <view class="foot" wx:if="{{order.order_info.order_status_id==3 && changeState!=1}}">
  468. <i-fixedBottom>
  469. <view class="btn-group" wx:if="{{order.order_info.order_status_id==3}}">
  470. <label class="cancelBtn" for="formId">
  471. <view bindtap="callDialog" data-type="{{order.order_info.order_id}}" class="cancel-btn" data-show="cancelOrderVisible">取消订单</view>
  472. </label>
  473. <label class="cancelBtn" for="formId2">
  474. <view bindtap="preOrderPay" data-type="{{order.order_info.order_id}}" class="pay-btn" style="background:{{skin.color?skin.color:'#ff5344'}}">
  475. 立即付款
  476. </view>
  477. </label>
  478. </view>
  479. </i-fixedBottom>
  480. </view>
  481. <i-aside-btn showHome="{{true}}" showContact="{{user_service_switch==1}}" i-class="home-btn"></i-aside-btn>
  482. <guess-like bind:openSku="openSku" wx:if="{{is_show_guess_like==1}}" updateCart="{{updateCart}}" likeTitle="猜你喜欢" bind:vipModal="vipModal"></guess-like>
  483. </view>
  484. </i-auth>
  485. <i-dialog bind:cancel="callDialog" bind:confirm="cancelOrder" data-cancel="cancelOrderVisible" text="好不容易挑出来,确定要取消吗?" visible="{{cancelOrderVisible}}"></i-dialog>
  486. <!-- 下单成功分享 begin -->
  487. <i-modal scrollUp="{{false}}" visible="{{isShowModal}}" wx:if="{{order.order_info.ziti_name}}">
  488. <view class="share-modal">
  489. <image class='close-modal' src='../../images/img-close.png' bindtap='closeModal'></image>
  490. <view class='share-modal-title' wx:if="{{share_title}}">{{share_title}}</view>
  491. <view class='share-modal-title' wx:else>@{{order.order_info.ziti_name}}{{groupInfo.owner_name}},我是{{userInfo.shareNickName}},刚在你这里下单啦!!!</view>
  492. <view class='share-modal-img'>
  493. <image mode='widthFix' src='{{share_img?share_img:order_goods_list[0].goods_share_image}}'></image>
  494. </view>
  495. <view class='share-modal-btn'>
  496. <button open-type='share' hover-class='none' class='btn-item share-btn' style="background:{{skin.color}}">
  497. 通知{{groupInfo.owner_name}}接单
  498. </button>
  499. </view>
  500. </view>
  501. </i-modal>
  502. <!-- 下单成功分享 end -->
  503. <sku visible="{{visible}}" skuList="{{skuList}}" cur_sku_arr="{{cur_sku_arr}}" bind:cancel="closeSku" sku_val="{{sku_val}}" sku="{{sku}}" goodsid="{{addCar_goodsid}}" bind:changeCartNum="changeCartNum" bind:vipModal="vipModal"></sku>
  504. <i-vip-modal visible="{{showVipModal}}" imgUrl="{{pop_vipmember_buyimage}}" />
  505. <i-modal scrollUp="{{false}}" visible="{{showRefundModal&&refundGoodsInfo}}">
  506. <view class="refundModal">
  507. <view class="refundScroll bg-f p15 rounded mb20">
  508. <view class="goodinfo pos-r pb15">
  509. <view class='i-flex'>
  510. <view style="margin-right: 10px">
  511. <i-img height="60" iClass="show-img" lazyLoad="true" loadImage="{{refundGoodsInfo.image}}" width="60"></i-img>
  512. </view>
  513. <view class="i-flex-item" style="width:0;">
  514. <view class="weight text-overflow1"><text class="pintag" wx:if="{{order.order_info.is_pin==1}}">拼团</text> {{order_goods_list[refundIdx].name}}</view>
  515. <view class="mount">
  516. <block wx:if="{{refundGoodsInfo.option_str}}">{{refundGoodsInfo.option_str}} </block>
  517. <block wx:if="{{order.order_info.type!='integral'}}">¥</block>{{refundGoodsInfo.price}}
  518. <block wx:if="{{order.order_info.type=='integral'}}">积分</block> x {{refundGoodsInfo.quantity}}
  519. </view>
  520. <view class="weight mt5">
  521. 小计:<block wx:if="{{order.order_info.type!='integral'}}">¥</block>{{refundGoodsInfo.real_total}}
  522. <block wx:if="{{order.order_info.type=='integral'}}">积分</block>
  523. </view>
  524. <view class="card-btn">
  525. <block wx:if="{{refundGoodsInfo.is_refund_state>0&&refundGoodsInfo.order_refund_goods.ref_id}}">
  526. <view class="btn-2 mar-left-8" bindtap="goRefund" data-id="{{refundGoodsInfo.order_refund_goods.ref_id}}">
  527. <block wx:if="{{refundGoodsInfo.is_refund_state==1}}">
  528. {{(refundGoodsInfo.order_refund_goods&&refundGoodsInfo.order_refund_goods.state==3)?'退款成功':'查看售后'}}
  529. </block>
  530. <block wx:else>退款成功</block>
  531. </view>
  532. </block>
  533. <!-- <block wx:if="{{order_can_del_cancle==1}}">
  534. <view bindtap="applyForService" data-type="{{order.order_info.order_id}}" data-order_goods_id="{{refundGoodsInfo.order_goods_id}}" class="btn-1 mar-left-8" wx:if="{{refundGoodsInfo.can_ti_refund!=0&&refundGoodsInfo.is_refund_state==0&&order.order_info.order_status_id==4}}">申请售后</view>
  535. </block> -->
  536. <view bindtap="applyForService" data-type="{{order.order_info.order_id}}" data-order_goods_id="{{refundGoodsInfo.order_goods_id}}" class="btn-1 mar-left-8" wx:if="{{refundGoodsInfo.is_statements_state==0&&refundGoodsInfo.is_refund_state==0&&(order.order_info.order_status_id==6||order.order_info.order_status_id==11)&&presale_info.presale_type!=1}}">申请售后</view>
  537. </view>
  538. </view>
  539. </view>
  540. </view>
  541. <view class="line"></view>
  542. <view class="refundinfo">
  543. <view class="m-head border-bottom i-flex i-flex-spb py10 mb10">
  544. <view class="weight">已退款({{refundGoodsInfo.has_refund_quantity}}{{goods_sale_unit}})</view>
  545. <view class="text-gray fsz-24">{{order.goods_count}}{{goods_sale_unit}}商品</view>
  546. </view>
  547. <block wx:if="{{refundGoodsInfo.order_goods_refund_list.length}}">
  548. <view class="fsz-24 text-6" wx:for="{{refundGoodsInfo.order_goods_refund_list}}" wx:key="index">
  549. <view class="mb5">退款时间:<text class="text-3">{{item.addtime}}</text></view>
  550. <view class="mb5">退款金额:<text class="text-3">¥{{item.money}}</text></view>
  551. </view>
  552. </block>
  553. </view>
  554. </view>
  555. <view class="close text-white text-center">
  556. <text bindtap="closeModal" data-type="1" class="iconfont icon-guanbi fsz-60"></text>
  557. </view>
  558. </view>
  559. </i-modal>
  560. <!-- 核销门店弹窗 -->
  561. <i-modal scrollUp="{{true}}" visible="{{showHexiaoModal}}" bind:cancel="handleHexiaoModal">
  562. <view class="sku-card">
  563. <view class="title text-gray mb10 fsz-26 i-flex i-alc">
  564. <view class="i-flex-item">共 <text class="red bold">{{order.order_info.salesroom_list.length}}</text> 个自提点</view>
  565. <text class="iconfont icon-guanbi fsz-34 text-3" bindtap="handleHexiaoModal"></text>
  566. </view>
  567. <scroll-view scroll-y style="height: 60vh;">
  568. <view class="border-bottom py10 i-flex i-flex-alc" wx:for="{{order.order_info.salesroom_list}}" wx:key="index" bindtap="changeMendian" data-idx="{{index}}">
  569. <view class="i-flex-item">
  570. <view class="fsz-28 weight mb5">{{item.room_name}}</view>
  571. <view class="fsz-22">{{item.room_address}}</view>
  572. </view>
  573. <text class="iconfont icon-youjiantou fsz-28 text-gray"></text>
  574. </view>
  575. </scroll-view>
  576. </view>
  577. </i-modal>
  578. <!-- 商品核销详情弹窗 -->
  579. <i-modal scrollUp="{{true}}" visible="{{showHexiaoGoodsModal}}" bind:cancel="handleHexiaoGoodsModal">
  580. <view class="sku-card" style="padding: 40rpx 0 0;">
  581. <view class="weight fsz-32 pb10 text-center" style="padding: 0 40rpx;">{{order.order_info.shopname}}</view>
  582. <view class="mt10 border-bottom pb15" style="padding: 0 40rpx;">
  583. <view class="text-center mt10" wx:if="{{order_goods_list[goodsHexiaoIdx].hexiao_qr_code}}">
  584. <image src="{{order_goods_list[goodsHexiaoIdx].hexiao_qr_code}}" style="width:300rpx;height:300rpx;"></image>
  585. </view>
  586. <view class="text-center weight mt5 pt10">{{order_goods_list[goodsHexiaoIdx].hexiao_volume_code}}</view>
  587. <view class="text-center u-font-24 mt5 pb15 text-gray">出示二维码给店员核销</view>
  588. </view>
  589. <scroll-view scroll-y style="max-height: 40vh;padding: 0 40rpx;" class="pb15 mt10">
  590. <view class="i-flex border-bottom pb15">
  591. <i-img height="60" iClass="show-img" lazyLoad="true" loadImage="{{order_goods_list[goodsHexiaoIdx].goods_images}}" width="60"></i-img>
  592. <view class="i-flex-item ml10">
  593. <view class="fsz-28">{{order_goods_list[goodsHexiaoIdx].name}}</view>
  594. <view class="fsz-24 text-gray mt10">x {{order_goods_list[goodsHexiaoIdx].quantity}}</view>
  595. </view>
  596. </view>
  597. <!-- 使用记录 -->
  598. <view class="fsz-24 pb15 border-bottom">
  599. <view class="fsz-28 weight mb10 mt10 i-flex">
  600. 使用情况
  601. <view class="red" wx:if="{{order_goods_list[goodsHexiaoIdx].is_refund_state>0}}">(已退款)</view>
  602. <view class="red" wx:elif="{{order_goods_list[goodsHexiaoIdx].is_hexiao_expire==1}}">
  603. (已过期 <text class="fsz-24">有效期至{{order_goods_list[goodsHexiaoIdx].effect_end_time}}</text>)
  604. </view>
  605. <text class="red" wx:else>({{order_goods_list[goodsHexiaoIdx].is_hexiao_over==1?"核销完成":"未核销完成"}})</text>
  606. </view>
  607. <view class="mt10">
  608. <view>总{{order_goods_list[goodsHexiaoIdx].hexiao_type==0?'份':'次'}}数:{{order_goods_list[goodsHexiaoIdx].hexiao_count == 0?'不限':order_goods_list[goodsHexiaoIdx].hexiao_count}}{{order_goods_list[goodsHexiaoIdx].hexiao_type==0?'份':'次'}}</view>
  609. <view class="mt5">剩余{{order_goods_list[goodsHexiaoIdx].hexiao_type==0?'份':'次'}}数:{{order_goods_list[goodsHexiaoIdx].remain_hexiao_count == 0?'不限':order_goods_list[goodsHexiaoIdx].remain_hexiao_count}}{{order_goods_list[goodsHexiaoIdx].hexiao_type==0?'份':'次'}}</view>
  610. <view class="mt5" wx:if="{{order_goods_list[goodsHexiaoIdx].has_refund_quantity>0}}">已退款:{{order_goods_list[goodsHexiaoIdx].has_refund_quantity}}{{order_goods_list[goodsHexiaoIdx].hexiao_type==0?'份':'次'}}</view>
  611. </view>
  612. </view>
  613. <block wx:if="{{order_goods_list[goodsHexiaoIdx].salesroom_list.length}}">
  614. <view class="fsz-28 weight mb10 mt10">适用门店({{order_goods_list[goodsHexiaoIdx].salesroom_list.length}})</view>
  615. <view class="fsz-24">
  616. <block wx:for="{{order_goods_list[goodsHexiaoIdx].salesroom_list}}" wx:key="index" wx:if="{{order_goods_list[goodsHexiaoIdx].salesroom_list}}">
  617. <view class="i-flex i-flex-alc roomitem border-bottom" bindtap="gotoMap" data-lat="{{item.lat}}" data-lon="{{item.lon}}" data-name="{{item.room_name}}" data-address="{{item.room_address}}">
  618. <view class="i-flex-item">
  619. <view>门店名称:{{item.room_name}}<text class="red">(距你{{item.distance}}公里)</text></view>
  620. <view class="mt5">门店地址:{{item.room_address}}</view>
  621. </view>
  622. <text class="iconfont icon-youjiantou fsz-28 text-3"></text>
  623. </view>
  624. </block>
  625. </view>
  626. </block>
  627. </scroll-view>
  628. <view class="shadow-top" style="padding: 20rpx 40rpx 0;">
  629. <view class="text-center text-white bg-primary fsz-30" style="height: 74rpx;line-height: 74rpx;" bindtap="handleHexiaoGoodsModal">关闭</view>
  630. </view>
  631. </view>
  632. </i-modal>
  633. <!-- 预售说明 -->
  634. <i-modal bind:cancel="hanlePresaleModal" iClass="confirm-modal-content" visible="{{showPresaleDesc}}">
  635. <view class="confirm-coupon-modal" style="background:#fff;">
  636. <view class='title'>预售协议</view>
  637. <scroll-view class='list' scroll-y style="min-height: 300rpx;padding-top:30rpx;">
  638. <text>{{presale_info.presale_agreement}}</text>
  639. </scroll-view>
  640. </view>
  641. </i-modal>
  642. <!-- 预售尾款 -->
  643. <i-modal bind:cancel="hanlePresalePayModal" iClass="confirm-modal-content" visible="{{showPresalePayModal}}">
  644. <view class="confirm-presale-modal">
  645. <view class="title text-center">预售尾款支付信息</view>
  646. <view class="order-content">
  647. <view class="msg-group">
  648. <span>尾款金额:</span>
  649. <em>+¥{{presale_info.weikuan}}</em>
  650. </view>
  651. <view class="msg-group" wx:if="{{order.order_info.shipping_fare>0}}">
  652. <span wx:if="{{order.order_info.delivery=='localtown_delivery'}}">同城配送费:</span>
  653. <span wx:else>{{order.order_info.delivery=="express"?groupInfo.placeorder_trans_name:groupInfo.placeorder_tuan_name}}:</span>
  654. <em>+ ¥{{order.order_info.shipping_fare}}</em>
  655. </view>
  656. <view class="msg-group" wx:if="{{order.order_info.is_free_shipping_fare==1}}">
  657. <span>满金额免{{order.order_info.delivery=="express"?groupInfo.placeorder_trans_name:groupInfo.placeorder_tuan_name}}:</span>
  658. <em>- ¥{{order.order_info.fare_shipping_free}}</em>
  659. </view>
  660. <view class="msg-group" wx:if="{{(order.order_info.score_for_money*1)>0}}">
  661. <span>积分抵扣:</span>
  662. <em>- ¥{{order.order_info.score_for_money}}</em>
  663. </view>
  664. <view class="msg-group" wx:if="{{order.order_info.voucher_credit>0}}">
  665. <span>优惠券:</span>
  666. <em>- ¥{{order.order_info.voucher_credit}}</em>
  667. </view>
  668. <view class="msg-group" wx:if="{{order.order_info.fullreduction_money>0}}">
  669. <span>满减:</span>
  670. <em>- ¥{{order.order_info.fullreduction_money}}</em>
  671. </view>
  672. <view class="msg-group" wx:if="{{order.order_info.packing_fare>0}}">
  673. <span>{{groupInfo.localtown_modifypickingname}}:</span>
  674. <em>+ ¥{{order.order_info.packing_fare}}</em>
  675. </view>
  676. <view class="msg-group" wx:if="{{order.order_info.localtown_add_shipping_fare>0}}">
  677. <span>加价配送费:</span>
  678. <em>+ ¥{{order.order_info.localtown_add_shipping_fare}}</em>
  679. </view>
  680. <view class="msg-group">
  681. <span>配送方式:</span>
  682. <em wx:if="{{order.order_info.delivery=='express'}}">{{groupInfo.delivery_express_name}}</em>
  683. <em wx:elif="{{order.order_info.delivery=='localtown_delivery'}}">同城配送</em>
  684. <em wx:else>{{groupInfo.delivery_tuanzshipping_name}}</em>
  685. </view>
  686. <view class="msg-group" wx:if="{{presale_info.presale_sendorder_date||presale_info.presale_sendorder_afterday}}">
  687. <span>发货时间:</span>
  688. <em>
  689. {{!presale_info.second_paytime&&presale_info.presale_type==0?'尾款支付成功后':''}}
  690. <block wx:if="{{presale_info.presale_sendorder_date}}">{{presale_info.presale_sendorder_date}}</block>
  691. <block wx:else>{{presale_info.presale_sendorder_afterday}}日内</block>开始{{presalePickup[order.order_info.delivery]}}
  692. </em>
  693. </view>
  694. <view class="total">
  695. 合计:<em>¥{{presale_info.payTot}}</em>
  696. </view>
  697. </view>
  698. <view class="button-group i-flex">
  699. <i-button bindtap="hanlePresalePayModal" class="btn-content text-center" iClass="btn left-btn">取消</i-button>
  700. <i-button class="btn-content text-center" iClass="btn right-btn" loading="{{payBtnLoading}}" bindtap="preOrderPay" data-type="{{order.order_info.order_id}}">
  701. <view style="background:{{skin.color}};line-height:80rpx;color:#fff;">确认支付</view>
  702. </i-button>
  703. </view>
  704. </view>
  705. </i-modal>