添加了修改头像的功能
This commit is contained in:
@ -212,13 +212,16 @@
|
||||
<view class="flex-col page">
|
||||
<view class="flex-row justify-between section">
|
||||
<view class="flex-row items-center self-center">
|
||||
<button open-type="chooseAvatar" bind:chooseavatar="updateAvatar">
|
||||
<image
|
||||
class="image"
|
||||
src="./images/logo.png"
|
||||
src="{{globalImgUrl + userAvatar}}"
|
||||
mode="aspectFill"
|
||||
/>
|
||||
</button>
|
||||
<view class="flex-col ml-6">
|
||||
<text class="self-start font text">{{ nickName }}</text>
|
||||
<view class="flex-row items-center self-stretch group_2 mt-9" bind:tap="gotoCall">
|
||||
<view class="flex-row items-center self-stretch group_2 mt-9" bindtap="gotoCall">
|
||||
<image
|
||||
class="image_3"
|
||||
src="./images/dianhua.png"
|
||||
@ -248,21 +251,21 @@
|
||||
</view>
|
||||
<view class="flex-col mt-22" >
|
||||
<view class="flex-row items-start equal-division section_3" wx:if="{{ userRole != 'user' }}">
|
||||
<view class="flex-col items-center equal-division-item_1 group_3" bind:tap="checkPerformance">
|
||||
<view class="flex-col items-center equal-division-item_1 group_3" bindtap="checkPerformance">
|
||||
<image
|
||||
class="image_5"
|
||||
src="./images/zhijinxiangqing.png"
|
||||
/>
|
||||
<text class="font text_5 mt-6">{{title}}</text>
|
||||
</view>
|
||||
<view class="flex-col items-center equal-division-item_2 equal-division-item" bind:tap="gotoSupervisorRank" data-userRole="{{ 'manager' }}">
|
||||
<view class="flex-col items-center equal-division-item_2 equal-division-item" bindtap="gotoSupervisorRank" data-userRole="{{ 'manager' }}">
|
||||
<image
|
||||
class="image_5"
|
||||
src="./images/tixianzhanghu.png"
|
||||
/>
|
||||
<text class="font text_6 mt-6">主管排名</text>
|
||||
</view>
|
||||
<view class="flex-col items-center equal-division-item_3 group_5" bind:tap="gotoStaffRank" data-userRole="{{ 'supervisor' }}">
|
||||
<view class="flex-col items-center equal-division-item_3 group_5" bindtap="gotoStaffRank" data-userRole="{{ 'supervisor' }}">
|
||||
<image
|
||||
class="image_5"
|
||||
src="./images/tixianjilu.png"
|
||||
@ -272,7 +275,7 @@
|
||||
</view>
|
||||
<view class="flex-col list">
|
||||
<view class="flex-row justify-between items-center section_4" wx:if="{{isShowOrder}}">
|
||||
<view class="flex-row items-center" bind:tap="courseOrder">
|
||||
<view class="flex-row items-center" bindtap="courseOrder">
|
||||
<image
|
||||
class="shrink-0 image_6"
|
||||
src="./images/zhanghaoshezhi.png"
|
||||
@ -284,7 +287,7 @@
|
||||
src="./images/xiajiantou.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="flex-row justify-between items-center section_4 mt-11" bind:tap="gotoDashboard" wx:if="{{ userRole !== 'user' }}">
|
||||
<view class="flex-row justify-between items-center section_4 mt-11" bindtap="gotoDashboard" wx:if="{{ userRole !== 'user' }}">
|
||||
<view class="flex-row items-center">
|
||||
<image
|
||||
class="shrink-0 image_6"
|
||||
@ -297,7 +300,7 @@
|
||||
src="./images/xiajiantou.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="flex-row justify-between items-center section_4 mt-11" bind:tap="zhshezhi">
|
||||
<view class="flex-row justify-between items-center section_4 mt-11" bindtap="zhshezhi">
|
||||
<view class="flex-row items-center">
|
||||
<image
|
||||
class="shrink-0 image_6"
|
||||
|
Reference in New Issue
Block a user