Commit ec43b944b64aad65cac21d2af9ca032b18e5fc53
1 parent
5454532f
会员中心的优化
Showing
2 changed files
with
9 additions
and
0 deletions
pages/user/userinfo/userinfo.js
| @@ -792,6 +792,7 @@ Page({ | @@ -792,6 +792,7 @@ Page({ | ||
| 792 | if(choice_guide){ | 792 | if(choice_guide){ |
| 793 | a.staffName=choice_guide.StaffName; | 793 | a.staffName=choice_guide.StaffName; |
| 794 | a.staffId=choice_guide.Id; | 794 | a.staffId=choice_guide.Id; |
| 795 | + a.staffTel=choice_guide.Tel; | ||
| 795 | } | 796 | } |
| 796 | 797 | ||
| 797 | 798 |
pages/user/userinfo/userinfo.wxml
| @@ -238,6 +238,14 @@ | @@ -238,6 +238,14 @@ | ||
| 238 | </view> | 238 | </view> |
| 239 | </view> | 239 | </view> |
| 240 | 240 | ||
| 241 | + <view wx:if="{{user.staffTel}}" class="user-name flex-vertical-between"> | ||
| 242 | + <view class="user-name-txt">{{guide_title}}电话</view> | ||
| 243 | + <view class="flex-center user-txt-right"> | ||
| 244 | + <view class="one-line">{{user.staffTel}}</view> | ||
| 245 | + </view> | ||
| 246 | + | ||
| 247 | + </view> | ||
| 248 | + | ||
| 241 | 249 | ||
| 242 | 250 | ||
| 243 | </view> | 251 | </view> |