mine_card.axml 1.1 KB

12345678910111213141516171819202122232425
  1. <view class="mine-card">
  2. <view class="no-card" a:if="{{cardList.user_card.length==0}}">
  3. <image src="../../img/nocard.png"></image>
  4. <view>暂无可用的卡</view>
  5. </view>
  6. <view a:else="{{cardList.user_card.length!==0}}">
  7. <view class="card">
  8. <view class="card-left">
  9. <view class="card-title" a:if="{{cardList.user_card.is_limit_times==1}}">{{cardList.user_card.can_ridding_times}}次/{{cardList.day}}天</view>
  10. <view class="card-title" a:else>{{cardList.day}}天不限次数</view>
  11. <view class="card-text1" a:if="{{cardList.user_card.is_limit_times==1}}">
  12. 剩余骑行{{cardList.user_card.can_ridding_times}}次</view>
  13. <view class="card-text1">单日最多可用{{cardList.user_card.day_can_ridding_times}}次</view>
  14. <view class="card-text1">单次最多抵扣{{cardList.user_card.deduction_money}}元</view>
  15. <view class="card-text2">{{cardList.user_card.expiration_time}}到期</view>
  16. </view>
  17. <view class="card-right">
  18. <image src="../../img/dun.png"></image>
  19. </view>
  20. </view>
  21. <view class="user-tip" onTap="useRules">骑行卡说明</view>
  22. </view>
  23. </view>