1 |
- <view class="cm-cart-product data-v-986e5720"><block wx:if="{{productList.length>0}}"><view class="shop-info data-v-986e5720"><block wx:if="{{isExpired}}"><view class="expired data-v-986e5720">{{"失效商品"+productList.length+"件"}}</view><view data-event-opts="{{[['tap',[['deletefailureList',['$event']]]]]}}" class="clear data-v-986e5720" bindtap="__e">清空失效商品</view></block><block wx:else><view data-event-opts="{{[['tap',[['chooseAll',['$event']]]]]}}" class="{{['radio','iconfont','data-v-986e5720',data.checked?'icon-xuanze':'icon-weixuanze']}}" bindtap="__e"></view><view class="name data-v-986e5720">{{data.name}}</view></block></view><view class="product-list data-v-986e5720"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['row','data-v-986e5720',(index===0)?'no-border':'']}}"><block wx:if="{{isNormal||isDelete}}"><view data-event-opts="{{[['tap',[['chooseOne',['$0'],[[['productList','',index]]]]]]]}}" class="{{['radio','iconfont','data-v-986e5720',item.$orig.productsChecked?'icon-xuanze':'icon-weixuanze']}}" bindtap="__e"></view></block><block wx:else><view class="expired data-v-986e5720">失效</view></block><view class="product data-v-986e5720"><image class="cover data-v-986e5720" src="{{item.$orig.mainImage}}"></image><view class="content data-v-986e5720"><view class="title data-v-986e5720">{{item.$orig.productName}}</view><block wx:if="{{isNormal}}"><view class="params data-v-986e5720">{{"规格:"+(item.$orig.unit||'')}}</view><view class="tags data-v-986e5720"><view class="tag type1 data-v-986e5720">{{item.$orig.heUserId?'促销':'自营'}}</view><block wx:if="{{item.$orig.activeStatus==1}}"><view data-event-opts="{{[['tap',[['clickPopupShow',['$0',2],[[['productList','',index]]]]]]]}}" class="tag type2 data-v-986e5720" bindtap="__e">活动价</view></block></view><view class="footer data-v-986e5720"><view class="price data-v-986e5720">{{"¥"+item.f0}}</view><view class="data-v-986e5720"><block wx:if="{{!isDelete}}"><number-box vue-id="{{'755b8ad4-1-'+index}}" value="{{item.$orig.productCount}}" data-event-opts="{{[['^change',[['numberChange',['$0','$event'],[[['productList','',index]]]]]]]}}" bind:change="__e" class="data-v-986e5720" bind:__l="__l"></number-box></block></view></view></block><block wx:if="{{isExpired}}"><view class="tip data-v-986e5720">商品已下架</view></block></view></view></view></block></view><block wx:if="{{isNormal&&!isDelete}}"><view class="total data-v-986e5720"><text class="title data-v-986e5720">合计:</text><text class="price data-v-986e5720">{{"¥"+$root.f1}}</text></view></block></block><activi-popup vue-id="755b8ad4-2" product="{{handlerPros}}" popupShow="{{popupShow}}" class="data-v-986e5720" bind:__l="__l"></activi-popup><tui-modal vue-id="755b8ad4-3" show="{{modal}}" content="{{contentModalText}}" color="#333" size="{{32}}" shape="circle" maskClosable="{{false}}" data-event-opts="{{[['^click',[['confirm']]],['^cancel',[['e0']]]]}}" bind:click="__e" bind:cancel="__e" class="data-v-986e5720" bind:__l="__l"></tui-modal><cm-loading vue-id="755b8ad4-4" visible="{{showLoading}}" text="加载中..." class="data-v-986e5720" bind:__l="__l"></cm-loading></view>
|