<!--packageD/energy/cardDetail/cardDetail.wxml-->
<block wx:for="{{datas}}" wx:key='index'>
	<view class="list" >
		<view class="topTitle">
			<view class="line"></view>
			<view>会员卡信息</view>
		</view>
		<text class="lis">卡类型：{{item.card_type_name}}</text>
		<text class="lis">购买时间：{{item.created_at}}</text>
		<text class="lis" wx:if="{{id !='0'}}">有效期至：{{item.expiration_day}}天</text>
		<text class="lis">{{id=='0'?'':'今日'}}剩余次数：{{id == '0'?item.use_count:item.available_num}}</text>
	</view>
	<view style="width:100%;height:10rpx;background:#f5f7fa;margin-top:30rpx;"></view>
</block>