You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
3.3 KiB

<view class="wanlgroups-container"><view class="wanlgroups-container__head" style="{{'background-size:100% auto;background-repeat:no-repeat;'+('height:'+(headHeight+'px')+';')+('color:'+(common.appStyle.groups_font_color==='light'?'#ffffff':'#333333')+';')+('background-color:'+(common.appStyle.groups_nav_color?common.appStyle.groups_nav_color:'#f7f7f7')+';')+('background-image:'+('url('+$root.g0+')')+';')}}"><view style="{{'height:'+(headHeight+'px')+';'+('padding-top:'+(headTop+'px')+';')}}"><view class="navigater flex align-center justify-between"><view class="flex"><view data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="text-xxl" bindtap="__e"><text class="wlIcon-fanhui1"></text></view></view><view class="search flex align-center margin-lr-sm round"><view class="icon text-df text-bold wanl-gray-dark"><text class="wlIcon-sousuo1"></text></view><swiper vertical="{{true}}" autoplay="{{true}}" circular="{{true}}" interval="3000"><swiper-item data-event-opts="{{[['tap',[['handleSearch',['']]]]]}}" bindtap="__e"><text class="wanl-gray-dark text-cut">搜索 拼团商品、拼团类目</text></swiper-item><block wx:for="{{common.modulesData.searchModules}}" wx:for-item="item" wx:for-index="index" wx:key="keywords"><swiper-item data-event-opts="{{[['tap',[['handleSearch',['$0'],[[['common.modulesData.searchModules','keywords',item.keywords,'keywords']]]]]]]}}" bindtap="__e"><text class="wanl-gray-dark text-cut">{{item.keywords}}</text></swiper-item></block></swiper></view><view class="flex"><view data-event-opts="{{[['tap',[['handleGroupsOrder',['$event']]]]]}}" class="text-xxl" bindtap="__e"><text class="wlIcon-listing-jf"></text></view></view></view><view class="toolbar flex padding-lr-bj align-center"><scroll-view class="scroll" scroll-x="{{true}}" scroll-with-animation="{{true}}" scroll-left="{{scrollLeft}}"><view data-event-opts="{{[['tap',[['handleSelect',['cid0',0]]]]]}}" class="{{['scroll__item',(currentItemId==='cid0')?'action':'']}}" bindtap="__e">全部</view><block wx:for="{{common.modulesData.categoryModules}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view data-event-opts="{{[['tap',[['handleSelect',['cid'+item.id,index+1]]]]]}}" class="{{['scroll__item',(currentItemId==='cid'+item.id)?'action':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></scroll-view></view></view></view><swiper class="wanlgroups-container__main" style="{{'height:'+(windowHeight+'px')+';'}}" current-item-id="{{currentItemId}}" data-event-opts="{{[['change',[['changeCurrent',['$event']]]],['animationfinish',[['animationFinish',['$event']]]]]}}" bindchange="__e" bindanimationfinish="__e"><swiper-item item-id="cid0"><wanl-groups vue-id="0d22bb8a-1" headHeight="{{headHeight}}" windowHeight="{{windowHeight}}" childlist="{{common.modulesData.categoryModules}}" currentItemId="{{currentItemId}}" data-event-opts="{{[['^handleMenu',[['handleMenu']]]]}}" bind:handleMenu="__e" bind:__l="__l"></wanl-groups></swiper-item><block wx:for="{{common.modulesData.categoryModules}}" wx:for-item="item" wx:for-index="index" wx:key="id"><swiper-item item-id="{{'cid'+item.id}}"><wanl-groups vue-id="{{'0d22bb8a-2-'+index}}" headHeight="{{headHeight}}" windowHeight="{{windowHeight}}" childlist="{{common.modulesData.categoryModules[index].childlist}}" itemId="{{item.id}}" currentItemId="{{currentItemId}}" bind:__l="__l"></wanl-groups></swiper-item></block></swiper></view>