1 |
- <view class="container data-v-5c124276"><nav-bar vue-id="26368d50-1" title="个人资料" back="{{true}}" color="#333333" background="#FFFFFF" class="data-v-5c124276" bind:__l="__l"></nav-bar><block wx:if="{{showLoadingPage}}"><loading-page vue-id="26368d50-2" class="data-v-5c124276" bind:__l="__l"></loading-page></block><view class="outerBox data-v-5c124276"><view class="upBox data-v-5c124276"><block wx:if="{{userInfo.avatar}}"><button class="avatarBox data-v-5c124276" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="upIcon data-v-5c124276" src="{{userInfo.avatar}}" mode></image></button></block><block wx:else><button class="avatarBox data-v-5c124276" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="upIcon1 data-v-5c124276" src="{{picBase+'upCamera.png'}}" mode="heightFix"></image></button></block></view><view class="label data-v-5c124276">个人资料</view><view class="editBox data-v-5c124276"><view class="item data-v-5c124276"><view class="left data-v-5c124276">昵称</view><view class="right data-v-5c124276"><input placeholder="请输入昵称" type="nickname" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['userInfo']],['onInputNickname',['$event']]]]]}}" value="{{userInfo.name}}" bindinput="__e" class="data-v-5c124276"/><image class="editIcon data-v-5c124276" src="{{picBase+'edit2.png'}}" mode="heightFix"></image></view></view><view class="item data-v-5c124276"><view class="left data-v-5c124276" style="width:100rpx;">手机号</view><view class="right data-v-5c124276"><input type="number" placeholder="请输入手机号" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['userInfo']]]]]}}" value="{{userInfo.mobile}}" bindinput="__e" class="data-v-5c124276"/><image class="editIcon data-v-5c124276" src="{{picBase+'edit2.png'}}" mode="heightFix"></image></view></view><view class="item data-v-5c124276"><view class="left data-v-5c124276">ID号</view><view class="right data-v-5c124276">{{''+('00000000'+userInfo.id)+''}}</view></view></view></view><view class="btnBox data-v-5c124276"><view data-event-opts="{{[['tap',[['updateUserInfo',['$event']]]]]}}" class="btn b1 data-v-5c124276" bindtap="__e">保存修改</view><view data-event-opts="{{[['tap',[['logoOut',['$event']]]]]}}" class="btn b2 data-v-5c124276" bindtap="__e">退出登录</view></view></view>
|