zoujiandong 4948f35fb3 1.22
2024-01-22 08:42:14 +08:00

53 lines
2.2 KiB
Plaintext

<!--pages/personCenter/personCenter.wxml-->
<nav navName="个人中心"></nav>
<view class="page">
<view class="cellbox">
<view class="cell">
<view class="left">头像</view>
<view class="right" style="flex:1;">
<view class="box">
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead" class="upload" max-count="1" preview-image="false"></van-uploader>
<view class="imgview">
<image src="{{user_info.avatar}}" class="headicon" wx:if="{{user_info.avatar}}"></image>
<image src="{{img_host+'/patient_avatar.png'}}" class="headicon" wx:else></image>
</view>
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
</view>
<view class="cell">
<view class="left">用户名</view>
<view class="right" bindtap="editNameModal">
<view class="imgview">
{{user_info.user_name}}
</view>
<image src="{{img_host+'/edit.png'}}" class="edit"></image>
</view>
</view>
<view class="cell">
<view class="left">消息通知</view>
<view class="right" bindtap="goNotify">
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
<view class="cell">
<view class="left">绑定手机号</view>
<view class="right">
{{user_info.mobile}}
</view>
</view>
</view>
<view class="logout" bindtap="handleThrottle">
退出当前账号
</view>
</view>
<van-overlay show="{{showCrop}}" >
<image-cropper id="image-cropper" bindload="cropperload" bindimageload="loadimage" bindtapcut="clickcut" limit_move="{{limit_move}}" disable_rotate="{{disable_rotate}}" width="{{width}}" height="{{height}}" imgSrc="{{src}}" angle="{{angle}}" disable_width="{{disable_width}}" max_width="{{max_width}}" max_height="{{max_height}}" disable_height="{{disable_height}}" disable_ratio="{{disable_ratio}}"></image-cropper>
<view class="buttonbox">
<button bindtap='closeCrop' type="default" class="button" size="mini">返回</button>
<button bindtap='submit' type="primary" class="button" size="mini">确定</button>
</view>
</van-overlay>