editCenter.wxml 11 KB

1
  1. <view class="container data-v-83a863f4"><image-cropper vue-id="16d9004f-1" src="{{tempFilePath}}" data-event-opts="{{[['^confirm',[['confirm']]],['^cancel',[['cancel']]]]}}" bind:confirm="__e" bind:cancel="__e" class="data-v-83a863f4" bind:__l="__l"></image-cropper><block wx:if="{{!cover.isFullScreen}}"><view class="topnav flex-start data-v-83a863f4" 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 flex-center data-v-83a863f4" bindtap="__e"><image class="nav-img data-v-83a863f4" src="{{assetsUrl+'back.png'}}" mode="widthFix"></image></view><view class="nav-text font32 fw600 data-v-83a863f4">{{''+pageName+''}}</view><view class="nav-item data-v-83a863f4"></view></view></block><uni-popup vue-id="16d9004f-2" type="bottom" is-mask-click="{{false}}" data-ref="popup" class="data-v-83a863f4 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="popup data-v-83a863f4" bindtouchmove="__e"><view class="p-title-box flex-between data-v-83a863f4"><view class="p-title font36 fw600 data-v-83a863f4">上传头像</view><image class="p-close data-v-83a863f4" src="{{assetsUrl+'info-figure-close.png'}}" mode="aspectFill" data-event-opts="{{[['tap',[['hideHeadPopup',['$event']]]]]}}" bindtap="__e"></image></view><view class="p-title-tip font28 fw400 data-v-83a863f4">上传清晰本人照片更容易交到好友哦</view><view class="p-img-box flex-between data-v-83a863f4"><view class="p-img data-v-83a863f4"><image class="img data-v-83a863f4" src="{{assetsUrl+'info-figure-img1.png'}}" mode="aspectFill"></image><view class="p-text font22 fw400 data-v-83a863f4">五官清晰</view></view><view class="p-img data-v-83a863f4"><image class="img data-v-83a863f4" src="{{assetsUrl+'info-figure-img2.png'}}" mode="aspectFill"></image><view class="p-text font22 fw400 data-v-83a863f4">半身照</view></view><view class="p-img data-v-83a863f4"><image class="img data-v-83a863f4" src="{{assetsUrl+'info-figure-img3.png'}}" mode="aspectFill"></image><view class="p-text font22 fw400 data-v-83a863f4">风景和人</view></view></view><view style="height:60rpx;" class="data-v-83a863f4"></view></view></uni-popup><block wx:if="{{scrollHeight>0}}"><scroll-view class="scroll-view flex-start data-v-83a863f4" 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"><view data-event-opts="{{[['tap',[['showHeadPopup',['$event']]]]]}}" class="head-info data-v-83a863f4" bindtap="__e"><view class="head-box flex-center data-v-83a863f4"><block wx:if="{{!cropFilePath}}"><view class="head-inner flex-center data-v-83a863f4"><image class="add data-v-83a863f4" src="{{assetsUrl+'info-figure-add.png'}}" mode="aspectFill"></image></view></block><block wx:else><image src="{{cropFilePath}}" mode="aspectFit" class="data-v-83a863f4"></image></block></view><image class="camera data-v-83a863f4" src="{{assetsUrl+'info-figure-camera.png'}}" mode="aspectFill"></image></view><view class="label-box flex-between data-v-83a863f4"><view class="left font28 fw400 data-v-83a863f4">昵称</view><view data-event-opts="{{[['tap',[['randNick',['$event']]]]]}}" class="right flex-center data-v-83a863f4" bindtap="__e"><view class="rand-btn flex-center data-v-83a863f4"><image class="rand data-v-83a863f4" src="{{assetsUrl+'info-figure-tou.png'}}" mode="aspectFill"></image><view class="rand-text font20 fw400 data-v-83a863f4">随机昵称</view></view></view></view><view class="input-box flex-between data-v-83a863f4"><input class="input fw500 font32 data-v-83a863f4" type="text" maxlength="10" placeholder="请输入你的昵称" placeholder-style="color:#494667;font-size:28rpx;" data-event-opts="{{[['input',[['__set_model',['','nickname','$event',[]]]]]]}}" value="{{nickname}}" bindinput="__e"/><block wx:if="{{nickname!==''}}"><view class="input-num font22 fw400 data-v-83a863f4">{{''+nickname.length+'/10'}}</view></block></view><view class="label-box flex-between data-v-83a863f4"><view class="left font28 fw400 data-v-83a863f4">个人简介</view><block wx:if="{{introduce!==''}}"><view class="right flex-center data-v-83a863f4"><view class="input-num font22 fw400 data-v-83a863f4">{{''+introduce.length+'/200'}}</view></view></block></view><view class="textarea-box flex-between data-v-83a863f4"><textarea class="textarea fw500 font32 data-v-83a863f4" maxlength="200" placeholder="可以填写个人介绍、人生经历、交友期望等" placeholder-style="color:#494667;font-size:28rpx;" data-event-opts="{{[['input',[['__set_model',['','introduce','$event',[]]]]]]}}" value="{{introduce}}" bindinput="__e"></textarea></view><view class="select-title font28 fw400 data-v-83a863f4">你的身高</view><picker mode="selector" range="{{heights}}" value="30" data-event-opts="{{[['change',[['heightsChange',['$event']]]]]}}" bindchange="__e" class="data-v-83a863f4"><view class="select flex-between data-v-83a863f4"><view class="select-val font28 fw400 data-v-83a863f4" style="{{'color:'+(''+(height==='选择身高'?'':'#ffffff'))+';'}}">{{''+height+''}}</view><image class="select-icon data-v-83a863f4" src="{{assetsUrl+'info-figure-select.png'}}" mode="aspectFill"></image></view></picker><view class="select-title font28 fw400 data-v-83a863f4">你的体重</view><picker mode="selector" range="{{weights}}" value="50" data-event-opts="{{[['change',[['weightsChange',['$event']]]]]}}" bindchange="__e" class="data-v-83a863f4"><view class="select flex-between data-v-83a863f4"><view class="select-val font28 fw400 data-v-83a863f4" style="{{'color:'+(''+(weight==='选择体重'?'':'#ffffff'))+';'}}">{{''+weight+''}}</view><image class="select-icon data-v-83a863f4" src="{{assetsUrl+'info-figure-select.png'}}" mode="aspectFill"></image></view></picker><view class="select-title font28 fw400 data-v-83a863f4">你的年龄</view><picker mode="date" fields="day" value="1993-09-12" data-event-opts="{{[['change',[['agesChange',['$event']]]]]}}" bindchange="__e" class="data-v-83a863f4"><view class="select flex-between data-v-83a863f4"><view class="select-val font28 fw400 data-v-83a863f4" style="{{'color:'+(''+(age==='选择年龄'?'':'#ffffff'))+';'}}">{{''+age+''}}</view><image class="select-icon data-v-83a863f4" src="{{assetsUrl+'info-figure-select.png'}}" mode="aspectFill"></image></view></picker><view class="select-title font28 fw400 data-v-83a863f4">你的职业</view><picker mode="multiSelector" range="{{jobs}}" data-event-opts="{{[['change',[['jobsChange',['$event']]]],['columnchange',[['jobsColumnChange',['$event']]]]]}}" bindchange="__e" bindcolumnchange="__e" class="data-v-83a863f4"><view class="select flex-between data-v-83a863f4"><view class="select-val font28 fw400 data-v-83a863f4" style="{{'color:'+(''+(job==='选择职业'?'':'#ffffff'))+';'}}">{{''+job+''}}</view><image class="select-icon data-v-83a863f4" src="{{assetsUrl+'info-figure-select.png'}}" mode="aspectFill"></image></view></picker><view class="label-box flex-between data-v-83a863f4"><view class="left font28 fw400 data-v-83a863f4">微信号</view></view><view class="input-box flex-between data-v-83a863f4"><input class="input fw500 font32 data-v-83a863f4" type="text" maxlength="10" placeholder="请填写真实正确的微信号" placeholder-style="color:#494667;font-size:28rpx;" data-event-opts="{{[['input',[['__set_model',['','wechat','$event',[]]]]]]}}" value="{{wechat}}" bindinput="__e"/></view><view class="select-title font28 fw400 data-v-83a863f4">设置查看权限</view><picker mode="selector" range="{{auths}}" range-key="value" data-event-opts="{{[['change',[['authsChange',['$event']]]]]}}" bindchange="__e" class="data-v-83a863f4"><view class="select flex-between data-v-83a863f4"><view class="select-val font28 fw400 data-v-83a863f4" style="{{'color:'+(''+(height===''?'':'#ffffff'))+';'}}">{{''+auth+''}}</view><image class="select-icon data-v-83a863f4" src="{{assetsUrl+'info-figure-select.png'}}" mode="aspectFill"></image></view></picker><view class="label-box flex-between data-v-83a863f4"><view class="left font28 fw400 data-v-83a863f4">常驻城市</view><view data-event-opts="{{[['tap',[['editCity',['$event']]]]]}}" class="right flex-center data-v-83a863f4" bindtap="__e"><image class="edit data-v-83a863f4" src="{{assetsUrl+'mine-edit.png'}}" mode="aspectFill"></image></view></view><view class="tag-box flex-start data-v-83a863f4"><block wx:for="{{myCitys}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tag font28 data-v-83a863f4">{{''+item+''}}</view></block><block wx:if="{{myCitys.length===0}}"><view class="tag font28 data-v-83a863f4">未设置</view></block></view><view class="label-box flex-between data-v-83a863f4"><view class="left font28 fw400 data-v-83a863f4">个性标签</view><view data-event-opts="{{[['tap',[['editLabels',['$event']]]]]}}" class="right flex-center data-v-83a863f4" bindtap="__e"><image class="edit data-v-83a863f4" src="{{assetsUrl+'mine-edit.png'}}" mode="aspectFill"></image></view></view><view class="tag-box flex-start data-v-83a863f4"><block wx:for="{{myLabels}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tag font28 data-v-83a863f4">{{''+item.name+''}}</view></block><block wx:if="{{myLabels.length===0}}"><view class="tag font28 data-v-83a863f4">未设置</view></block></view><view class="label-box flex-between data-v-83a863f4"><view class="left font28 fw400 data-v-83a863f4">我喜欢的</view><view data-event-opts="{{[['tap',[['editWants',['$event']]]]]}}" class="right flex-center data-v-83a863f4" bindtap="__e"><image class="edit data-v-83a863f4" src="{{assetsUrl+'mine-edit.png'}}" mode="aspectFill"></image></view></view><view class="tag-box flex-start data-v-83a863f4"><block wx:for="{{myWants}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tag font28 data-v-83a863f4">{{''+item.name+''}}</view></block><block wx:if="{{myWants.length===0}}"><view class="tag font28 data-v-83a863f4">未设置</view></block></view></scroll-view></block><view data-event-opts="{{[['tap',[['sure',['$event']]]]]}}" class="btn font32 fw600 data-v-83a863f4" bindtap="__e">{{''+btnText+''}}</view></view>