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.2 KiB
1 lines
3.2 KiB
<view class="collect-container"><view class="collect-container__head bg-white" style="{{'height:'+(headHeight+'px')+';'}}"><view style="{{'height:'+(headHeight+'px')+';'+('padding-top:'+(headTop+'px')+';')}}"><view class="navigater flex align-center justify-between"><view data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="back" style="{{'height:'+(headHeight+'px')+';'+('line-height:'+(headHeight+'px')+';')}}" bindtap="__e"><text class="wlIcon-fanhui1"></text></view><scroll-view class="nav text-center" scroll-x="{{true}}"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleSelect',['$0',index],[[['navList','',index,'type']]]]]]]}}" class="{{['cu-item','flex-sub',currentItemId===item.type?'text-orange cur':'']}}" bindtap="__e"><text class="text-30">{{item.type_text}}</text></view></block></scroll-view></view></view></view><swiper class="collect-container__main" style="{{'height:'+(windowHeight+'px')+';'}}" current-item-id="{{currentItemId}}" data-event-opts="{{[['change',[['changeCurrent',['$event']]]],['animationfinish',[['animationFinish',['$event']]]]]}}" bindchange="__e" bindanimationfinish="__e"><block wx:for="{{$root.l1}}" wx:for-item="data" wx:for-index="keys" wx:key="keys"><swiper-item item-id="{{data.$orig.type}}"><block wx:if="{{data.g0}}"><wanl-empty vue-id="{{'4b96dc07-1-'+keys}}" text="你还没有任何收藏" src="collect_default3x" bind:__l="__l"></wanl-empty></block><scroll-view class="content" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadData',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{data.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleGoods',['$0'],[[['navList','',keys],['dataList','',index,'id']]]]]]]}}" class="item margin-bj padding-sm bg-white radius-bock" bindtap="__e"><view class="cu-avatar margin-right-bj radius" style="{{'background-image:'+('url('+item.g1+')')+';'}}"></view><view class="subject"><view class="text-sm wanl-gray-dark text-cut-2"><block wx:if="{{currentItemId==='groups'}}"><view class="cu-tag sm bg-gradual-red radius margin-right-xs">{{''+(item.$orig.is_ladder===1?'阶梯':item.$orig.people_num+'人')+'拼团'}}</view></block>{{''+item.$orig.title+''}}</view><view class="text-price text-red text-df">{{''+item.$orig.price+''}}</view><view class="menu"><view class="wanl-gray-light text-sm"><text class="margin-right-sm">{{"喜欢 "+item.$orig.like}}</text><block wx:if="{{currentItemId==='goods'}}"><text>{{"付款 "+item.$orig.payment}}</text></block><block wx:if="{{currentItemId==='groups'}}"><text>已拼团 0 件</text></block></view><view class="button text-bold text-30"><text data-event-opts="{{[['tap',[['loadFollow',['$0',index],[[['navList','',keys],['dataList','',index,'id']]]]]]]}}" class="wlIcon-lajitong" catchtap="__e"></text><text data-event-opts="{{[['tap',[['onShop',['$0'],[[['navList','',keys],['dataList','',index,'shop_id']]]]]]]}}" class="wlIcon-dianpu1" catchtap="__e"></text></view></view></view></view></block><uni-load-more vue-id="{{'4b96dc07-2-'+keys}}" status="{{data.$orig.loadingType}}" content-text="{{contentText}}" bind:__l="__l"></uni-load-more></scroll-view></swiper-item></block></swiper></view> |