<!--pages/personal/personal.wxml-->
<image class="bgimage" mode="widthFix" src="{{imgPath}}/personal-bg.png"></image>
<view class="user-info">
    <image class="photo" mode="scaleToFill" src="{{photo}}"></image>
    <view class="username">{{username}}</view>
    <text class="role-name">{{roleName}}</text>
    <image class="icon-edit" mode="scaleToFill" src="{{imgPath}}/personal-edit.png" bindtap="editInfo"></image>
</view>
<view class="operation-row" bindtap="about">
    <image class="icon-operation" mode="scaleToFill" src="{{imgPath}}/personal-about.png"></image>
    <text class="text-operation">关于</text>
</view>
<view class="operation-row" bindtap="logout">
    <image class="icon-operation" mode="scaleToFill" src="{{imgPath}}/personal-exit.png"></image>
    <text class="text-operation">退出</text>
</view>