collection.wxml 1.8 KB

1
  1. <view class="collection data-v-79db789e"><block wx:if="{{$root.g0>0}}"><view class="topEditOpar data-v-79db789e"><block wx:if="{{isEdit}}"><view class="check data-v-79db789e"><u-checkbox vue-id="7cd7c7b0-1" shape="circle" active-color="#ed3f14" icon-size="16" value="{{checkAllStauts}}" data-event-opts="{{[['^change',[['checkAllGoods']]],['^input',[['__set_model',['','checkAllStauts','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-79db789e" bind:__l="__l"></u-checkbox><text class="data-v-79db789e">全选</text></view></block><block wx:if="{{isEdit}}"><view data-event-opts="{{[['tap',[['delCollection',['$event']]]]]}}" class="text opartxt data-v-79db789e" bindtap="__e">移出收藏夹</view></block><block wx:else><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="text data-v-79db789e" bindtap="__e">管理</view></block></view></block><view class="list data-v-79db789e"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list_item data-v-79db789e"><block wx:if="{{isEdit}}"><view class="selcheck data-v-79db789e"><u-checkbox bind:input="__e" vue-id="{{'7cd7c7b0-2-'+index}}" shape="circle" active-color="#ed3f14" icon-size="16" disabled="{{goods.status==2}}" value="{{item.checked}}" data-event-opts="{{[['^input',[['__set_model',['$0','checked','$event',[]],[[['list','',index]]]]]]]}}" class="data-v-79db789e" bind:__l="__l"></u-checkbox></view></block><view class="infobox data-v-79db789e"><collection vue-id="{{'7cd7c7b0-3-'+index}}" data="{{item}}" class="data-v-79db789e" bind:__l="__l"></collection></view></view></block></view><block wx:if="{{$root.g1}}"><no-data vue-id="7cd7c7b0-4" class="data-v-79db789e" bind:__l="__l"></no-data></block><block wx:else><load-more vue-id="7cd7c7b0-5" loadtype="{{({page,loading,finish})}}" class="data-v-79db789e" bind:__l="__l"></load-more></block></view>