1 |
- <view class="goodsList"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['tempArr','',index]]]]]]]}}" class="item acea-row row-between-wrapper" bindtap="__e"><view class="pictrue"><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m0}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m1}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m2}}</label></block><image src="{{item.$orig.image}}" mode></image></view><view class="pictxt"><view class="text line2">{{item.$orig.store_name}}</view><view class="bottom acea-row row-between-wrapper"><view class="money font-color"><text class="sign">{{$root.m3}}</text>{{item.$orig.price+''}}</view><block wx:if="{{item.$orig.stock>0}}"><view><block wx:if="{{item.$orig.activity&&(item.$orig.activity.type==='1'||item.$orig.activity.type==='2'||item.$orig.activity.type==='3')}}"><view class="iconfont icon-gouwuche6 acea-row row-center-wrapper"></view></block><block wx:else><view><block wx:if="{{item.$orig.spec_type}}"><view data-event-opts="{{[['tap',[['goCartDuo',['$0'],[[['tempArr','',index]]]]]]]}}" class="bnt acea-row row-center-wrapper" catchtap="__e">{{''+item.m4+''}}<block wx:if="{{isLogin&&item.$orig.cart_num}}"><text class="num">{{item.$orig.cart_num}}</text></block></view></block><block wx:if="{{!item.$orig.spec_type&&!item.$orig.cart_num}}"><view data-event-opts="{{[['tap',[['goCartDan',['$0',index],[[['tempArr','',index]]]]]]]}}" class="iconfont icon-gouwuche6 acea-row row-center-wrapper" catchtap="__e"></view></block><block wx:if="{{!item.$orig.spec_type&&item.$orig.cart_num}}"><view class="cart acea-row row-middle"><view data-event-opts="{{[['tap',[['CartNumDes',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jianhao acea-row row-center-wrapper" catchtap="__e"></view><view class="num">{{item.$orig.cart_num}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jiahao acea-row row-center-wrapper" catchtap="__e"></view></view></block></view></block></view></block><block wx:else><view class="bnt acea-row row-center-wrapper end">{{item.m5}}</view></block></view></view></view></block></view>
|