From 1daa00227f03bc3a370dc1311b7166df17368929 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 20 三月 2024 16:15:46 +0800
Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master

---
 pages/personalCenter/index.wxml |   25 ++++++++++++++++++++-----
 1 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/pages/personalCenter/index.wxml b/pages/personalCenter/index.wxml
index c1a6791..e5396f0 100644
--- a/pages/personalCenter/index.wxml
+++ b/pages/personalCenter/index.wxml
@@ -1,12 +1,12 @@
-<view class="background {{ isWhite ? 'white':''}}">
+<view style="width: 100%; height: {{barHeight}}px;"></view>
+<view class="background {{ isWhite ? 'white':''}}" style="padding-top: {{barHeight}}px">
   <text class="text">涓汉涓績</text>
 </view>
 <view class="home-page">
   <view class="bg">
     <image src="/static/images/personal/my-bg.png" mode="heightFix" class="image" />
   </view>
-  <!-- <image class="background" src="/static/images/personal/my-bg.png" mode="heightFix" /> -->
-  <t-user-center-card userInfo="{{userInfo}}" isPhoneHide="{{true}}" name-class="custom-name-class" phone-class="custom-phone-class" avatar-class="customer-avatar-class" currAuthStep="{{currAuthStep}}" bind:gotoUserEditPage="gotoUserEditPage" />
+  <t-user-center-card userInfo="{{userInfo}}" isPhoneHide="{{true}}" name-class="custom-name-class" phone-class="custom-phone-class" avatar-class="customer-avatar-class" currAuthStep="{{currAuthStep}}" bind:gotoUserEditPage="gotoUserEditPage" bind:editUserType="editUserType" />
   <view class="content-wrapper">
     <view class="topBox">
       <view class="teacherBox">
@@ -46,8 +46,8 @@
         <text>鏇村鍔熻兘</text>
       </view>
       <view class="domainList1">
-        <view wx:for="{{moreMenu}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="toPages" data-info="{{item}}" class="listItem" >
-          <view class="icon"  >
+        <view wx:for="{{moreMenu}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="toPages" data-info="{{item}}" class="listItem">
+          <view class="icon">
             <t-image src="{{item.icon}}" mode="heightFix" class="img" />
           </view>
           <view class="label">
@@ -67,4 +67,19 @@
       </view>
     </view>
   </view>
+  <t-popup visible="{{visible}}" bind:visible-change="onVisibleChange" placement="bottom">
+    <view class="block">
+      <view class="header">
+        <view class="title">璇烽�夋嫨鎮ㄧ殑鐢ㄦ埛绫诲瀷</view>
+      </view>
+      <view class="body">
+        <view wx:for="{{userTypeList}}" wx:for-item="item" wx:for-index="index" wx:key="index" data-info="{{item}}" bindtap="tabUserTypeClick" :class="item.value == userTypeActive ? 'activeItem item hover' : 'item hover'">
+          {{ item.lable }}
+        </view>
+      </view>
+      <view class="footer">
+        <button class="submit" bindtap="submit">鎻愪氦</button>
+      </view>
+    </view>
+  </t-popup>
 </view>
\ No newline at end of file

--
Gitblit v1.9.1