You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.9 KiB
1 lines
2.9 KiB
<view class="goodsList"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['tempArr','id',item.$orig.id]]]]]]]}}" class="item acea-row" bindtap="__e"><view class="pictrue"><image src="{{item.$orig.image}}" mode="aspectFit"></image></view><view class="pictxt acea-row row-column"><view class="text line1">{{item.$orig.store_name}}</view><view class="acea-row label-wrap"><block wx:for="{{item.$orig.store_label}}" wx:for-item="label" wx:for-index="__i0__" wx:key="id"><base-tag vue-id="{{'3a7b5b5a-1-'+index+'-'+__i0__}}" text="{{label.label_name}}" color="{{label.color}}" borderColor="{{label.border_color}}" background="{{label.bg_color}}" circle="{{!!label.border_color}}" imgSrc="{{label.icon}}" bind:__l="__l"></base-tag></block></view><view class="bottom acea-row row-between-wrapper"><base-money vue-id="{{'3a7b5b5a-2-'+index}}" money="{{item.$orig.price}}" symbolSize="28" integerSize="44" decimalSize="28" bind:__l="__l"></base-money><block wx:if="{{item.$orig.stock>0}}"><block wx:if="{{item.g0}}"><view class="btn-box"><text class="iconfont icon-ic_ShoppingCart1"></text></view></block><block wx:else><block wx:if="{{item.$orig.spec_type}}"><uni-badge class="uni-badge-left-margin" vue-id="{{'3a7b5b5a-3-'+index}}" text="{{item.$orig.cart_num}}" absolute="rightTop" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['goCartDuo',['$0'],[[['tempArr','id',item.$orig.id]]]]]]]}}" class="btn-box" catchtap="__e"><text class="iconfont icon-ic_ShoppingCart1"></text></view></uni-badge></block><block wx:else><block wx:if="{{item.$orig.cart_num}}"><view class="cart acea-row"><view data-event-opts="{{[['tap',[['CartNumDes',[index,'$0'],[[['tempArr','id',item.$orig.id]]]]]]]}}" class="btn acea-row row-center-wrapper" catchtap="__e"><text class="iconfont icon-ic_Reduce"></text></view><view class="num">{{item.$orig.cart_num}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',[index,'$0'],[[['tempArr','id',item.$orig.id]]]]]]]}}" class="btn acea-row row-center-wrapper" catchtap="__e"><text class="iconfont icon-ic_increase"></text></view></view></block><block wx:else><view><block wx:if="{{item.$orig.cart_button}}"><view><block wx:if="{{item.$orig.is_presale_product&&(item.$orig.presale_pay_status==1||item.$orig.presale_pay_status==3)}}"><view class="bnt acea-row row-center-wrapper end">{{''+(item.$orig.presale_pay_status===1?'未开始':'已结束')+''}}</view></block><block wx:else><view data-event-opts="{{[['tap',[['goCartDan',['$0',index],[[['tempArr','id',item.$orig.id]]]]]]]}}" class="btn-box acea-row row-center-wrapper" catchtap="__e"><text class="iconfont icon-ic_ShoppingCart1"></text></view></block></view></block><block wx:else><view class="bnt acea-row row-center-wrapper">立即购买</view></block></view></block></block></block></block><block wx:else><view class="bnt acea-row row-center-wrapper end">已售罄</view></block></view></view></view></block></view> |