1 |
- <view class="study"><view class="type-box"><view class="left"><view data-event-opts="{{[['tap',[['handleType',['$0','$1'],['singleType.id','singleType.secondaryImg']]]]]}}" class="type-item" bindtap="__e"><view class="glass" style="{{'--colour:'+(singleType.colour)+';'}}"><view class="title">{{''+singleType.columnName+''}}</view><view class="type">{{''+singleType.columnMsg+''}}</view></view><image class="icon" src="{{singleType.columnImg}}" mode="center"></image></view></view><view class="right"><block wx:for="{{typeList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['handleType',['$0','$1'],[[['typeList','id',item.id,'id']],[['typeList','id',item.id,'secondaryImg']]]]]]]}}" class="type-item" bindtap="__e"><view class="glass" style="{{'--colour:'+(item.colour)+';'}}"><view class="title">{{''+item.columnName+''}}</view><view class="type">{{''+item.columnMsg+''}}</view></view><image class="icon" src="{{item.columnImg}}" mode="center"></image></view></block></view></view><swiper class="swiper" indicator-dots="{{true}}" circular="{{true}}" autoplay="{{true}}" interval="{{3000}}" duration="{{1000}}" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{bannerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><image class="swiper-item" mode src="{{item.bannerImg}}"></image></swiper-item></block></swiper><view class="type-title more-title">互动社区<view data-event-opts="{{[['tap',[['jump',['$event']]]]]}}" class="more-box" bindtap="__e"><view>更多</view><image class="more" src="../static/jiantou-icon.png" mode></image></view></view><scroll-view class="tab-box" enable-flex="{{true}}" scroll-y="{{true}}"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleTab',['$0'],[[['tabList','',index,'value']]]]]]]}}" class="{{['tab',tab==item.value?'active':'']}}" bindtap="__e">{{''+item.label+''}}</view></block></scroll-view><view class="list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i1__" wx:key="tabId"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['communityList','tabId',item.$orig.tabId]]]]]]]}}" class="item" bindtap="__e"><zs-img vue-id="{{'02b607d8-1-'+__i1__}}" src="{{item.$orig.coverImg}}" width="344rpx" height="256rpx" bind:__l="__l"></zs-img><view class="info"><view class="title">{{''+item.$orig.communityTitle+''}}</view><view class="user-info"><image class="head" src="{{item.m0}}" mode></image><view class="user-name">{{''+(item.$orig.publishUser||"官方")+''}}</view></view></view></view></block></view><view class="type-title">精选推荐</view><zs-list class="store-box" vue-id="02b607d8-2" mt="0" status="{{status}}" data-event-opts="{{[['^load',[['loadMore']]]]}}" bind:load="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="left"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goGoodsDetail',['$0'],[[['list','',index,'goodsId']]]]]]]}}" class="store-item" bindtap="__e"><zs-img vue-id="{{('02b607d8-3-'+index)+','+('02b607d8-2')}}" src="{{item.goodsImg}}" width="344rpx" height="256rpx" mode="widthFix" bind:__l="__l"></zs-img><view class="info"><view class="title">{{''+item.goodsName+''}}</view><view class="user-info"><image class="head" src="{{item.logoPath}}"></image><view class="user-name">{{''+item.shopName+''}}</view></view></view></view></block></view><view class="right"><block wx:for="{{list1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goGoodsDetail',['$0'],[[['list1','',index,'goodsId']]]]]]]}}" class="store-item" bindtap="__e"><zs-img vue-id="{{('02b607d8-4-'+index)+','+('02b607d8-2')}}" src="{{item.goodsImg}}" width="344rpx" height="256rpx" mode="widthFix" bind:__l="__l"></zs-img><view class="info"><view class="title">{{''+item.goodsName+''}}</view><view class="user-info"><image class="head" src="{{item.logoPath}}" mode></image><view class="user-name">{{''+item.shopName+''}}</view></view></view></view></block></view></zs-list></view>
|