shop_cart.wxml 1.5 KB
<block wx:if="{{no_login}}">
	<navigator class="no_login" catchtap="go_login" url="/pages/register/register" hover-class="none">请先登录</navigator>
</block>

<!-- <block wx:elif="{{login_new==''}}">
  <navigator class="no_login" catchtap="go_login" url="/pages/login/login"  hover-class="none">请先绑定会员</navigator>
</block> -->


<block wx:else>
	<view class="edittop" wx:if="{{list.length>0}}">
		<view>
			<view class="editname" wx:if="{{editshow}}" bindtap="edit">编辑</view>
			<view class="editname" wx:else bindtap="finish">完成</view>
		</view>

		<view class="delname" bindtap="delcart" wx:if="{{editshow==false}}">删除</view>
	</view>   
	<view class="content">
		<shop_item list="{{list}}" wx:if="{{list.length>0}}" type="1" actioning='{{actioning}}' check_num="{{check_num}}" bindcheck_type="check_type" bindchange_num="change_num" binddelete_shop="delete_shop" />
		<view class="empty" wx:else>暂无更多数据</view>
	</view>

	<view class="footer" wx:if="{{list.length>0}}">
		<view class="check_box" bindtap="check_all">
			<image class="check" src="{{checkAll?'/images/check@.png':'/images/check.png'}}" />
			<text>全选</text>
		</view>
		<view class="tips_info" wx:if="{{editshow}}">
			<text>不含运费</text>合计
			<text>{{integral}}元</text>
		</view>
		<view class="submit" bindtap="submit" wx:if="{{editshow}}">结算({{all_num}})</view>
	</view>
</block>
<v-tab-bar selected="{{selected}}" text="1" list="{{listarr}}"></v-tab-bar>