<!--pages/CardChooseMembership/CardChooseMembership.wxml-->
<view class="choose_cycle">
	<view class="content">
		<view class="header">
			<view class="user">
				<image src="{{thumb?thumb:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/photo-mr.jpg'}}" mode='widthFix' />
			</view>
			<view class="ul name">
				<view class="li">{{nickname}}</view>
				<view class="li">等级名称：{{level_name}}</view>
			</view>
		</view>
		<view class="time" wx:if="{{isOpen}}">
			<icon class="iconfont icon-naozhong"></icon>
			<view class="span">{{date}}到期，购买后有效期将顺延</view>
		</view>
		<view class="meal">
			<view class="h1">会员套餐</view>
			<view class="ul meal_list">
				<view class="li  {{index==currentIndex?'current':''}}" wx:for="{{priceArr}}" data-index="{{index}}" wx:key="index" data-item="{{item}}"
				 catchtap="toggle">
					<view class="span">
						<icon class="iconfont icon-submit"></icon>
						<icon class="iconfont icon-info-unselect" wx:if="{{false}}"></icon>{{item.time}}天
					</view>
					<view class="span">
						<text class="font" wx:if="{{item.market_price!=item.price}}">{{item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.market_price}}{{language['元']}}</text>{{item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.price}}{{language['元']}}
					</view>
				</view>
			</view>
		</view>
		<view class="btn">
			<view class="button" catchtap="open">{{isOpen?"立即续费":"立即开通"}}</view>
		</view>
	</view>
</view>
