user.wxml 12 KB

1
  1. <view data-ref="container" class="container data-v-7cc5a910 vue-ref"><block wx:if="{{!cover.isFullScreen}}"><view class="topnav flex-start data-v-7cc5a910" style="{{'height:'+(topbarOffsetHeight-statusBarHeight+'px')+';'+('padding-top:'+(statusBarHeight+'px')+';')+('background-color:'+('rgba(21, 17, 38,'+topNavAlpha+')')+';')}}" id="topnav"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="nav-item data-v-7cc5a910" bindtap="__e"><image class="nav-img data-v-7cc5a910" src="{{assetsUrl+'back.png'}}" mode="widthFix"></image></view></view></block><uni-popup vue-id="7b4cc370-1" type="center" data-ref="popup" class="data-v-7cc5a910 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><popup vue-id="{{('7b4cc370-2')+','+('7b4cc370-1')}}" content1="{{popup.content1}}" content2="{{popup.content2}}" tip1="{{popup.tip1}}" tip2="{{popup.tip2}}" btntext="{{popup.btntext}}" btnEvent="toService" data-event-opts="{{[['^closePopup',[['closePopup']]],['^toService',[['toService']]]]}}" bind:closePopup="__e" bind:toService="__e" class="data-v-7cc5a910" bind:__l="__l"></popup></uni-popup><uni-popup vue-id="7b4cc370-3" type="center" data-ref="vippopup" class="data-v-7cc5a910 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><vip-popup vue-id="{{('7b4cc370-4')+','+('7b4cc370-3')}}" swiperIndex="{{vipPopupIndex}}" data-event-opts="{{[['^closePopup',[['closeVipPopup']]]]}}" bind:closePopup="__e" class="data-v-7cc5a910" bind:__l="__l"></vip-popup></uni-popup><uni-popup vue-id="7b4cc370-5" type="bottom" safe-area="{{false}}" data-ref="paypopup" class="data-v-7cc5a910 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><pay-popup vue-id="{{('7b4cc370-6')+','+('7b4cc370-5')}}" swiperIndex="{{payPopupIndex}}" data-event-opts="{{[['^closePopup',[['closePayPopup']]]]}}" bind:closePopup="__e" class="data-v-7cc5a910" bind:__l="__l"></pay-popup></uni-popup><view data-event-opts="{{[['tap',[['videoAction',['$event']]]]]}}" class="video-box data-v-7cc5a910" style="{{'height:'+(''+(cover.isFullScreen?'100vh':'680rpx'))+';'+('position:'+(''+(cover.isFullScreen?'fixed':'relative'))+';')}}" bindtap="__e"><block wx:if="{{cover.cate==='video'}}"><video class="m-video data-v-7cc5a910" style="{{'height:'+(''+(cover.isFullScreen?'100vh':'680rpx'))+';'+('position:'+(''+(cover.isFullScreen?'fixed':'relative'))+';')}}" src="{{cover.url}}" autoplay="{{true}}" loop="{{true}}" controls="{{false}}" object-fit="cover" enable-progress-gesture="{{false}}" data-event-opts="{{[['touchstart',[['touchStart',['$event']]]],['touchend',[['touchEnd',['$event']]]]]}}" muted="{{true}}" bindtouchstart="__e" bindtouchend="__e"><block wx:if="{{!cover.isFullScreen}}"><view class="video-inner flex-center data-v-7cc5a910"><view class="head-box data-v-7cc5a910"><image class="head-img data-v-7cc5a910" src="{{userInfo.iconThumbnail}}" mode="aspectFill"></image><block wx:if="{{userInfo.lastActiveTime<=30}}"><view class="head-active data-v-7cc5a910" style="background-color:#38E825;"></view></block><block wx:else><block wx:if="{{userInfo.lastActiveTime>30&&userInfo.lastActiveTime<=1440}}"><view class="head-active data-v-7cc5a910" style="background-color:#0ABDEF;"></view></block></block></view><view class="name-box flex-center data-v-7cc5a910"><view class="name fw600 font44 data-v-7cc5a910">{{''+userInfo.nick+''}}</view></view><view class="age-box fw600 font28 data-v-7cc5a910">{{''+userInfo.ageInfo.age+"岁 丨 "+userInfo.career+''}}</view><view class="city-box flex-center data-v-7cc5a910"><image class="city-pos data-v-7cc5a910" src="{{assetsUrl+'user-pos.png'}}" mode="aspectFit"></image><view class="city font24 fw500 data-v-7cc5a910">{{''+userInfo.currCity}}<block wx:if="{{userInfo.distance&&userInfo.distance!=='NaNm'}}"><text class="data-v-7cc5a910">{{'· '+userInfo.distance}}</text></block></view></view><block wx:if="{{likeNum>0}}"><view data-event-opts="{{[['tap',[['likeAction',['$event']]]]]}}" class="video-edit flex-start data-v-7cc5a910" bindtap="__e"><image class="video-edit-img data-v-7cc5a910" src="{{assetsUrl+'user-heart'+(isLiked?'3':'2')+'.png'}}" mode="aspectFill"></image><view class="video-edit-text font22 fw400 data-v-7cc5a910">{{''+likeNum+''}}</view></view></block></view></block></video></block><block wx:else><view class="m-video data-v-7cc5a910"><block wx:if="{{!cover.isFullScreen}}"><view class="video-inner flex-center data-v-7cc5a910"><view class="head-box data-v-7cc5a910"><image class="head-img data-v-7cc5a910" src="{{userInfo.iconThumbnail}}" mode="aspectFill"></image><block wx:if="{{userInfo.lastActiveTime<=30}}"><view class="head-active data-v-7cc5a910" style="background-color:#38E825;"></view></block><block wx:else><block wx:if="{{userInfo.lastActiveTime>30&&userInfo.lastActiveTime<=1440}}"><view class="head-active data-v-7cc5a910" style="background-color:#0ABDEF;"></view></block></block></view><view class="name-box flex-center data-v-7cc5a910"><view class="name fw600 font44 data-v-7cc5a910">{{''+userInfo.nick+''}}</view></view><view class="age-box fw600 font28 data-v-7cc5a910">{{''+userInfo.ageInfo.age+"岁 丨 "+userInfo.career+''}}</view><view class="city-box flex-center data-v-7cc5a910"><image class="city-pos data-v-7cc5a910" src="{{assetsUrl+'user-pos.png'}}" mode="aspectFit"></image><view class="city font24 fw500 data-v-7cc5a910">{{''+userInfo.currCity}}<block wx:if="{{userInfo.distance&&userInfo.distance!=='NaNm'}}"><text class="data-v-7cc5a910">{{'· '+userInfo.distance}}</text></block></view></view><block wx:if="{{likeNum>0}}"><view data-event-opts="{{[['tap',[['likeAction',['$event']]]]]}}" class="video-edit flex-start data-v-7cc5a910" bindtap="__e"><image class="video-edit-img data-v-7cc5a910" src="{{assetsUrl+'user-heart'+(isLiked?'3':'2')+'.png'}}" mode="aspectFill"></image><view class="video-edit-text font22 fw400 data-v-7cc5a910">{{''+likeNum+''}}</view></view></block></view></block><image class="cover-inner data-v-7cc5a910" src="{{cover.url}}" mode="widthFix"></image><view class="cover-modal data-v-7cc5a910"></view></view></block></view><block wx:if="{{!cover.isFullScreen}}"><view class="info-box data-v-7cc5a910" style="{{'top:'+(''+(cover.isFullScreen?'100vh':'648rpx'))+';'}}"><view class="tag-box flex-start data-v-7cc5a910"><view class="tag flex-center data-v-7cc5a910"><image class="tag-img data-v-7cc5a910" src="{{assetsUrl+'user-height.png'}}" mode="aspectFill"></image><view class="tag-text font28 fw400 data-v-7cc5a910">{{''+userInfo.height+'cm'}}</view></view><view class="tag flex-center data-v-7cc5a910"><image class="tag-img data-v-7cc5a910" src="{{assetsUrl+'user-weight.png'}}" mode="aspectFill"></image><view class="tag-text font28 fw400 data-v-7cc5a910">{{''+userInfo.weight+'kg'}}</view></view><view class="tag flex-center data-v-7cc5a910"><image class="tag-img data-v-7cc5a910" src="{{assetsUrl+'user-constellation.png'}}" mode="aspectFill"></image><view class="tag-text font28 fw400 data-v-7cc5a910">{{''+userInfo.ageInfo.astro+''}}</view></view></view><view class="live-box flex-start data-v-7cc5a910"><view class="live-inner flex-start data-v-7cc5a910"><image class="live-img data-v-7cc5a910" src="{{assetsUrl+'user-city.png'}}" mode="aspectFill"></image><label class="live font28 fw400 _span data-v-7cc5a910">常驻:</label><block wx:for="{{userInfo.cities}}" wx:for-item="item" wx:for-index="index" wx:key="index"><label class="live font28 fw400 _span data-v-7cc5a910">{{item}}</label></block></view></view><block wx:if="{{userInfo.desc}}"><view class="desc-box font28 fw400 data-v-7cc5a910"><image class="desc-img data-v-7cc5a910" src="{{assetsUrl+'user-desc.png'}}" mode="aspectFill"></image>{{''+userInfo.desc+''}}</view></block><view class="tab-box flex-start data-v-7cc5a910"><view data-event-opts="{{[['tap',[['tabClick',[0]]]]]}}" class="tab-item data-v-7cc5a910" bindtap="__e"><view class="tab-item-text fw700 data-v-7cc5a910" style="{{'font-size:'+(''+(tabIndex===0?'44rpx':'36rpx'))+';'+('color:'+(''+(tabIndex===0?'#ffffff':''))+';')+('font-weight:'+(''+(tabIndex===0?'#ffffff':''))+';')}}">{{"关于"+(userInfo.sex==='Famale'?'她':'他')}}</view></view><image class="tab-item-bg data-v-7cc5a910" style="{{'left:'+(tabIndex*195+15+'rpx')+';'}}" src="{{assetsUrl+'friends-circle.png'}}" mode="aspectFill"></image></view><view class="cup-box flex-start data-v-7cc5a910"><block wx:if="{{userInfo.realMan}}"><view class="cup-item flex-center data-v-7cc5a910"><image class="cup-img data-v-7cc5a910" style="width:76rpx;height:40rpx;" src="{{assetsUrl+'friends-real.png'}}" mode="aspectFit"></image><view class="cup-text font24 data-v-7cc5a910">{{''+(userInfo.sex==='Famale'?'她':'他')+'已完成真人认证'}}</view></view></block><block wx:if="{{userInfo.vip}}"><view class="cup-item flex-center data-v-7cc5a910"><image class="cup-img data-v-7cc5a910" style="width:76rpx;height:40rpx;" src="{{assetsUrl+'friends-vip.png'}}" mode="aspectFit"></image><view class="cup-text font24 data-v-7cc5a910">{{''+(userInfo.sex==='Famale'?'她':'他')+'是尊贵的vip用户'}}</view></view></block><block wx:if="{{userInfo.goddess&&userInfo.realMan}}"><view class="cup-item flex-center data-v-7cc5a910"><image class="cup-img data-v-7cc5a910" style="width:76rpx;height:42rpx;" src="{{assetsUrl+'user-charm.png'}}" mode="aspectFit"></image><view class="cup-text font24 data-v-7cc5a910">{{''+(userInfo.sex==='Famale'?'她':'他')+'已完成真人认证且颜值较高'}}</view></view></block><block wx:if="{{!userInfo.realMan}}"><view class="cup-item flex-center data-v-7cc5a910"><image class="cup-img data-v-7cc5a910" style="width:76rpx;height:42rpx;" src="{{assetsUrl+'user-no-real.png'}}" mode="aspectFit"></image><view class="cup-text font24 data-v-7cc5a910">{{''+(userInfo.sex==='Famale'?'她':'他')+'未完成真人认证、交友谨慎'}}</view></view></block></view><view class="photo-album data-v-7cc5a910"><view class="pics-box flex-center data-v-7cc5a910"><block wx:if="{{currentPic.cate==='Img'}}"><image class="big-pic data-v-7cc5a910" src="{{currentPic.url}}" mode="widthFix" data-event-opts="{{[['tap',[['preview',['$event']]]]]}}" bindtap="__e"></image></block><block wx:if="{{currentPic.cate==='Vdo'}}"><video class="big-pic data-v-7cc5a910" style="{{'height:'+(currentPic.height+'px')+';'}}" src="{{currentPic.url}}" autoplay="{{true}}" loop="{{true}}" controls="{{false}}" object-fit="fill" data-event-opts="{{[['tap',[['preview',['$event']]]]]}}" muted="{{true}}" bindtap="__e"></video></block><block wx:if="{{pics.length>1}}"><scroll-view class="pics-list flex-start data-v-7cc5a910" scroll-x="true"><block wx:for="{{pics}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['picItemClick',[index]]]]]}}" class="pic-item flex-center data-v-7cc5a910" bindtap="__e"><image class="{{['pic-img','data-v-7cc5a910',currentIndex===index?'active-item':'']}}" src="{{item.urlThumbnail}}" mode="aspectFill"></image></view></block></scroll-view></block><block wx:if="{{currentPic.authStatus==='Succ'}}"><image class="self data-v-7cc5a910" src="{{assetsUrl+'user-self.png'}}" mode="aspectFill"></image></block></view></view><block wx:if="{{userInfo.hobbysStr.length>0}}"><view class="hopes-box data-v-7cc5a910"><view class="title data-v-7cc5a910">{{''+(userInfo.sex==='Famale'?'她':'他')+'的标签'}}</view><view class="hopes flex-start data-v-7cc5a910"><block wx:for="{{userInfo.hobbysStr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="hopes-item font28 data-v-7cc5a910">{{''+item+''}}</view></block></view></view></block><block wx:if="{{userInfo.hopesStr.length>0}}"><view class="hopes-box data-v-7cc5a910"><view class="title data-v-7cc5a910">{{''+(userInfo.sex==='Famale'?'她':'他')+'喜欢的'}}</view><view class="hopes flex-start data-v-7cc5a910"><block wx:for="{{userInfo.hopesStr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="hopes-item font28 data-v-7cc5a910">{{''+item+''}}</view></block></view></view></block></view></block><view class="btn-box flex-between data-v-7cc5a910"><view data-event-opts="{{[['tap',[['toTalk',['$event']]]]]}}" class="talk-btn flex-center data-v-7cc5a910" style="{{'width:'+(''+(isLiked?'100%':'320rpx'))+';'}}" bindtap="__e"><image class="btn-icon data-v-7cc5a910" src="{{assetsUrl+'user-talk.png'}}" mode="aspectFit"></image><text class="btn-text font32 fw600 data-v-7cc5a910">聊一聊</text></view><block wx:if="{{!isLiked}}"><view data-event-opts="{{[['tap',[['likeAction',['$event']]]]]}}" class="like-btn flex-center data-v-7cc5a910" style="width:320rpx;" bindtap="__e"><image class="btn-icon data-v-7cc5a910" src="{{assetsUrl+'user-heart1.png'}}" mode="aspectFit"></image><text class="btn-text font32 fw600 data-v-7cc5a910">喜欢TA</text></view></block></view></view>