1 line
5.9 KiB
Plaintext
1 line
5.9 KiB
Plaintext
<view class="mine-setting-container data-v-405ddd04" style="{{'height:'+(windowHeight+'px')+';'}}"><tui-list-view class="mine-menu-list data-v-405ddd04" vue-id="1a519f48-1" unlined="all" bind:__l="__l" vue-slots="{{['default']}}"><tui-list-cell vue-id="{{('1a519f48-2')+','+('1a519f48-1')}}" arrow="{{true}}" data-event-opts="{{[['^click',[['updateUserAvatat']]]]}}" bind:click="__e" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-item-box align-center data-v-405ddd04"><view class="tui-list-cell_name data-v-405ddd04">头像</view><view class="tui-right data-v-405ddd04"><cloud-image class="avatar data-v-405ddd04" vue-id="{{('1a519f48-3')+','+('1a519f48-2')}}" src="{{userInfo.avatar_file.url}}" bind:__l="__l"></cloud-image></view></view></tui-list-cell><tui-list-cell vue-id="{{('1a519f48-4')+','+('1a519f48-1')}}" arrow="{{true}}" data-event-opts="{{[['^click',[['handleShowModal',[0]]]]]}}" bind:click="__e" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-item-box data-v-405ddd04"><view class="tui-list-cell_name data-v-405ddd04">昵称</view><view class="tui-right data-v-405ddd04">{{userInfo.nickname}}</view></view></tui-list-cell><tui-list-cell vue-id="{{('1a519f48-5')+','+('1a519f48-1')}}" arrow="{{true}}" data-event-opts="{{[['^click',[['handleShowModal',[2]]]]]}}" bind:click="__e" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-item-box data-v-405ddd04"><view class="tui-list-cell_name data-v-405ddd04">性别</view><view class="tui-right data-v-405ddd04">{{''+$root.m0+''}}</view></view></tui-list-cell><tui-list-cell vue-id="{{('1a519f48-6')+','+('1a519f48-1')}}" arrow="{{true}}" data-event-opts="{{[['^click',[['handleShowModal',[1]]]]]}}" bind:click="__e" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-item-box data-v-405ddd04"><view class="tui-list-cell_name data-v-405ddd04">个人简介</view><view class="tui-right data-v-405ddd04">{{''||'这个人很神秘,什么都没写'}}</view></view></tui-list-cell></tui-list-view><tui-list-view class="mine-menu-list data-v-405ddd04" vue-id="1a519f48-7" marginTop="15px" unlined="all" bind:__l="__l" vue-slots="{{['default']}}"><tui-list-cell vue-id="{{('1a519f48-8')+','+('1a519f48-7')}}" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-item-box data-v-405ddd04"><view class="tui-list-cell_name data-v-405ddd04">邮箱</view><view class="tui-right data-v-405ddd04">{{userInfo.email||'暂无'}}</view></view></tui-list-cell><tui-list-cell vue-id="{{('1a519f48-9')+','+('1a519f48-7')}}" arrow="{{true}}" data-event-opts="{{[['^click',[['handleBindMobile']]]]}}" bind:click="__e" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-item-box data-v-405ddd04"><view class="tui-list-cell_name data-v-405ddd04">手机号</view><view class="tui-right data-v-405ddd04">{{userInfo.mobile||'暂无'}}</view></view></tui-list-cell><tui-list-cell vue-id="{{('1a519f48-10')+','+('1a519f48-7')}}" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-item-box data-v-405ddd04"><view class="tui-list-cell_name data-v-405ddd04">UID</view><view class="tui-right data-v-405ddd04">{{''+userInfo._id+''}}</view></view></tui-list-cell></tui-list-view><tui-list-view class="mine-menu-list data-v-405ddd04" vue-id="1a519f48-11" marginTop="15px" unlined="all" bind:__l="__l" vue-slots="{{['default']}}"><tui-list-cell vue-id="{{('1a519f48-12')+','+('1a519f48-11')}}" arrow="{{true}}" data-event-opts="{{[['^click',[['handleToRepassword']]]]}}" bind:click="__e" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-item-box data-v-405ddd04"><view class="tui-list-cell_name data-v-405ddd04">重置密码</view><view class="tui-right data-v-405ddd04">前往</view></view></tui-list-cell></tui-list-view><view class="cu-list menu data-v-405ddd04"><view class="cu-item data-v-405ddd04"><view data-event-opts="{{[['tap',[['handleLogout',['$event']]]]]}}" class="content text-center data-v-405ddd04" bindtap="__e"><text class="text-black data-v-405ddd04">退出登录</text></view></view></view><tui-modal vue-id="1a519f48-13" show="{{modal1}}" custom="{{true}}" fadeIn="{{true}}" data-event-opts="{{[['^cancel',[['e0']]]]}}" bind:cancel="__e" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-modal-custom data-v-405ddd04"><view class="tui-prompt-title data-v-405ddd04">{{$root.m1}}</view><input hidden="{{!(currentEdit===0)}}" class="{{['tui-modal-input','data-v-405ddd04',(!modal1)?'tui-hidden-input':'']}}" placeholder="请输入新昵称" data-event-opts="{{[['input',[['__set_model',['$0','nickname','$event',[]],['updateForm']]]]]}}" value="{{updateForm.nickname}}" bindinput="__e"/><input hidden="{{!(currentEdit===1)}}" class="{{['tui-modal-input','data-v-405ddd04',(!modal1)?'tui-hidden-input':'']}}" placeholder="请编辑简介" data-event-opts="{{[['input',[['__set_model',['$0','comment','$event',[]],['updateForm']]]]]}}" value="{{updateForm.comment}}" bindinput="__e"/><block wx:if="{{currentEdit===2}}"><view class="gender-content flex data-v-405ddd04"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="{{['cu-tag','lg','line-grey','radius','data-v-405ddd04',updateForm.gender===1?'active':'']}}" bindtap="__e">男</view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="{{['cu-tag','lg','line-grey','radius','data-v-405ddd04',updateForm.gender===2?'active':'']}}" bindtap="__e">女</view><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="{{['cu-tag','lg','line-grey','radius','data-v-405ddd04',updateForm.gender===0?'active':'']}}" bindtap="__e">保密</view></view></block><tui-button vue-id="{{('1a519f48-14')+','+('1a519f48-13')}}" height="72rpx" size="{{28}}" shape="circle" data-event-opts="{{[['^click',[['updateUserInfo']]]]}}" bind:click="__e" class="data-v-405ddd04" bind:__l="__l" vue-slots="{{['default']}}">立即提交</tui-button></view></tui-modal></view> |