payment.wxml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <view class="box" style="padding-bottom:{{date.system_off_lock.is_system_off_lock ? '250rpx' : '150rpx'}}">
  2. <view class="list">
  3. <view class="title">
  4. <text>订单详情</text>
  5. <text></text>
  6. </view>
  7. <view>
  8. <text>订 单 号 </text>
  9. <text>{{date.orders.no}}</text>
  10. </view>
  11. <view>
  12. <text>骑行时长</text>
  13. <text>{{date.orders.use_bike_time_length_text}}</text>
  14. </view>
  15. <view>
  16. <text>骑行里程</text>
  17. <text>{{date.orders.use_bike_distance_length_text}}</text>
  18. </view>
  19. <view wx:if="{{rent==false}}">
  20. <text>租车费用</text>
  21. <text>¥{{date.orders.rent_money}}</text>
  22. </view>
  23. <view wx:if="{{rent==false}}">
  24. <text>超时费用</text>
  25. <text>¥{{date.orders.time_money}}</text>
  26. </view>
  27. <view>
  28. <text>里程费用</text>
  29. <text>¥{{date.orders.distance_money}}</text>
  30. </view>
  31. <view>
  32. <text>时长费用</text>
  33. <text>¥{{date.orders.time_money}}</text>
  34. </view>
  35. <view wx:if="{{rent==true}}">
  36. <text>行程总计</text>
  37. <text>¥{{date.orders.time_money}}</text>
  38. </view>
  39. </view>
  40. <view class='maskLayer' wx:if="{{payment_type}}" catchtouchmove="true" bindtap="cancel"></view>
  41. <view class="mode payment_type" wx:if="{{payment_type}}" catchtouchmove="true">
  42. <image src="/img/guanbi.png" style="width:48rpx;height:48rpx;" class="cancel" bindtap='cancel'></image>
  43. <view class="top">
  44. <text>支付方式</text>
  45. </view>
  46. <view class="view" bindtap="{{bolear ? 'check1':''}}">
  47. <view class="left">
  48. <image src="{{img}}weapp/purse.png" style="width:36rpx;height:36rpx;"></image>
  49. <view><text style="font-size:28rpx;">余额支付</text><text style="color:#999999;font-size:24rpx;">(¥{{balance}})</text></view>
  50. </view>
  51. <view class="right" bindtap="{{bolear==false ? 'to_recharge' : ''}}">
  52. <text wx:if="{{bolear==false}}">余额不足去充值</text>
  53. <image src="{{check1==true ? 'http://resource.bike.hanyiyun.com/weapp/true.png' : 'http://resource.bike.hanyiyun.com/weapp/false.png'}}" style="width:30rpx;height:30rpx;" wx:if="{{bolear==true}}"></image>
  54. </view>
  55. </view>
  56. <view class="view" bindtap="check2">
  57. <view class="left">
  58. <image src="{{img}}weapp/vx.png" style="width:36rpx;height:34rpx"></image>
  59. <text style="font-size:28rpx;">微信支付</text>
  60. </view>
  61. <view class="right">
  62. <image src="{{check2==true ? 'http://resource.bike.hanyiyun.com/weapp/true.png' : 'http://resource.bike.hanyiyun.com/weapp/false.png'}}" style="width:30rpx;height:30rpx;"></image>
  63. </view>
  64. </view>
  65. <view class="view1" bindtap="queding">
  66. <text>确定</text>
  67. </view>
  68. </view>
  69. <view class="mode" wx:if="{{rent}}">
  70. <view class="view" bindtap="{{date.user_card.is_card ? '' : 'check4'}}">
  71. <view class="left">
  72. <image src="/img/ka_icon.png" style="width:34rpx;height:34rpx"></image>
  73. <text>骑行卡</text>
  74. </view>
  75. <view class="right1">
  76. <text wx:if="{{date.user_card.is_card && date.user_card.card_preferential_money>0}}" style="color:#ff0000;">优惠{{date.user_card.card_preferential_money}}</text>
  77. <text wx:if="{{date.user_card.is_card && date.user_card.card_preferential_money=='0.00'}}">无可用骑行卡</text>
  78. <text wx:if="{{!date.user_card.is_card}}">去购买</text>
  79. <image src="/img/you.png" style="width:48rpx;height:48rpx;"></image>
  80. </view>
  81. </view>
  82. <view class="view" bindtap="{{!date.user_coupon.is_coupon ? '' : 'check3'}}">
  83. <view class="left">
  84. <image src="/img/quan_icon.png" style="width:34rpx;height:34rpx"></image>
  85. <text>优惠券</text>
  86. </view>
  87. <view class="right1">
  88. <text wx:if="{{date.user_coupon.is_coupon && date.user_coupon.coupon_preferential_money>0}}" style="color:#ff0000;">优惠{{date.user_coupon.coupon_preferential_money}}</text>
  89. <text wx:if="{{date.user_coupon.is_coupon && date.user_coupon.coupon_preferential_money=='0.00'}}">无可用优惠券</text>
  90. <text wx:if="{{!date.user_coupon.is_coupon}}">暂无优惠券</text>
  91. <image src="/img/you.png" style="width:48rpx;height:48rpx;"></image>
  92. </view>
  93. </view>
  94. </view>
  95. <view class="list" style="padding-top:30rpx;">
  96. <view>
  97. <text>订单金额</text>
  98. <text>¥{{date.orders.order_total_money}}</text>
  99. </view>
  100. <view bindtap="notice">
  101. <text>调度费用</text>
  102. <image src="/img/xvzhi.png" class="notice"></image>
  103. <text style="color:#ff0000;">+ ¥{{date.orders.dispatch_money}}</text>
  104. </view>
  105. <view wx:if="{{rent}}">
  106. <text>骑行卡</text>
  107. <text style="color:#ff0000;">- ¥{{date.user_card.card_preferential_money}}</text>
  108. </view>
  109. <view wx:if="{{rent}}">
  110. <text>优惠券</text>
  111. <text style="color:#ff0000;">- ¥{{date.user_coupon.coupon_preferential_money}}</text>
  112. </view>
  113. <view class="coupon_money" style="justify-content: start;" wx:if="{{date.orders.total_preferential_money!='0.00'}}">
  114. <image src="/img/icon.png" style="width:28rpx;height:28rpx"></image>
  115. <text style="padding-left:10rpx;color:rgba(254,137,30,1);">已为您优惠{{date.orders.total_preferential_money}}元</text>
  116. </view>
  117. </view>
  118. <view class="payment" bindtap="payment_type">
  119. <text style="padding-left: 7.5%;">支付方式</text>
  120. <text style="padding-right: 10.5%;" wx:if="{{check2 && index==1}}">微信支付</text>
  121. <text style="padding-right: 10.5%;" wx:if="{{check1 && index==2}}">余额支付</text>
  122. <image src="/img/you.png" style="width:48rpx;height:48rpx;"></image>
  123. </view>
  124. <view class="box_bottom">
  125. <view bindtap="phone">
  126. <text>客服热线</text>
  127. <image src="/img/you.png" style="width:48rpx;height:48rpx;"></image>
  128. </view>
  129. <view bindtap="repair">
  130. <text>车辆报修</text>
  131. <image src="/img/you.png" style="width:48rpx;height:48rpx;"></image>
  132. </view>
  133. <view bindtap="retryClose" style="height:60rpx;" wx:if="{{rent}}">
  134. <text>关锁失败</text>
  135. <text style="padding-right:4.5%;">重试关锁</text>
  136. <image src="/img/you.png" style="width:48rpx;height:48rpx;" class="right"></image>
  137. </view>
  138. </view>
  139. <view class="system_off_lock" wx:if="{{date.system_off_lock.is_system_off_lock}}">
  140. <text>{{date.system_off_lock.system_off_lock_text}}</text>
  141. </view>
  142. <view class="fixed">
  143. <view class="money">
  144. <view><text>¥{{date.orders.order_wait_pay_money}}</text></view>
  145. </view>
  146. <view class="btn" bindtap="{{date.orders.order_wait_pay_money=='0.00' || date.orders.pay_status==1 ? 'home' : disable==true ? '' : 'payment'}}">
  147. <text>{{date.orders.order_wait_pay_money=='0.00' || date.orders.pay_status==1? '返回首页' : '立即支付'}}</text>
  148. </view>
  149. </view>
  150. <view class='maskLayer' wx:if="{{chooseSize}}" catchtouchmove="catchtouchmove"></view>
  151. <view class='choose' wx:if="{{chooseSize}}" animation='{{animationData1}}'>
  152. <image src="/img/guanbi.png" style="width:48rpx;height:48rpx;" class="hideModal" bindtap='hideModal'></image>
  153. <view class="top" catchtouchmove="catchtouchmove">
  154. <view class="title1">
  155. <text>优惠券</text>
  156. </view>
  157. <view class="coupon">
  158. <view class="view" bindtap="tap_coupon" data-index="0">
  159. <text>可用优惠券</text>
  160. <text class="{{couponIndex==0?'active':''}}"></text>
  161. </view>
  162. <view class="view" data-index="1" bindtap="tap_coupon">
  163. <text>不可用优惠券</text>
  164. <text class="{{couponIndex==1?'active':''}}"></text>
  165. </view>
  166. </view>
  167. </view>
  168. <scroll-view class="couponList" style="height:{{screenHeight=='xSeries' ? '666rpx' : '566rpx'}}" scroll-y>
  169. <view class="item" wx:if="{{couponIndex==0 && coupon.dataYes!=''}}" wx:for="{{coupon.dataYes}}" wx:key="key" bindtap="coupons" data-id="{{item.id}}" data-index="{{index}}" data-select="{{item.selected}}">
  170. <image src="/img/coupon_select.png" class="right_top" wx:if="{{item.selected}}"></image>
  171. <view class="left">
  172. <text wx:if="{{item.type==1}}">满{{item.with_amount}}减{{item.used_amount}}</text>
  173. <text wx:if="{{item.type==2}}">¥<text style="font-size:84rpx;">{{item.used_amount}}</text></text>
  174. <text wx:if="{{item.type==3}}"><text style="font-size:60rpx;">{{item.discount}}</text> 折</text>
  175. </view>
  176. <view class="right">
  177. <view>
  178. <image src="/img/time_icon.png" style="width:22rpx;height:22rpx;"></image>
  179. <text style="padding-left:18rpx;" wx:if="{{item.valid_type==2}}">{{item.created_at}}-{{item.valid_days_end_time}}</text>
  180. <text style="padding-left:18rpx;" wx:if="{{item.valid_type==1}}">{{item.valid_start_time}}-{{item.valid_end_time}}</text>
  181. </view>
  182. <view style="padding-top:13rpx;">
  183. <image src="/img/qt_icon.png" style="width:22rpx;height:22rpx;"></image>
  184. <text style="padding-left:18rpx;">全天可用</text>
  185. </view>
  186. </view>
  187. </view>
  188. <block wx:if="{{couponIndex==0}}">
  189. <view wx:if="{{coupon.dataYes==undefined || coupon.dataYes==''}}" class="no_dataYes">
  190. <image src="/img/no_coupon.png" style="width:128rpx;height:128rpx;"></image>
  191. <text style="padding-top:20rpx;">暂无可用优惠券</text>
  192. </view>
  193. </block>
  194. <view class="item item1" wx:if="{{couponIndex==1}}" wx:for="{{coupon.dataNo}}" wx:key="key">
  195. <view class="left">
  196. <text wx:if="{{item.type==1}}">满{{item.with_amount}}减{{item.used_amount}}</text>
  197. <text wx:if="{{item.type==2}}">¥<text style="font-size:84rpx;">{{item.used_amount}}</text></text>
  198. <text wx:if="{{item.type==3}}"><text style="font-size:60rpx;">{{item.discount}}</text> 折</text>
  199. </view>
  200. <view class="right">
  201. <view>
  202. <image src="/img/time_icon.png" style="width:22rpx;height:22rpx;"></image>
  203. <text style="padding-left:18rpx;" wx:if="{{item.valid_type==2}}">{{item.created_at}}-{{item.valid_days_end_time}}</text>
  204. <text style="padding-left:18rpx;" wx:if="{{item.valid_type==1}}">{{item.valid_start_time}}-{{item.valid_end_time}}</text>
  205. </view>
  206. <view style="padding-top:13rpx;">
  207. <image src="/img/qt_icon.png" style="width:22rpx;height:22rpx;"></image>
  208. <text style="padding-left:18rpx;">全天可用</text>
  209. </view>
  210. </view>
  211. <!-- <image src="/img/overdue.png" class="overdue"></image> -->
  212. </view>
  213. <block wx:if="{{couponIndex==1}}">
  214. <view wx:if="{{coupon.dataNo==undefined || coupon.dataNo==''}}" class="no_dataYes">
  215. <image src="/img/no_coupon.png" style="width:128rpx;height:128rpx;"></image>
  216. <text style="padding-top:20rpx;">暂无不可用优惠券</text>
  217. </view>
  218. </block>
  219. </scroll-view>
  220. <view class="choose_botton" bindtap="srue">
  221. <view>
  222. <text>确定</text>
  223. </view>
  224. </view>
  225. </view>
  226. <view class="notice_background" wx:if="{{notice}}"></view>
  227. <view class="notice_model" wx:if="{{notice}}">
  228. <view class="title1">
  229. <text>调度费收费规则</text>
  230. </view>
  231. <view class="content">
  232. <text>未在还车点进行还车(运营区域外还车、禁停区还车),将收取30元调度费。</text>
  233. <text>调度费规则为:离最近的还车点{{setting.min_limit_km}}公里内{{setting.min_dispatching_fee}}元,{{setting.min_limit_km}}公里外每超出{{setting.over_limit_per_km}}公里增加{{setting.over_limit_per_km_money}}元调度费最高{{setting.max_dispatching_fee}}元封顶</text>
  234. </view>
  235. <view class="btn" bindtap="notice_false">
  236. <text>我知道了</text>
  237. </view>
  238. </view>
  239. </view>