mine.wxml 10 KB

1
  1. <view class="container data-v-28b3f28f"><block wx:if="{{!cover.isFullScreen}}"><tab-bar vue-id="bae1c640-1" tabIndex="{{tabIndex}}" class="data-v-28b3f28f" bind:__l="__l"></tab-bar></block><uni-popup vue-id="bae1c640-2" type="center" data-ref="popup" class="data-v-28b3f28f vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><popup vue-id="{{('bae1c640-3')+','+('bae1c640-2')}}" 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-28b3f28f" bind:__l="__l"></popup></uni-popup><uni-popup vue-id="bae1c640-4" type="center" data-ref="loginpopup" class="data-v-28b3f28f vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><popup vue-id="{{('bae1c640-5')+','+('bae1c640-4')}}" content1="{{popup.content1}}" content2="{{popup.content2}}" tip1="{{popup.tip1}}" tip2="{{popup.tip2}}" btntext="{{popup.btntext}}" btnEvent="toLogin" data-event-opts="{{[['^closePopup',[['closeLoginPopup']]],['^toLogin',[['toLogin']]]]}}" bind:closePopup="__e" bind:toLogin="__e" class="data-v-28b3f28f" bind:__l="__l"></popup></uni-popup><uni-popup vue-id="bae1c640-6" type="center" data-ref="vippopup" class="data-v-28b3f28f vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><vip-popup vue-id="{{('bae1c640-7')+','+('bae1c640-6')}}" swiperIndex="{{vipPopupIndex}}" data-event-opts="{{[['^closePopup',[['closeVipPopup']]]]}}" bind:closePopup="__e" class="data-v-28b3f28f" bind:__l="__l"></vip-popup></uni-popup><block wx:if="{{!cover.isFullScreen}}"><view class="topnav flex-start data-v-28b3f28f" style="{{'height:'+(topbarOffsetHeight-statusBarHeight+'px')+';'+('padding-top:'+(statusBarHeight+'px')+';')+('background-color:'+('rgba(21, 17, 38,'+topNavAlpha+')')+';')}}" id="topnav"><view data-event-opts="{{[['tap',[['toService',['$event']]]]]}}" class="nav-item data-v-28b3f28f" bindtap="__e"><image class="nav-img data-v-28b3f28f" src="{{assetsUrl+'mine-service.png'}}" mode="widthFix"></image></view><view data-event-opts="{{[['tap',[['toSetting',['$event']]]]]}}" class="nav-item data-v-28b3f28f" bindtap="__e"><image class="nav-img data-v-28b3f28f" src="{{assetsUrl+'mine-setting.png'}}" mode="widthFix"></image></view><view data-event-opts="{{[['tap',[['toEdit',['$event']]]]]}}" class="nav-item nav-edit font20 fw400 data-v-28b3f28f" bindtap="__e">编辑资料</view></view></block><block wx:if="{{scrollHeight>0}}"><scroll-view style="{{'height:'+(scrollHeight+'px')+';'}}" scroll-y="true" data-event-opts="{{[['scroll',[['handleScroll',['$event']]]]]}}" bindscroll="__e" class="data-v-28b3f28f"><view data-event-opts="{{[['tap',[['videoAction',['$event']]]]]}}" class="video-box data-v-28b3f28f" 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-28b3f28f" 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-28b3f28f"><image class="head-img data-v-28b3f28f" src="{{userInfo.iconThumbnail||defaulHead}}" mode="aspectFill"></image><view class="name-box flex-center data-v-28b3f28f"><view class="name fw600 font44 data-v-28b3f28f">{{''+(userInfo.nick||'未登录')+''}}</view><block wx:if="{{userInfo.vip}}"><image class="name-img data-v-28b3f28f" src="{{assetsUrl+'friends-vip.png'}}" mode="aspectFit"></image></block><block wx:else><block wx:if="{{userInfo.goddess}}"><image class="name-img data-v-28b3f28f" src="{{assetsUrl+'friends-godness.png'}}" mode="aspectFit"></image></block><block wx:else><block wx:if="{{userInfo.real}}"><image class="name-img data-v-28b3f28f" src="{{assetsUrl+'friends-realMan.png'}}" mode="aspectFit"></image></block></block></block></view><view data-event-opts="{{[['tap',[['toEditVideo',['$event']]]]]}}" class="video-edit flex-start data-v-28b3f28f" bindtap="__e"><image class="video-edit-img data-v-28b3f28f" src="{{assetsUrl+'mine-edit.png'}}" mode="aspectFill"></image><view class="video-edit-text font22 fw400 data-v-28b3f28f">修改封面视频</view></view></view></block></video></block><block wx:else><view class="m-video data-v-28b3f28f"><block wx:if="{{!cover.isFullScreen}}"><view class="video-inner flex-center data-v-28b3f28f"><image class="head-img data-v-28b3f28f" src="{{userInfo.iconThumbnail||defaulHead}}" mode="aspectFill" data-event-opts="{{[['tap',[['toLogin',['$event']]]]]}}" bindtap="__e"></image><view class="name-box flex-center data-v-28b3f28f"><view class="name fw600 font44 data-v-28b3f28f">{{''+(userInfo.nick||'未登录')+''}}</view><block wx:if="{{userInfo.vip}}"><image class="name-img data-v-28b3f28f" src="{{assetsUrl+'friends-vip.png'}}" mode="aspectFit"></image></block><block wx:else><block wx:if="{{userInfo.goddess}}"><image class="name-img data-v-28b3f28f" src="{{assetsUrl+'friends-godness.png'}}" mode="aspectFit"></image></block><block wx:else><block wx:if="{{userInfo.real}}"><image class="name-img data-v-28b3f28f" src="{{assetsUrl+'friends-realMan.png'}}" mode="aspectFit"></image></block></block></block></view><view data-event-opts="{{[['tap',[['toEditVideo',['$event']]]]]}}" class="video-edit flex-start data-v-28b3f28f" bindtap="__e"><image class="video-edit-img data-v-28b3f28f" src="{{assetsUrl+'mine-edit.png'}}" mode="aspectFill"></image><view class="video-edit-text font22 fw400 data-v-28b3f28f">修改封面视频</view></view></view></block><image class="cover-inner data-v-28b3f28f" src="{{cover.url||defaulHead}}" mode="widthFix"></image><view class="cover-modal data-v-28b3f28f"></view></view></block></view><block wx:if="{{!cover.isFullScreen}}"><view class="info-box data-v-28b3f28f" style="{{'top:'+(''+(cover.isFullScreen?'100vh':'648rpx'))+';'}}"><view class="tabs flex-between data-v-28b3f28f"><block wx:for="{{tabs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toPath',['$0','$1'],[[['tabs','',index,'path']],[['tabs','',index,'name']]]]]]]}}" class="tab-item flex-center data-v-28b3f28f" bindtap="__e"><view class="tab-num font36 fw700 data-v-28b3f28f">{{''+item.num+''}}<block wx:if="{{item.dotnum>0}}"><label class="tab-dot fw400 font22 _span data-v-28b3f28f">{{''+item.dotnum+''}}</label></block></view><view class="tab-text font20 fw400 data-v-28b3f28f">{{''+item.name+''}}</view></view></block></view><block wx:if="{{userInfo.sex==='Male'}}"><view data-event-opts="{{[['tap',[['toVip',['$event']]]]]}}" class="vip-box flex-between data-v-28b3f28f" bindtap="__e"><view class="vip-left flex-start data-v-28b3f28f"><image class="vip-img data-v-28b3f28f" src="{{assetsUrl+'mine-vip.png'}}" mode="aspectFill"></image><view class="vl-box flex-center data-v-28b3f28f"><image class="vl-img data-v-28b3f28f" src="{{assetsUrl+'mine-vip-text.png'}}" mode="aspectFill"></image><block wx:if="{{userInfo.vip}}"><view class="vl-text font24 fw400 data-v-28b3f28f">{{'有效期至'+$root.g0[0]+''}}</view></block><block wx:else><block wx:if="{{userInfo.hisVip}}"><view class="vl-text font24 fw400 data-v-28b3f28f">您的VIP已经过期啦</view></block><block wx:else><view class="vl-text font24 fw400 data-v-28b3f28f">会员中心</view></block></block></view></view><view class="vip-right font22 fw600 data-v-28b3f28f">{{'立即'+(userInfo.vip?'续费':'开通')+''}}</view></view></block><view class="cards flex-center data-v-28b3f28f"><block wx:for="{{cards}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toCardsPath',['$0'],[[['cards','',index,'path']]]]]]]}}" class="{{['card-item','flex-center','data-v-28b3f28f',item.class]}}" bindtap="__e"><view class="ci-title font32 fw600 data-v-28b3f28f">{{''+item.title+''}}</view><view class="ci-tip font22 fw400 data-v-28b3f28f">{{''+item.tip+''}}</view><image class="ci-bg data-v-28b3f28f" src="{{''+assetsUrl+item.bgImg}}" mode="aspectFit"></image></view></block></view><view class="photo-album data-v-28b3f28f"><view class="pa-box flex-between data-v-28b3f28f"><view class="pa-title font32 fw600 data-v-28b3f28f">我的相册</view><view data-event-opts="{{[['tap',[['toAlbum',['$event']]]]]}}" class="pa-tip font22 fw600 data-v-28b3f28f" bindtap="__e">编辑相册</view></view><block wx:if="{{pics.length>0}}"><view class="pics-box flex-center data-v-28b3f28f"><block wx:if="{{currentPic.cate==='Img'}}"><image class="big-pic data-v-28b3f28f" 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-28b3f28f" 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-28b3f28f" 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-28b3f28f" bindtap="__e"><image class="{{['pic-img','data-v-28b3f28f',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-28b3f28f" src="{{assetsUrl+'user-self.png'}}" mode="aspectFill"></image></block></view></block><block wx:else><view class="no-pics-box data-v-28b3f28f"><view class="np-title font36 fw600 data-v-28b3f28f">添加你的第一张照片吧!</view><view class="np-tip font28 fw400 data-v-28b3f28f">分享给懂你的人</view><view data-event-opts="{{[['tap',[['toAlbum',['$event']]]]]}}" class="np-btn data-v-28b3f28f" bindtap="__e">添加照片</view><image class="np-bg data-v-28b3f28f" src="{{assetsUrl+'mine-no-images.png'}}" mode="aspectFill"></image></view></block></view><view class="wechat-oa data-v-28b3f28f"><official-account class="data-v-28b3f28f"></official-account></view></view></block></scroll-view></block></view>