guest.wxml 4.0 KB

1
  1. <view class="container data-v-8c079038"><view class="topnav flex-between data-v-8c079038" style="{{'height:'+(topbarOffsetHeight-statusBarHeight+'px')+';'+('padding-top:'+(statusBarHeight+'px')+';')}}" id="topnav"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="nav-item flex-center data-v-8c079038" bindtap="__e"><image class="nav-img data-v-8c079038" src="{{assetsUrl+'back.png'}}" mode="widthFix"></image></view><view class="nav-text font32 fw600 data-v-8c079038">{{''+pageName+''}}</view><view class="nav-item data-v-8c079038"></view></view><block wx:if="{{scrollHeight>0}}"><scroll-view style="{{'height:'+(scrollHeight+'px')+';'+('padding-top:'+(topNavHeight+'px')+';')}}" scroll-y="true" lower-threshold="200" refresher-enabled="true" refresher-triggered="{{scrollTriggered}}" refresher-threshold="{{45}}" refresher-default-style="white" refresher-background="#151126" data-event-opts="{{[['refresherrefresh',[['scrollRefresh',['$event']]]],['refresherpulling',[['scrollPulling',['$event']]]],['refresherrestore',[['scrollRestore',['$event']]]],['refresherabort',[['scrollAbort',['$event']]]],['scrolltolower',[['scrollToBottom',['$event']]]]]}}" bindrefresherrefresh="__e" bindrefresherpulling="__e" bindrefresherrestore="__e" bindrefresherabort="__e" bindscrolltolower="__e" class="data-v-8c079038"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['listData','',index,'id']]]]]]]}}" class="list-item flex-start data-v-8c079038" bindtap="__e"><view class="list-head-box data-v-8c079038"><image class="list-head-img data-v-8c079038" src="{{item.iconThumbnail}}" mode="aspectFill"></image><block wx:if="{{item.lastActiveTime<=30}}"><view class="list-head-dot data-v-8c079038" style="background-color:#38E825;"></view></block><block wx:else><block wx:if="{{item.lastActiveTime>30&&item.lastActiveTime<=1440}}"><view class="list-head-dot data-v-8c079038" style="background-color:#0ABDEF;"></view></block></block></view><view class="list-info-box data-v-8c079038"><view class="name-box flex-between data-v-8c079038"><view class="name flex-start data-v-8c079038"><view class="name-text font28 fw600 data-v-8c079038">{{''+item.nick+''}}</view><block wx:if="{{item.vip}}"><image class="name-img data-v-8c079038" src="{{assetsUrl+'friends-vip.png'}}" mode="aspectFill"></image></block><block wx:if="{{item.goddess}}"><image class="name-img-godness data-v-8c079038" src="{{assetsUrl+'friends-godness.png'}}" mode="aspectFill"></image></block><block wx:else><block wx:if="{{item.realMan}}"><image class="name-img data-v-8c079038" src="{{assetsUrl+'friends-real.png'}}" mode="aspectFill"></image></block></block></view><block wx:if="{{item.distance}}"><view class="distance font22 fw400 data-v-8c079038">{{''+item.distance+''}}</view></block></view><view class="sex-box flex-center data-v-8c079038"><image class="sex-img data-v-8c079038" src="{{assetsUrl+'friends-female.png'}}" mode="aspectFill"></image><view class="el font20 fw500 sex-text data-v-8c079038">{{''+item.ageInfo.age+''}}</view></view><block wx:if="{{item.desc}}"><view class="tip-box font28 fw400 el data-v-8c079038">{{'签名:'+item.desc+''}}</view></block><block wx:else><view class="tip-box font28 fw400 el data-v-8c079038">签名:暂无介绍</view></block></view><block wx:if="{{item.lastNews}}"><view class="img-box flex-between data-v-8c079038"><image class="ib1 data-v-8c079038" src="{{item.lastNews.mediaUrls[0]}}" mode="aspectFill"></image><image class="ib2 data-v-8c079038" src="{{item.lastNews.mediaUrls[1]}}" mode="aspectFill"></image><image class="ib3 data-v-8c079038" src="{{item.lastNews.mediaUrls[2]}}" mode="aspectFill"></image></view></block></view></block><block wx:if="{{showNoData}}"><status vue-id="cc28195e-1" type="noData" text="暂无数据" class="data-v-8c079038" bind:__l="__l"></status></block><block wx:if="{{listData.length!==0&&listData.length>=scrollTotal}}"><view class="no-more font24 fw400 data-v-8c079038">没有更多了</view></block></scroll-view></block></view>