<view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="product-list"><view data-event-opts="{{[['tap',[['onDetail',['$0'],[[['list','id',item.$orig.id,'id']]]]]]]}}" class="product-box" bindtap="__e"><view class="left"><view class="img-box"><block wx:if="{{item.g0}}"><image class="image" mode="aspectFill" src="{{item.$orig.imageUrl[0]}}"></image></block><block wx:else><image class="image" mode="aspectFill" src="/static/none.jpg"></image></block><view class="type">{{item.$orig.deliveryWayName}}</view></view><view class="detail"><view class="name">{{item.$orig.name+"("+item.$orig.availableCount+item.$orig.unit+")"}}</view><view class="text">{{item.$orig.productVo.brandNumber+"/"+item.$orig.productVo.manufacturer+"/"+item.$orig.productVo.varieties}}</view></view></view><view class="right"><text class="price">{{item.f0}}</text><block wx:if="{{item.$orig.priceStr!=='注册可见'}}"><text class="unit">{{"元/"+item.$orig.productVo.unit}}</text></block></view></view><view class="btn-box"><view data-event-opts="{{[['tap',[['addCart',['$0'],[[['list','id',item.$orig.id]]]]]]]}}" class="{{['cart',item.$orig.availableCount>0&&item.$orig.isInvalid=='F'&&item.$orig.priceStr?'valid':'disabled']}}" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['buyNow',['$0'],[[['list','id',item.$orig.id]]]]]]]}}" class="{{['buy',item.$orig.availableCount>0&&item.$orig.isInvalid=='F'&&item.$orig.priceStr?'valid':'disabled']}}" bindtap="__e">立即购买</view></view></view></block></view>