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
4.4 KiB
1 lines
4.4 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></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.g3+')')+';'}}">{{''+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.g4}}" mode="aspectFill"></image></swiper-item></block></swiper><view class="indicator">{{data.current+1+"/"+$root.g5}}</view></view><scroll-view class="{{['scroll-view','padding-top-bj','padding-left-bj',$root.g6==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.g7==1?'col-1':'']}}" bindtap="__e"><view class="img"><image src="{{goods.g8}}"></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.g9+')')+';'}}"></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="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="id"><block wx:if="{{item.type!='activity'}}"><view class="wanl-find bg-white solid-top"></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-2" 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-3" status="{{status}}" content-text="{{contentText}}" bind:__l="__l"></uni-load-more><view class="edgeInsetBottom"></view></view> |