| 1 |
- <view class="app-main app-content _div data-v-7f0016b2"><scroll-view class="tab-view data-v-7f0016b2" style="{{'height:'+(height+'px')+';'}}" scroll-y scroll-with-animation scroll-top="{{scrollTop}}"><block wx:for="{{tabbar}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['tab-bar-item _div data-v-7f0016b2',currentTab==index?'active':'']}}" data-current="{{index}}" data-event-opts="{{[['tap',[['swichNav',['$event','$0'],[[['tabbar','',index]]]]]]]}}" catchtap="__e"><text class="data-v-7f0016b2">{{item.categoryName}}</text></view></block></scroll-view><block wx:for="{{tabbar}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-7f0016b2"><block wx:if="{{currentTab==index}}"><scroll-view class="right-box data-v-7f0016b2" style="{{'height:'+(height+'px')+';'}}" scroll-y><block wx:if="{{!$root.g0}}"><view class="page-view _div data-v-7f0016b2"><block wx:for="{{list.data}}" wx:for-item="items" wx:for-index="subIndex" wx:key="id"><view data-event-opts="{{[['tap',[['pageTo',['/pages/goods/detail?id='+items.id]]]]]}}" class="goods-list _div data-v-7f0016b2" bindtap="__e"><view class="img-blo _div data-v-7f0016b2"><app-img vue-id="{{'1-'+index+'-'+subIndex}}" src="{{items.smallImgList[0]}}" alt="商品图" mode="aspectFit" height="{{200}}" class="data-v-7f0016b2" bind:__l="__l"></app-img></view><view class="goods-det _div data-v-7f0016b2"><view class="goods-det-top _div data-v-7f0016b2"><view class="goods-name _div data-v-7f0016b2">{{items.goodsName}}</view><view class="goods-sales _div data-v-7f0016b2">{{"已售"+items.sold}}</view></view><view class="goods-price _div data-v-7f0016b2">{{"¥"+items.price}}</view></view></view></block></view></block><block wx:else><block class="data-v-7f0016b2"><app-wrapper-empty vue-id="{{'2-'+index}}" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-7f0016b2" bind:__l="__l"></app-wrapper-empty></block></block></scroll-view></block></block></block></view>
|