Commit 7b15b93579117cacca438035b2a88b9d48260795

Authored by 史婷婷
1 parent a84157a8

feat: 我的页面-样式优化

Showing 1 changed file with 7 additions and 2 deletions
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 </view> 10 </view>
11 <view class="profile-text" @click="name ? handleToInfo() : handleToLogin()"> 11 <view class="profile-text" @click="name ? handleToInfo() : handleToLogin()">
12 <view class="name">{{ name || '点击登录' }}</view> 12 <view class="name">{{ name || '点击登录' }}</view>
13 - <view class="muted omit1">{{ deptPathsText }}</view> 13 + <view class="muted omit2">{{ deptPathsText }}</view>
14 <view class="muted omit1">{{ telephone }}</view> 14 <view class="muted omit1">{{ telephone }}</view>
15 </view> 15 </view>
16 </view> 16 </view>
@@ -130,7 +130,7 @@ @@ -130,7 +130,7 @@
130 height: 100%; 130 height: 100%;
131 .profile-card { 131 .profile-card {
132 position: relative; 132 position: relative;
133 - height: 284rpx; 133 + height: 312rpx;
134 .profile-bg { 134 .profile-bg {
135 position: absolute; 135 position: absolute;
136 top: 0; 136 top: 0;
@@ -147,6 +147,8 @@ @@ -147,6 +147,8 @@
147 transform: translateX(-50%); 147 transform: translateX(-50%);
148 z-index: 2; 148 z-index: 2;
149 width: 686rpx; 149 width: 686rpx;
  150 + height: 236rpx;
  151 + box-sizing: border-box;
150 padding: 36rpx 36rpx 46rpx; 152 padding: 36rpx 36rpx 46rpx;
151 border-radius: 16rpx; 153 border-radius: 16rpx;
152 background: linear-gradient( 358deg, #FFFFFF 0%, #CBE2FD 100%); 154 background: linear-gradient( 358deg, #FFFFFF 0%, #CBE2FD 100%);
@@ -154,6 +156,9 @@ @@ -154,6 +156,9 @@
154 156
155 .cu-avatar { 157 .cu-avatar {
156 margin-right: 26rpx; 158 margin-right: 26rpx;
  159 + width: 128rpx;
  160 + height: 128rpx;
  161 + flex-shrink: 0;
157 &.avatar-initial { 162 &.avatar-initial {
158 background-color: #fbecc0; 163 background-color: #fbecc0;
159 display: flex; 164 display: flex;