recharge.wxml 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <view class="box">
  2. <view class="top" wx:if="{{arr!=''}}">
  3. <text>电单车骑行卡</text>
  4. <text>购卡骑行更划算</text>
  5. </view>
  6. <view class="hot" style="background-image:url('{{img}}weapp/hot_active.png')" bindtap="hot" wx:if="{{hot}}">
  7. <!-- <text class="frequency" wx:if="{{hotInfo.is_limit_times==1}}">{{hotInfo.times}}次/{{hotInfo.effective_days}}天</text> -->
  8. <text class="frequency">{{hotInfo.name}}</text>
  9. <!-- <text class="frequency" wx:if="{{hotInfo.is_limit_times==0}}">{{hotInfo.effective_days}}天不限次</text> -->
  10. <view class="info">
  11. <text>{{hotInfo.now_price}}</text>
  12. <text wx:if="{{hotInfo.is_discount==1}}">原价{{hotInfo.price}}</text>
  13. </view>
  14. <view class="buy" bindtap="buy1">
  15. <text>购买</text>
  16. </view>
  17. <view class="tip">
  18. <text>单次最高抵扣{{hotInfo.deduction_money}}元</text>
  19. </view>
  20. </view>
  21. <view class="list">
  22. <view class="view" wx:for="{{arr}}" wx:key="key">
  23. <!-- <text class="text" wx:if="{{item.is_limit_times==1}}">{{item.times}}次/{{item.effective_days}}天</text> -->
  24. <text class="text">{{item.name}}</text>
  25. <!-- <text class="text" wx:if="{{item.is_limit_times==0}}">{{item.effective_days}}天不限次</text> -->
  26. <view class="money">
  27. <text>{{item.now_price}}</text>
  28. <text wx:if="{{item.is_discount==1}}">原价{{item.price}}</text>
  29. </view>
  30. <view class="position" wx:if="{{item.is_discount==1}}">
  31. <text>限时{{item.discount}}折</text>
  32. </view>
  33. <view class="buy" bindtap="buy" data-id="{{item.id}}" data-index="{{index}}">
  34. <text>购买</text>
  35. </view>
  36. <view class="tip">
  37. <text>单次最高抵扣{{item.deduction_money}}元</text>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="background" wx:if="{{info}}" bindtap="background"></view>
  42. <view class="model" wx:if="{{info}}">
  43. <view class="view">
  44. <text class="title">购买骑行卡</text>
  45. <view class="content">
  46. <view class="count">
  47. <view class="count_a">
  48. <text class="text">{{infoDetail.name}}</text>
  49. <!-- <text class="text" wx:if="{{infoDetail.is_limit_times==1}}">{{infoDetail.times}}次</text> -->
  50. <!-- <text class="text" wx:if="{{infoDetail.is_limit_times==0}}">不限次</text> -->
  51. <text>(有效期{{infoDetail.effective_days}}天)</text>
  52. </view>
  53. <view class="count_b">
  54. <text>¥{{infoDetail.now_price}}</text>
  55. <text wx:if="{{infoDetail.is_discount==1}}">{{infoDetail.price}}</text>
  56. </view>
  57. </view>
  58. <text class="title1">使用规则</text>
  59. <text>1.骑行卡<text style="color:red;">无法抵扣订单调度费</text>。</text>
  60. <text>2.请在有效期内使用,骑行卡<text style="color:red;">使用完毕或超出有效期</text>即视为无效。</text>
  61. <text>3.电单车骑行卡生效期间,<text wx:if="{{infoDetail.is_limit_times==0 && infoDetail.day_can_ridding_times!=0}}">每天最多骑行<text style="color:red;">{{infoDetail.day_can_ridding_times}}次</text>,</text> <text wx:if="{{setting.start}}">每次骑行最多可抵扣<text
  62. style="color:red;">{{infoDetail.deduction_money}}</text>元骑行费用</text> <text wx:if="{{!setting.star}}"> 每次可抵扣骑行时长<text style="color:red;">{{infoDetail.deduction_money / setting.per_money * setting.per_minute}}</text>分钟</text>,超出部分依据计费规则计费。</text>
  63. <text>4.骑行卡<text style="color:red;">一旦购买,不能退还,不能转赠</text>。</text>
  64. </view>
  65. <view class="btn1" bindtap="form">
  66. <text>{{infoDetail.now_price}}元购买</text>
  67. </view>
  68. </view>
  69. <image src="{{img}}weapp/guanbi.png" style="width:48rpx;height:48rpx;" class="over1" bindtap="background"></image>
  70. </view>
  71. </view>
  72. <view class="none" wx:if="{{arr=='' && hot==''}}">
  73. <image src="/img/none.png" style="width:300rpx;height:300rpx;"></image>
  74. <text>暂无骑行卡</text>
  75. </view>