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
11 KiB

<view><view class="cu-custom" style="{{'height:'+($root.g0.height+'px')+';'}}"><view class="cu-bar fixed bg-bgcolor" style="{{'height:'+($root.g1.height+'px')+';'+('padding-top:'+($root.g2.top+'px')+';')}}"><view class="action"><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="wlIcon-fanhui1" style="margin-left:0;" bindtap="__e"></text></view><view class="content" style="{{'top:'+($root.g3.top+'px')+';'}}"><block wx:if="{{iShead}}"><view>更多推荐</view></block><block wx:else><view class="userinfo"><block wx:if="{{data.shop}}"><block><view class="cu-avatar round" style="{{'background-image:'+('url('+$root.g4+')')+';'}}"></view><view class="text-cut margin-lr-xs text-sm">{{''+data.shop.shopname+''}}</view></block></block><block wx:else><block><view class="cu-avatar round" style="{{'background-image:'+('url('+$root.g5+')')+';'}}"></view><view class="text-cut margin-lr-xs text-sm">{{''+data.user.nickname+''}}</view></block></block><block wx:if="{{data.isFollow===1}}"><view data-event-opts="{{[['tap',[['handleFollow',['$0'],['data.user_no']]]]]}}" class="cu-tag round bg-white" bindtap="__e"><text class="wlIcon-31guanbi margin-right-xs"></text>取关</view></block><block wx:else><view data-event-opts="{{[['tap',[['handleFollow',['$0'],['data.user_no']]]]]}}" class="cu-tag round bg-orange" bindtap="__e"><text class="wlIcon-31xuanze margin-right-xs"></text>关注</view></block></view></block></view></view></view><view class="wanl-find bg-white" id="main"><block wx:if="{{data.type=='new'}}"><view class="content padding-bj"><view class="flex align-center"><view class="calendar text-center" style="{{'background-image:'+('url('+$root.g6+')')+';'}}">{{''+data.createtime_date+''}}</view><view class="margin-left-xs"><text class="text-bold">今日上新</text></view></view><view class="wanl-gray-dark padding-tb-sm"><rich-text nodes="{{data.content}}"></rich-text></view><wanl-more vue-id="47ce04f3-1" goods="{{data.goods}}" bind:__l="__l"></wanl-more></view></block><block wx:if="{{data.type=='want'||data.type=='show'}}"><view class="content"><view class="swiper-box"><swiper circular="true" autoplay="true" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="swiper" wx:for-index="index" wx:key="index"><swiper-item><image src="{{swiper.g7}}" mode="aspectFill"></image></swiper-item></block></swiper><view class="indicator">{{data.current+1+"/"+$root.g8}}</view></view><scroll-view class="{{['scroll-view','padding-top-bj','padding-left-bj',$root.g9==1?'padding-right-bj':'']}}" scroll-x="true"><block wx:for="{{$root.l1}}" wx:for-item="goods" wx:for-index="sub" wx:key="id"><view data-event-opts="{{[['tap',[['onGoods',['$0'],[[['data.goods','id',goods.$orig.id,'id']]]]]]]}}" class="{{['scroll-view-item','radius-bock',goods.g10==1?'col-1':'']}}" bindtap="__e"><view class="img"><image src="{{goods.g11}}"></image></view><view class="goodsinfo text-cut text-df">{{''+goods.$orig.title+''}}<view class="flex align-center"><text class="text-price text-orange">{{goods.$orig.price}}</text></view></view></view></block></scroll-view><view class="wanl-gray-dark padding-lr-bj padding-top-sm"><rich-text nodes="{{data.content}}"></rich-text></view></view></block><view class="flex justify-between padding-bj align-center"><block wx:if="{{common.appConfig.comment_switch=='Y'}}"><view data-event-opts="{{[['tap',[['handleComments']]]]}}" bindtap="__e"><view class="cu-avatar round sm margin-right-xs" style="{{'background-image:'+('url('+$root.g12+')')+';'}}"></view><text class="text-sm wanl-gray">快来评论吧</text></view></block><block wx:else><view></view></block><view class="flex"><view data-event-opts="{{[['tap',[['handleLike']]]]}}" class="{{[(data.isLike===1)?'wanl-orange':'']}}" bindtap="__e"><text class="{{['margin-right-xs',data.isLike===1?'wlIcon-dianzan1':'wlIcon-dianzan11']}}"></text>{{''+data.likes+''}}</view><block wx:if="{{common.appConfig.comment_switch=='Y'}}"><view data-event-opts="{{[['tap',[['handleComments']]]]}}" class="margin-left" bindtap="__e"><text class="wlIcon-pinglun margin-right-xs"></text>{{''+data.comments+''}}</view></block><view class="margin-left"><text class="wlIcon-yueduliang margin-right-xs"></text>{{''+data.views+''}}</view></view></view></view><block wx:for="{{$root.l5}}" wx:for-item="item" wx:for-index="index" wx:key="id"><block wx:if="{{item.$orig.type!='activity'}}"><view class="wanl-find bg-white solid-top"><view class="userinfo padding-bj"><block wx:if="{{data.shop}}"><view class="avatar"><view data-event-opts="{{[['tap',[['handleUser',['$0'],['data.user_no']]]]]}}" class="cu-avatar round margin-right-bj" style="{{'background-image:'+('url('+item.g13+')')+';'}}" bindtap="__e"></view><view><view><text data-event-opts="{{[['tap',[['handleUser',['$0'],['data.user_no']]]]]}}" class="text-df text-bold5 wanl-black margin-right-bj" bindtap="__e">{{''+data.shop.shopname+''}}</text></view><view class="wanl-gray text-sm">{{''+item.g14+''}}</view></view></view></block><block wx:else><view class="avatar"><view data-event-opts="{{[['tap',[['handleUser',['$0'],['data.user_no']]]]]}}" class="cu-avatar round margin-right-bj" style="{{'background-image:'+('url('+item.g15+')')+';'}}" bindtap="__e"></view><view><view><text data-event-opts="{{[['tap',[['handleUser',['$0'],['data.user_no']]]]]}}" class="text-df text-bold5 wanl-black margin-right-bj" bindtap="__e">{{''+data.user.nickname+''}}</text></view><view class="wanl-gray text-sm">{{''+item.g16+''}}</view></view></view></block><block wx:if="{{data.isFollow===1}}"><view data-event-opts="{{[['tap',[['handleFollow',['$0'],['data.user_no']]]]]}}" class="cu-tag round bg-bgcolor" bindtap="__e"><text class="wlIcon-31guanbi margin-right-xs"></text>取关</view></block><block wx:else><view data-event-opts="{{[['tap',[['handleFollow',['$0'],['data.user_no']]]]]}}" class="cu-tag round bg-orange" bindtap="__e"><text class="wlIcon-31xuanze margin-right-xs"></text>关注</view></block></view><block wx:if="{{item.$orig.type=='new'}}"><view class="content padding-lr-bj"><view class="flex align-center"><view class="calendar text-center" style="{{'background-image:'+('url('+item.g17+')')+';'}}">{{''+item.$orig.createtime_date+''}}</view><view class="margin-left-xs"><text class="text-bold">今日上新</text></view></view><view class="wanl-gray-dark padding-tb-sm"><rich-text nodes="{{item.$orig.content}}"></rich-text></view><wanl-more vue-id="{{'47ce04f3-2-'+index}}" goods="{{item.$orig.goods}}" bind:__l="__l"></wanl-more></view></block><block wx:if="{{item.$orig.type=='video'}}"><view class="content"><view data-event-opts="{{[['tap',[['handleVideo',['$0'],[[['listData','id',item.$orig.id,'id']]]]]]]}}" class="video-item radius-bock" bindtap="__e"><image src="{{item.g18}}" mode="aspectFill"></image><view class="video-item-bg"><view class="video-item-play"><text class="wlIcon-bofang text-center"></text></view></view><view class="video-item-content"><wanl-more vue-id="{{'47ce04f3-3-'+index}}" content="{{item.$orig.content}}" bind:__l="__l"></wanl-more></view></view><scroll-view class="{{['scroll-view','padding-top-bj','padding-left-bj',item.g19==1?'padding-right-bj':'']}}" scroll-x="true"><block wx:for="{{item.l2}}" wx:for-item="goods" wx:for-index="sub" wx:key="id"><view data-event-opts="{{[['tap',[['onGoods',['$0'],[[['listData','id',item.$orig.id],['goods','id',goods.$orig.id,'id']]]]]]]}}" class="{{['scroll-view-item','radius-bock',goods.g20==1?'col-1':'']}}" bindtap="__e"><view class="img"><image src="{{goods.g21}}"></image></view><view class="goodsinfo text-cut text-df">{{''+goods.$orig.title+''}}<view class="flex align-center"><text class="text-price text-orange">{{goods.$orig.price}}</text></view></view></view></block></scroll-view></view></block><block wx:if="{{item.$orig.type=='want'||item.$orig.type=='show'}}"><view class="content"><view class="swiper-box"><swiper circular="true" data-event-opts="{{[['change',[['swiperChange',['$event',index]]]]]}}" bindchange="__e"><block wx:for="{{item.l3}}" wx:for-item="swiper" wx:for-index="key" wx:key="key"><swiper-item><image src="{{swiper.g22}}" mode="aspectFill"></image></swiper-item></block></swiper><view class="indicator">{{item.$orig.current+1+"/"+item.g23}}</view></view><scroll-view class="{{['scroll-view','padding-top-bj','padding-left-bj',item.g24==1?'padding-right-bj':'']}}" scroll-x="true"><block wx:for="{{item.l4}}" wx:for-item="goods" wx:for-index="sub" wx:key="id"><view data-event-opts="{{[['tap',[['onGoods',['$0'],[[['listData','id',item.$orig.id],['goods','id',goods.$orig.id,'id']]]]]]]}}" class="{{['scroll-view-item','radius-bock',goods.g25==1?'col-1':'']}}" bindtap="__e"><view class="img"><image src="{{goods.g26}}"></image></view><view class="goodsinfo text-cut text-df">{{''+goods.$orig.title+''}}<view class="flex align-center"><text class="text-price text-orange">{{goods.$orig.price}}</text></view></view></view></block></scroll-view><view class="wanl-gray-dark padding-lr-bj padding-top-sm"><wanl-more vue-id="{{'47ce04f3-4-'+index}}" content="{{item.$orig.content}}" bind:__l="__l"></wanl-more></view></view></block><view class="flex justify-between padding-bj align-center"><block wx:if="{{common.appConfig.comment_switch=='Y'}}"><view data-event-opts="{{[['tap',[['handleComments',[index]]]]]}}" bindtap="__e"><view class="cu-avatar round sm margin-right-xs" style="{{'background-image:'+('url('+item.g27+')')+';'}}"></view><text class="text-sm wanl-gray">快来评论吧</text></view></block><block wx:else><view></view></block><view class="flex"><view data-event-opts="{{[['tap',[['handleLike',[index]]]]]}}" class="{{[(item.$orig.isLike===1)?'wanl-orange':'']}}" bindtap="__e"><text class="{{['margin-right-xs',item.$orig.isLike===1?'wlIcon-dianzan1':'wlIcon-dianzan11']}}"></text>{{''+item.$orig.likes+''}}</view><block wx:if="{{common.appConfig.comment_switch=='Y'}}"><view data-event-opts="{{[['tap',[['handleComments',[index]]]]]}}" class="margin-left" bindtap="__e"><text class="wlIcon-pinglun margin-right-xs"></text>{{''+item.$orig.comments+''}}</view></block><view class="margin-left"><text class="wlIcon-yueduliang margin-right-xs"></text>{{''+item.$orig.views+''}}</view></view></view></view></block></block><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="WANL-MODAL text-sm" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="{{['cu-modal','bottom-modal',modalName=='comments'?'show':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="cu-dialog" catchtap="__e"><view class="wanl-modal" style="padding-bottom:0;"><view class="head padding-bj"><view class="content"><view class="text-lg">{{"全部评论("+commentData.count+")"}}</view></view></view><view class="text-left padding-lr-bj padding-bottom-bj"><wanl-comment vue-id="47ce04f3-5" findId="{{commentData.find_id}}" commentList="{{commentData.list}}" commenCount="{{commentData.count}}" data-event-opts="{{[['^complete',[['handleComplete']]]]}}" bind:complete="__e" bind:__l="__l"></wanl-comment></view></view></view></view></view><uni-load-more vue-id="47ce04f3-6" status="{{status}}" content-text="{{contentText}}" bind:__l="__l"></uni-load-more><view class="edgeInsetBottom"></view></view>