|
|
<view style="{{'padding-top:'+(top+'px')+';'}}"><scroll-view class="find-list" style="{{'height:'+(height-top+'px')+';'}}" scroll-y="{{true}}" enable-back-to-top="{{true}}" enable-flex="true" data-event-opts="{{[['scrolltoupper',[['handleUpper',['$event']]]],['scrolltolower',[['handleLower',['$event']]]]]}}" bindscrolltoupper="__e" bindscrolltolower="__e"><block wx:for="{{$root.l3}}" wx:for-item="find" wx:for-index="index" wx:key="id"><view class="bg-white margin-top-sm margin-lr-bj radius-bock padding-lr-bj padding-top-bj"><view class="flex-direction justify-between align-center"><block wx:if="{{find.$orig.shop}}"><view class="flex-direction align-center"><image class="shop-avatar round margin-right-sm" lazy-load="{{true}}" src="{{find.m0}}" data-event-opts="{{[['tap',[['handleShop',['$0'],[[['dataList','id',find.$orig.id,'shop.id']]]]]]]}}" bindtap="__e"></image><view><view class="flex-direction align-center"><view data-event-opts="{{[['tap',[['handleShop',['$0'],[[['dataList','id',find.$orig.id,'shop.id']]]]]]]}}" class="margin-right-bj flex-direction align-center" bindtap="__e"><text class="text-df text-gray-dark">{{find.$orig.shop.shopname}}</text></view></view><view><text class="text-gray-light text-xs">{{find.m1}}</text></view></view></view></block><block wx:else><view class="flex-direction align-center"><image class="shop-avatar round margin-right-sm" lazy-load="{{true}}" src="{{find.m2}}" data-event-opts="{{[['tap',[['handleFollow',[index]]]]]}}" bindtap="__e"></image><view><view class="flex-direction align-center"><view data-event-opts="{{[['tap',[['handleFollow',[index]]]]]}}" class="margin-right-bj" bindtap="__e"><text class="text-df text-gray-dark">{{find.$orig.user.nickname}}</text></view></view><view><text class="text-gray-light text-xs">{{find.m3}}</text></view></view></view></block><view class="flex-direction align-center"><block wx:if="{{find.$orig.isFollow===1}}"><view data-event-opts="{{[['tap',[['handleFollow',[index,'$0'],[[['dataList','id',find.$orig.id,'shop']]]]]]]}}" class="find-button flex-direction align-center justify-center radius-bock padding-lr-sm" bindtap="__e"><text class="icon text-df text-black margin-right-xs"></text><text class="text-df text-black">取关</text></view></block><block wx:else><view data-event-opts="{{[['tap',[['handleFollow',[index,'$0'],[[['dataList','id',find.$orig.id,'shop']]]]]]]}}" class="find-button flex-direction align-center justify-center radius-bock padding-lr-sm" bindtap="__e"><text class="icon text-df text-black margin-right-xs"></text><text class="text-df text-black">关注</text></view></block><block wx:if="{{find.$orig.shop}}"><view data-event-opts="{{[['tap',[['handleShop',['$0'],[[['dataList','id',find.$orig.id,'shop.id']]]]]]]}}" class="find-button-radius margin-left-bj align-center justify-center radius-circular" bindtap="__e"><text class="icon text-df text-black"></text></view></block></view></view><view data-event-opts="{{[['tap',[['handleFind',['$0'],[[['dataList','id',find.$orig.id]]]]]]]}}" class="find-list-item-content margin-tb-bj flex-direction align-center" bindtap="__e"><view class="{{['tag',typeList[find.$orig.type]]}}"><text class="tag-text">{{find.$orig.type_text}}</text></view><text class="text-df text-lines-2 text-gray-dark">{{find.m4}}</text></view><block wx:if="{{find.$orig.type=='live'}}"><view data-event-opts="{{[['tap',[['handleFind',['$0'],[[['dataList','id',find.$orig.id]]]]]]]}}" class="flex-direction justify-between" style="{{'width:'+(width+'px')+';'}}" bindtap="__e"><view class="live-cover align-center justify-center position-relative overflow-hidden flex-twice margin-right-s"><view class="live-cover-bg position-center"><image src="{{find.m5}}" mode="aspectFill"></image></view><view class="live-cover-main position-center align-center justify-center"><view class="live-cover-paly round align-center justify-center"><block wx:if="{{find.$orig.live.state==1}}"><text class="icon text-white text-xxxl"></text></block><block wx:else><text class="icon text-white text-xxxl"></text></block></view><block wx:if="{{find.$orig.live.state==1}}"><view class="live-cover-people position-absolute flex-direction align-center"><view class="tag"><text class="icon tag-icon"></text><text class="tag-text">直播</text></view><text class="text-white text-sm">{{find.$orig.live.views+" 在看"}}</text></view></block><block wx:else><view class="live-cover-people position-absolute flex-direction align-center"><view class="tag wanl-bg-grey"><text class="icon tag-icon"></text><text class="tag-text">回放</text></view><text class="text-white text-sm">{{find.$orig.live.views+" 在看"}}</text></view></block><block wx:if="{{find.$orig.live.state==1}}"><view class="live-cover-fabulous position-absolute align-center"><view class="live-cover-tag round bg-orange justify-center align-center margin-bottom-xs"><text class="icon text-lg text-white"></text></view><view class="live-cover-num"><text class="text-white text-xs">{{find.$orig.live.like}}</text></view></view></block></view></view><view class="flex-sub" style="width:0;"><block wx:if="{{find.g0>=2}}"><view data-event-opts="{{[['tap',[['previewImage',['$0',1],[[['dataList','id',find.$orig.id,'images']]]]]]]}}" class="live-goods-item" style="margin-bottom:4rpx;" bindtap="__e"><image src="{{find.m6}}" mode="aspectFill"></image></view></block><block wx:if="{{find.g1>=3}}"><view data-event-opts="{{[['tap',[['previewImage',['$0',2],[[['dataList','id',find.$orig.id,'images']]]]]]]}}" class="live-goods-item" bindtap="__e"><image src="{{find.m7}}" mode="aspectFill"></image></view></block></view></view></block><block wx:else><view class="overflow-hidden radius flex-wrap flex-direction radius-bock" style="{{'width:'+(width+'px')+';'}}"><block wx:if="{{find.g2==1}}"><view data-event-opts="{{[['tap',[['previewImage',['$0',0],[[['dataList','id',find.$orig.id,'images']]]]]]]}}" class="find-list-item-container-item" style="{{'width:'+(width*0.66+'px')+';'}}" bindtap="__e"><image class="radius-bock" style="{{'width:'+(width*0.66+'px')+';'}}" lazy-load="{{true}}" src="{{find.m8}}" mode="aspectFill"></image></view></block><block wx:else><block wx:if="{{find.g3==3}}"><view class="flex-direction justify-between" style="{{'width:'+(width+'px')+';'}}"><view data-event-opts="{{[['tap',[['previewImage',['$0',0],[[['dataList','id',find.$orig.id,'images']]]]]]]}}" class="live-cover align-center justify-center position-relative overflow-hidden flex-twice margin-right-s" bindtap="__e"><image lazy-load="{{true}}" src="{{find.m9}}" mode="aspectFill"></image></view><view class="flex-sub" style="width:0;"><block wx:if="{{find.g4>=2}}"><view data-event-opts="{{[['tap',[['previewImage',['$0',1],[[['dataList','id',find.$orig.id,'images']]]]]]]}}" class="live-goods-item" style="margin-bottom:4rpx;" bindtap="__e"><image lazy-load="{{true}}" src="{{find.m10}}" mode="aspectFill"></image></view></block><block wx:if="{{find.g5==3}}"><view data-event-opts="{{[['tap',[['previewImage',['$0',2],[[['dataList','id',find.$orig.id,'images']]]]]]]}}" class="live-goods-item" bindtap="__e"><image lazy-load="{{true}}" src="{{find.m11}}" mode="aspectFill"></image></view></block></view></view></block><block wx:else><block wx:if="{{find.g6%2==1}}"><block wx:for="{{find.l0}}" wx:for-item="img" wx:for-index="kes" wx:key="kes"><view data-event-opts="{{[['tap',[['previewImage',['$0',kes],[[['dataList','id',find.$orig.id,'images']]]]]]]}}" class="find-list-item-container-item" style="{{'width:'+((width-6)/3+'px')+';'+('height:'+((width-6)/3+'px')+';')}}" bindtap="__e"><image lazy-load="{{true}}" src="{{img.m12}}" mode="aspectFill"></image></view></block></block><block wx:else><block wx:for="{{find.l1}}" wx:for-item="img" wx:for-index="kes" wx:key="kes"><view data-event-opts="{{[['tap',[['previewImage',['$0',kes],[[['dataList','id',find.$orig.id,'images']]]]]]]}}" class="find-list-item-container-item" style="{{'width:'+((width-4)/2+'px')+';'+('height:'+((width-4)/2+'px')+';')}}" bindtap="__e"><image lazy-load="{{true}}" src="{{img.m13}}" mode="aspectFill"></image></view></block></block></block></block></view></block><block wx:if="{{find.g7>0}}"><scroll-view class="find-list-item-goods margin-top-bj flex-direction" style="{{'width:'+(width+'px')+';'}}" enable-flex="true" scroll-x="{{true}}" show-scrollbar="{{false}}"><block wx:for="{{find.l2}}" wx:for-item="goods" wx:for-index="sub" wx:key="id"><view data-event-opts="{{[['tap',[['handleGoods',['$0'],[[['dataList','id',find.$orig.id],['goods','id',goods.$orig.id,'id']]]]]]]}}" class="find-list-item-goods-item overflow-hidden align-center flex-direction justify-between" style="{{'width:'+(goods.g8==1?width:width*0.7+'px')+';'}}" bindtap="__e"><image class="find-list-item-goods-item-img margin-right-sm" lazy-load="{{true}}" src="{{goods.m14}}"></image><view class="flex-sub" style="width:0;"><text class="find-list-item-goods-item-content-title-text text-df">{{goods.$orig.title}}</text><text class="text-sm text-orange">{{"¥"+goods.$orig.price}}</text></view><view class="find-list-item-goods-item-icon align-center"><text class="icon text-sm text-gray"></text></view></view></block></scroll-view></block><view class="padding-top-bj padding-bottom-bj flex-direction justify-between align-center"><view data-event-opts="{{[['tap',[['handleFind',['$0'],[[['dataList','id',find.$orig.id]]]]]]]}}" class="find-list-item-foot-read" bindtap="__e"><block wx:if="{{find.$orig.type=='live'}}"><text class="text-gray text-sm">{{find.$orig.live.views+" 阅读"}}</text></block><block wx:else><text class="text-gray text-sm">{{find.$orig.views+" 阅读"}}</text></block></view><view class="find-list-item-foot-fabulous flex-direction align-center"><view data-event-opts="{{[['tap',[['handleLike',[index]]]]]}}" class="flex-direction align-center" bindtap="__e"><text class="{{['icon','text-sm','margin-right-xs',find.$orig.isLike===1?'text-orange':'text-gray']}}"></text><text class="{{['text-sm',find.$orig.isLike===1?'text-orange':'text-gray']}}">{{find.$orig.likes}}</text></view><block wx:if="{{isComment==='Y'}}"><view data-event-opts="{{[['tap',[['handleFind',['$0','comments'],[[['dataList','id',find.$orig.id]]]]]]]}}" class="flex-direction align-center margin-left-bj" bindtap="__e"><text class="icon text-sm margin-right-xs text-gray"></text><text class="text-sm text-gray">{{find.$orig.comments}}</text></view></block></view></view><block wx:if="{{find.$orig.newGoods>0}}"><view data-event-opts="{{[['tap',[['handleShop',['$0'],[[['dataList','id',find.$orig.id,'shop.id']]]]]]]}}" class="find-list-item-new align-center padding-tb-bj" bindtap="__e"><view class="flex-direction align-center"><text class="text-df text-orange">{{"进店查看 "+find.$orig.newGoods+" 件新品"}}</text><text class="icon text-df text-orange margin-left-xs"></text></view></view></block></view></block><uni-load-more vue-id="724161ed-1" status="{{status}}" content-text="{{contentText}}" bind:__l="__l"></uni-load-more></scroll-view></view> |