<view class="mine-card">
  <view class="no-card" a:if="{{cardList.user_card.length==0}}">
    <image src="../../img/nocard.png"></image>
    <view>暂无可用的卡</view>
  </view>
  <view a:else="{{cardList.user_card.length!==0}}">
    <view class="card">
      <view class="card-left">
        <view class="card-title" a:if="{{cardList.user_card.is_limit_times==1}}">{{cardList.user_card.can_ridding_times}}次/{{cardList.day}}天</view>

        <view class="card-title" a:else>{{cardList.day}}天不限次数</view>
        <view class="card-text1" a:if="{{cardList.user_card.is_limit_times==1}}">
          剩余骑行{{cardList.user_card.can_ridding_times}}次</view>
        <view class="card-text1">单日最多可用{{cardList.user_card.day_can_ridding_times}}次</view>
        <view class="card-text1">单次最多抵扣{{cardList.user_card.deduction_money}}元</view>
        <view class="card-text2">{{cardList.user_card.expiration_time}}到期</view>
      </view>
      <view class="card-right">
        <image src="../../img/dun.png"></image>
      </view>
    </view>
    <view class="user-tip" onTap="useRules">骑行卡说明</view>
  </view>
 
</view>