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

4 months ago
<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 cl