riding_card.wxml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view class="box">
  2. <view class="card">
  3. <view class="top">
  4. <view class="text1" wx:if="{{arr1.is_limit_times==1}}">骑行卡剩余
  5. <text style="color:red;padding-left:15rpx;">{{arr1.can_ridding_times}}次</text>
  6. </view>
  7. <view class="text2" wx:if="{{arr1.is_limit_times==0}}">每天<text style="color:red;">{{arr1.day_can_ridding_times}}</text>次,<text class="text" wx:if="{{setting.star}}">每次可抵<text style="color:red;">{{arr1.deduction_money}}</text>元</text> <text class="text" wx:if="{{!setting.star}}"> 每次<text style="color:red;">{{arr1.deduction_money / setting.per_money * setting.per_minute}}</text>分钟</text>
  8. </view>
  9. </view>
  10. <text class="time">有效期至:{{arr1.expiration_time}}</text>
  11. <view class="absoult" bindtap="goBuy">
  12. <text>去购买</text>
  13. </view>
  14. <text class="title" bindtap="show">骑行规则</text>
  15. </view>
  16. <view class="list">
  17. <text class="title1">购买历史</text>
  18. <view class="orderList" wx:for="{{arr}}" wx:key="key" wx:if="{{arr!=''}}">
  19. <view class="listTop flexB">
  20. <view>
  21. <text>支付金额:</text>
  22. <text>¥ {{item.pay_money}}</text>
  23. </view>
  24. </view>
  25. <view class="orderTime">
  26. <text>支付时间:</text>
  27. <text>{{item.pay_time}}</text>
  28. </view>
  29. <view class="oderBottom">
  30. <view class="flexB">
  31. <text>订单号:{{item.no}}</text>
  32. <text style="color:red;">{{item.pay_status}}</text>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="background" wx:if="{{show}}" bindtap="hide" catchtouchmove="return"></view>
  39. <view class="model" wx:if="{{show}}" catchtouchmove="return">
  40. <image src="{{img}}weapp/guanbi.png" style="width:48rpx;height:48rpx;" class="over1" bindtap="hide"></image>
  41. <text class="title1">使用规则</text>
  42. <!-- <text>1.用户购买电单车骑行卡后,对应<text style="color:red;">骑行卡的优惠权益立即生效</text>。</text> -->
  43. <text>1.骑行卡<text style="color:red;">无法抵扣订单调度费</text>。</text>
  44. <text>2.请在有效期内使用,骑行卡<text style="color:red;">使用完毕或超出有效期</text>即视为无效。</text>
  45. <text>3.电单车骑行卡生效期间,<text wx:if="{{arr1.is_limit_times==0 && arr1.day_can_ridding_times!=0}}">每天最多骑行<text style="color:red;">{{arr1.day_can_ridding_times}}次</text>,</text> <text wx:if="{{setting.start}}">每次骑行最多可抵扣<text
  46. style="color:red;">{{arr1.deduction_money}}</text>元骑行费用</text> <text wx:if="{{!setting.star}}"> 每次可抵扣骑行时长<text style="color:red;">{{arr1.deduction_money / setting.per_money * setting.per_minute}}</text>分钟</text>,超出部分依据计费规则计费。</text>
  47. <text>4.骑行卡<text style="color:red;">一旦购买,不能退还,不能转赠</text>。</text>
  48. <!-- <text style="padding-bottom:20rpx;">6.骑行卡只适用于<text style="color:red;">分时租赁</text>,不支持日租用车使用。</text> -->
  49. </view>