<!--pages/cart/cart.wxml-->
<view class="page-cart" style="padding-bottom:{{currentHeight + 88}}px">
	<!-- <view class="open-card">
		<view class="vip-desc">
			<image class="plus-img" src="/assets/imgs/7_1_0/plus-icon.png" mode="widthFix" />
			<text class="vip-info">VIP尊享N大权益，本单立减</text>
			<text class="vip-price">￥145</text>
		</view>
		<view class="open-btn">
			<text>去开卡</text>
			<image class="arrow-right" mode="widthFix" src="/assets/imgs/7_1_0/small-arrow-right.png" />
		</view>
	</view> -->
	<view class="cart-content" wx:if="{{cartList.length}}">
		<!-- 购物车列表 -->
		<scroll-del
		 cartList="{{cartList}}"
		 bind:checkProChange="checkProChange"
		 bind:addNumChange="addNumChange"
		 bind:minusNumChange="minusNumChange"
		 bind:blurNumChange="blurNumChange"
		 bind:inputNumChange="inputNumChange"
		 bind:delItemChange="delItemChange"
		/>
	</view>

	<!-- 失效宝贝 -->
	<view class="overdue-pro" wx:if="{{outGoods.length}}">
		<view class="clear-btn">清除失效商品</view>
		<view class="overdue-list clearflex">
			<view class="overdue-status">失效</view>
			<view class="pro-info">
				<image class="pro-img" src="/assets/imgs/7_1_0/icon.png" mode="widthFix" />
				<view class="pro-right-info">
					<view class="pro-name overdue-name">商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称</view>
					<view class="pro-sku">规格</view>
					<view class="pro-price">
						<view class="price overdue-price">￥256</view>
					</view>
				</view>
			</view>
		</view>
	</view>

	<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">
		<view class="empty-img">
			<image class="no-cart-img" src="/assets/imgs/7_1_0/08_22/no-cart.png" mode="widthFix" />
		</view>
		<view class="empty-text">亲，您的购物车还空空的哟～</view>
	</view>

	<!-- 底部 -->
	<!--	<view class="cart-bottom" style="bottom:{{currentHeight}}px">-->
	<view class="cart-bottom">
		<view class="total">
			<view class="select-radio all-radio" bindtap="checkAll">
				<icon type="{{checkAll ? 'success' : 'circle'}}" color="{{checkedColor}}" size="16" />
				<text class="all" >全选</text>
			</view>
			<view class="total-amount">
				<text class="total-label">合计：</text>
				<text class="total-price">￥{{shopCartTotalFee}}</text>
			</view>
		</view>
		<view class="theme-color buy-btn" bindtap="goBuy">立即购买</view>
	</view>
	<!--goHome-->
	<go-home/>
</view>

