Commit 7b15b93579117cacca438035b2a88b9d48260795

Authored by 史婷婷
1 parent a84157a8

feat: 我的页面-样式优化

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