shop_cart.wxml
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<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>
<!-- wx:if="{{list.length>0}}" -->
<!-- footer -->
<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>
<concat />
</block>
<v-tab-bar selected="{{selected}}" text="1" list="{{listarr}}"></v-tab-bar>