style-seven.wxml 1.7 KB

1
  1. <view class="style-seven dir-left-nowrap data-v-415687c2"><app-category-list vue-id="660db464-1" list="{{list}}" noSetHeight="{{setHeight+'rpx'}}" data-event-opts="{{[['^click',[['active']]]]}}" bind:click="__e" class="data-v-415687c2" bind:__l="__l"></app-category-list><scroll-view class="right data-v-415687c2" style="{{'height:'+(setHeight+'rpx')+';'}}" scroll-y="{{true}}"><block wx:if="{{list[activeIndex].advert_pic}}"><image class="advert_pic data-v-415687c2" src="{{list[activeIndex].advert_pic}}" data-event-opts="{{[['tap',[['route_advert',['$0'],['list.'+activeIndex+'']]]]]}}" bindtap="__e"></image></block><block wx:for="{{list[activeIndex].child}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item data-v-415687c2"><view data-event-opts="{{[['tap',[['route_go',['$0'],[[['list.'+activeIndex+'.child','',key,'page_url']]]]]]]}}" class="top dir-left-nowrap main-between data-v-415687c2" bindtap="__e"><text class="name t-omit data-v-415687c2">{{item.name}}</text><view class="icon dir-left-nowrap cross-center data-v-415687c2"><text class="more-text data-v-415687c2">更多</text><view class="icon-pic data-v-415687c2"></view></view></view><block wx:for="{{item.child}}" wx:for-item="a" wx:for-index="i" wx:key="i"><view data-event-opts="{{[['tap',[['getChild',[key,i]]]]]}}" class="item-child dir-top-nowrap data-v-415687c2" bindtap="__e"><image class="pic_url data-v-415687c2" src="{{a.pic_url}}"></image><text class="text t-omit data-v-415687c2">{{a.name}}</text></view></block></view></block><block wx:if="{{list[activeIndex].child.length===0&&list.length!==0}}"><app-no-goods vue-id="660db464-2" title="该分类下无相关内容哦~" class="data-v-415687c2" bind:__l="__l"></app-no-goods></block></scroll-view></view>