Files
sociology_app/unpackage/dist/dev/mp-weixin/pages/mine/userInfo/persData.wxml
2025-05-06 13:33:55 +08:00

1 line
10 KiB
Plaintext

<view class="container commonPageBox data-v-c8bf641a"><public-module vue-id="4f2c1d1a-1" class="data-v-c8bf641a" bind:__l="__l"></public-module><z-nav-bar vue-id="4f2c1d1a-2" title="个人资料" bgColor="#3AB3AE" fontColor="#fff" class="data-v-c8bf641a" bind:__l="__l"></z-nav-bar><view class="contentBox commonPageContentBox data-v-c8bf641a"><view class="avatar_box data-v-c8bf641a"><image class="per_mes_img data-v-c8bf641a" src="{{userData.avatar}}" data-event-opts="{{[['tap',[['handleClickRightContent',[['o',['type','avatar']],userData.avatar?'':'bind']]]]]}}" bindtap="__e"></image><text data-event-opts="{{[['tap',[['handleClickRightContent',[['o',['type','avatar']],userData.avatar?'':'bind']]]]]}}" class="avatar_text data-v-c8bf641a" bindtap="__e">{{userData.avatar?"更换头像":"设置头像"}}</text></view><view class="set_box data-v-c8bf641a"><common-list scoped-slots-compiler="augmented" vue-id="4f2c1d1a-3" dataList="{{dataList}}" isNoIcon="true" label="title" class="data-v-c8bf641a" bind:__l="__l" vue-slots="{{['rightSlot']}}"><view slot="rightSlot" wx:if="{{$root.m0}}"><view class="right_content data-v-c8bf641a"><block wx:if="{{$root.m1.row.type=='sex'}}"><view class="data-v-c8bf641a"><block wx:if="{{userData[$root.m2.row.indexValue]}}"><text class="data-v-c8bf641a">{{''+(userData[$root.m3.row.indexValue]==2?"女":"男")}}</text></block><block wx:else><view data-event-opts="{{[['tap',[['handleClickRightContent',['$0','bind'],['$getSSP(4f2c1d1a-3,rightSlot).row']]]]]}}" bindtap="__e" class="data-v-c8bf641a">未设置</view></block></view></block><block wx:if="{{$root.m4.row.type=='nickname'}}"><view class="data-v-c8bf641a"><block wx:if="{{userData[$root.m5.row.indexValue]}}"><text class="data-v-c8bf641a">{{''+userData[$root.m6.row.indexValue]}}</text></block><block wx:else><view data-event-opts="{{[['tap',[['handleClickRightContent',['$0','bind'],['$getSSP(4f2c1d1a-3,rightSlot).row']]]]]}}" bindtap="__e" class="data-v-c8bf641a">未设置</view></block></view></block><block wx:if="{{$root.m7.row.type=='tel'}}"><view class="data-v-c8bf641a"><block wx:if="{{userData[$root.m8.row.indexValue]}}"><text class="data-v-c8bf641a">{{''+userData[$root.m9.row.indexValue]}}</text></block><block wx:else><view data-event-opts="{{[['tap',[['handleClickRightContent',['$0','bind'],['$getSSP(4f2c1d1a-3,rightSlot).row']]]]]}}" bindtap="__e" class="data-v-c8bf641a">点击绑定</view></block></view></block><block wx:if="{{$root.m10.row.type=='password'}}"><view data-event-opts="{{[['tap',[['handleClickRightContent',['$0','bind'],['$getSSP(4f2c1d1a-3,rightSlot).row']]]]]}}" bindtap="__e" class="data-v-c8bf641a">{{''+(userData[$root.m11.row.indexValue]?"更改密码":"设置密码")+''}}</view></block><block wx:if="{{$root.m12.row.type=='email'}}"><view class="data-v-c8bf641a"><block wx:if="{{userData[$root.m13.row.indexValue]}}"><text class="data-v-c8bf641a">{{''+userData[$root.m14.row.indexValue]}}</text></block><block wx:else><view data-event-opts="{{[['tap',[['handleClickRightContent',['$0','bind'],['$getSSP(4f2c1d1a-3,rightSlot).row']]]]]}}" bindtap="__e" class="data-v-c8bf641a">点击绑定</view></block></view></block><block wx:if="{{$root.m15.row.type=='age'}}"><view class="data-v-c8bf641a"><block wx:if="{{userData[$root.m16.row.indexValue]}}"><text class="data-v-c8bf641a">{{''+userData[$root.m17.row.indexValue]}}</text></block><block wx:else><view data-event-opts="{{[['tap',[['handleClickRightContent',['$0','bind'],['$getSSP(4f2c1d1a-3,rightSlot).row']]]]]}}" bindtap="__e" class="data-v-c8bf641a">未设置</view></block></view></block><block wx:if="{{$root.m18}}"><u-icon class="editIcon data-v-c8bf641a" vue-id="{{('4f2c1d1a-4')+','+('4f2c1d1a-3')}}" name="edit-pen-fill" color="#3ab3ae" size="22" data-event-opts="{{[['tap',[['handleClickRightContent',['$0'],['$getSSP(4f2c1d1a-3,rightSlot).row']]]]]}}" catchtap="__e" bind:__l="__l"></u-icon></block></view><text class="fdButtonBox aui-text-success data-v-c8bf641a">{{$root.m19.row.content}}</text><view class="data-v-c8bf641a"></view></view></common-list></view><view class="button_box data-v-c8bf641a"></view></view><u-popup vue-id="4f2c1d1a-5" show="{{editModalShow}}" round="{{10}}" data-event-opts="{{[['^close',[['']]]]}}" bind:close="__e" class="data-v-c8bf641a" bind:__l="__l" vue-slots="{{['default']}}"><view class="tanchu data-v-c8bf641a"><view class="dp_title data-v-c8bf641a">{{editModalTitle}}</view><block wx:if="{{currentEditType=='nickname'}}"><u--input bind:input="__e" vue-id="{{('4f2c1d1a-6')+','+('4f2c1d1a-5')}}" placeholder="请输入昵称" border="surround" clearable="{{true}}" value="{{editForm.nickname}}" data-event-opts="{{[['^input',[['__set_model',['$0','nickname','$event',[]],['editForm']]]]]}}" class="data-v-c8bf641a" bind:__l="__l"></u--input></block><block wx:if="{{currentEditType=='tel'}}"><view style="display:flex;" class="data-v-c8bf641a"><view class="quhao data-v-c8bf641a"><uni-data-select bind:input="__e" class="quhaoSel data-v-c8bf641a" vue-id="{{('4f2c1d1a-7')+','+('4f2c1d1a-5')}}" placeholder="请选择区号" localdata="{{quCodeList}}" value="{{editForm.quCode}}" data-event-opts="{{[['^input',[['__set_model',['$0','quCode','$event',[]],['editForm']]]]]}}" bind:__l="__l"></uni-data-select></view><u--input bind:input="__e" vue-id="{{('4f2c1d1a-8')+','+('4f2c1d1a-5')}}" placeholder="请输入手机号" border="surround" clearable="{{true}}" value="{{editForm.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['editForm']]]]]}}" class="data-v-c8bf641a" bind:__l="__l"></u--input></view><view style="display:flex;" class="data-v-c8bf641a"><u--input bind:input="__e" style="margin-top:20rpx;" vue-id="{{('4f2c1d1a-9')+','+('4f2c1d1a-5')}}" type="number" placeholder="请输入验证码" border="surround" clearable="{{true}}" value="{{editForm.phonecode}}" data-event-opts="{{[['^input',[['__set_model',['$0','phonecode','$event',[]],['editForm']]]]]}}" class="data-v-c8bf641a" bind:__l="__l"></u--input><button data-event-opts="{{[['tap',[['onSetCode',['phone']]]]]}}" class="emPHCode data-v-c8bf641a" bindtap="__e">{{''+PhoneEmailNote+''}}</button></view></block><block wx:if="{{currentEditType=='password'}}"><u--input vue-id="{{('4f2c1d1a-10')+','+('4f2c1d1a-5')}}" maxlength="8" placeholder="请输入新密码" password="{{true}}" border="surround" clearable="{{true}}" value="{{editForm.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['editForm']],['inputMethod',['$0'],['editForm.password']]]]]}}" bind:input="__e" class="data-v-c8bf641a" bind:__l="__l"></u--input><view style="font-size:28rpx;color:#999;" class="data-v-c8bf641a"><block wx:if="{{passNote!=''}}"><view class="_p data-v-c8bf641a">{{passNote}}</view></block><view style="margin-top:10rpx;" class="_p data-v-c8bf641a"><rich-text nodes="{{passStr}}"></rich-text></view></view><u--input bind:input="__e" style="margin-top:20rpx;" vue-id="{{('4f2c1d1a-11')+','+('4f2c1d1a-5')}}" maxlength="8" placeholder="请再确认密码" password="{{true}}" border="surround" clearable="{{true}}" value="{{editForm.Repassword}}" data-event-opts="{{[['^input',[['__set_model',['$0','Repassword','$event',[]],['editForm']]]]]}}" class="data-v-c8bf641a" bind:__l="__l"></u--input></block><block wx:if="{{currentEditType=='email'}}"><u--input bind:input="__e" vue-id="{{('4f2c1d1a-12')+','+('4f2c1d1a-5')}}" placeholder="请输入邮箱" border="surround" clearable="{{true}}" value="{{editForm.email}}" data-event-opts="{{[['^input',[['__set_model',['$0','email','$event',[]],['editForm']]]]]}}" class="data-v-c8bf641a" bind:__l="__l"></u--input><view style="display:flex;" class="data-v-c8bf641a"><u--input bind:input="__e" style="margin-top:20rpx;" vue-id="{{('4f2c1d1a-13')+','+('4f2c1d1a-5')}}" type="number" placeholder="请输入验证码" border="surround" clearable="{{true}}" value="{{editForm.emailcode}}" data-event-opts="{{[['^input',[['__set_model',['$0','emailcode','$event',[]],['editForm']]]]]}}" class="data-v-c8bf641a" bind:__l="__l"></u--input><button data-event-opts="{{[['tap',[['onSetCode',['email']]]]]}}" class="emPHCode data-v-c8bf641a" bindtap="__e">{{''+PhoneEmailNote+''}}</button></view></block><block wx:if="{{currentEditType=='age'}}"><u--input bind:input="__e" vue-id="{{('4f2c1d1a-14')+','+('4f2c1d1a-5')}}" type="number" placeholder="请输入年龄" border="surround" clearable="{{true}}" value="{{editForm.age}}" data-event-opts="{{[['^input',[['__set_model',['$0','age','$event',[]],['editForm']]]]]}}" class="data-v-c8bf641a" bind:__l="__l"></u--input></block><block wx:if="{{currentEditType=='sex'}}"><u-radio-group bind:input="__e" vue-id="{{('4f2c1d1a-15')+','+('4f2c1d1a-5')}}" value="{{editForm.sex}}" data-event-opts="{{[['^input',[['__set_model',['$0','sex','$event',[]],['editForm']]]]]}}" class="data-v-c8bf641a" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:100%;" class="data-v-c8bf641a"><block wx:for="{{sexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="dp_sex data-v-c8bf641a">{{''+item.title+''}}<u-radio style="float:right;margin-top:5rpx;" vue-id="{{('4f2c1d1a-16-'+index)+','+('4f2c1d1a-15')}}" activeColor="#3AB3AE" name="{{item.id}}" class="data-v-c8bf641a" bind:__l="__l"></u-radio></view></block></view></u-radio-group></block><block wx:if="{{currentEditType=='avatar'}}"><view data-event-opts="{{[['tap',[['checkPermision',['$event']]]]]}}" bindtap="__e" class="data-v-c8bf641a"><u-upload vue-id="{{('4f2c1d1a-17')+','+('4f2c1d1a-5')}}" fileList="{{fileAvatar}}" multiple="{{true}}" maxCount="{{1}}" width="150" height="150" previewFullImage="{{true}}" data-event-opts="{{[['^afterRead',[['afterRead']]],['^delete',[['deletePic']]]]}}" bind:afterRead="__e" bind:delete="__e" class="data-v-c8bf641a" bind:__l="__l"></u-upload></view></block><u-button style="margin-top:50rpx;" vue-id="{{('4f2c1d1a-18')+','+('4f2c1d1a-5')}}" color="linear-gradient(to right, #77efc7, #3AB3AE)" text="确定" data-event-opts="{{[['^click',[['handleSubmit']]]]}}" bind:click="__e" class="data-v-c8bf641a" bind:__l="__l"></u-button><view data-event-opts="{{[['tap',[['closeModal']]]]}}" class="dp_canBtn data-v-c8bf641a" bindtap="__e">取消</view></view></u-popup></view>