优化
Showing
4 changed files
with
14 additions
and
12 deletions
| ... | @@ -92,16 +92,16 @@ function goToAddApply() { | ... | @@ -92,16 +92,16 @@ function goToAddApply() { |
| 92 | 92 | ||
| 93 | .hero-bg { | 93 | .hero-bg { |
| 94 | position: absolute; | 94 | position: absolute; |
| 95 | left: 0; | 95 | left: -40rpx; |
| 96 | top: -116px; | 96 | top: -330rpx; |
| 97 | width: 100%; | 97 | width: calc(100% + 80rpx); |
| 98 | height: 100%; | 98 | height: calc(100% + 260rpx); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | .hero-brand { | 101 | .hero-brand { |
| 102 | position: relative; | 102 | position: relative; |
| 103 | z-index: 1; | 103 | z-index: 1; |
| 104 | padding: calc(env(safe-area-inset-top) + 170rpx) 44rpx 0; | 104 | padding: calc(env(safe-area-inset-top) + 100rpx) 44rpx 0; |
| 105 | color: #fff; | 105 | color: #fff; |
| 106 | } | 106 | } |
| 107 | 107 | ||
| ... | @@ -136,7 +136,7 @@ function goToAddApply() { | ... | @@ -136,7 +136,7 @@ function goToAddApply() { |
| 136 | .panel-content { | 136 | .panel-content { |
| 137 | position: relative; | 137 | position: relative; |
| 138 | z-index: 12; | 138 | z-index: 12; |
| 139 | padding: 0rpx 46rpx 40rpx; | 139 | padding: 0rpx 30rpx 40rpx; |
| 140 | } | 140 | } |
| 141 | 141 | ||
| 142 | .section-title { | 142 | .section-title { |
| ... | @@ -159,7 +159,7 @@ function goToAddApply() { | ... | @@ -159,7 +159,7 @@ function goToAddApply() { |
| 159 | .level-grid { | 159 | .level-grid { |
| 160 | display: grid; | 160 | display: grid; |
| 161 | grid-template-columns: repeat(2, 1fr); | 161 | grid-template-columns: repeat(2, 1fr); |
| 162 | gap: 14rpx 14rpx; | 162 | gap: 20rpx; |
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | .level-card { | 165 | .level-card { | ... | ... |
| ... | @@ -211,13 +211,13 @@ function onTabSwitch(index, url) { | ... | @@ -211,13 +211,13 @@ function onTabSwitch(index, url) { |
| 211 | 211 | ||
| 212 | .profile-hero { | 212 | .profile-hero { |
| 213 | position: relative; | 213 | position: relative; |
| 214 | z-index: 1; | 214 | z-index: 4; |
| 215 | min-height: 460rpx; | 215 | min-height: 460rpx; |
| 216 | } | 216 | } |
| 217 | 217 | ||
| 218 | .hero-content { | 218 | .hero-content { |
| 219 | position: relative; | 219 | position: relative; |
| 220 | z-index: 2; | 220 | z-index: 5; |
| 221 | padding: calc(env(safe-area-inset-top) + 126rpx) 48rpx 0; | 221 | padding: calc(env(safe-area-inset-top) + 126rpx) 48rpx 0; |
| 222 | color: #fff; | 222 | color: #fff; |
| 223 | } | 223 | } |
| ... | @@ -299,6 +299,8 @@ function onTabSwitch(index, url) { | ... | @@ -299,6 +299,8 @@ function onTabSwitch(index, url) { |
| 299 | } | 299 | } |
| 300 | 300 | ||
| 301 | .edit-btn { | 301 | .edit-btn { |
| 302 | position: relative; | ||
| 303 | z-index: 6; | ||
| 302 | width: 168rpx; | 304 | width: 168rpx; |
| 303 | height: 48rpx; | 305 | height: 48rpx; |
| 304 | margin: 34rpx 0 0 auto; | 306 | margin: 34rpx 0 0 auto; | ... | ... |
| ... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
| 20 | </view> | 20 | </view> |
| 21 | </view> | 21 | </view> |
| 22 | 22 | ||
| 23 | <view class="search-bar"> | 23 | <!-- <view class="search-bar"> |
| 24 | <uni-easyinput | 24 | <uni-easyinput |
| 25 | v-model="query.keyword" | 25 | v-model="query.keyword" |
| 26 | :input-border="false" | 26 | :input-border="false" |
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
| 32 | @clear="handleSearch" | 32 | @clear="handleSearch" |
| 33 | /> | 33 | /> |
| 34 | <view class="search-btn" @click="handleSearch">搜索</view> | 34 | <view class="search-btn" @click="handleSearch">搜索</view> |
| 35 | </view> | 35 | </view> --> |
| 36 | </view> | 36 | </view> |
| 37 | 37 | ||
| 38 | <!-- <view class="notice-tabs"> | 38 | <!-- <view class="notice-tabs"> | ... | ... |
| ... | @@ -185,7 +185,7 @@ onShow(() => { | ... | @@ -185,7 +185,7 @@ onShow(() => { |
| 185 | 185 | ||
| 186 | function init() { | 186 | function init() { |
| 187 | checkImgExist() | 187 | checkImgExist() |
| 188 | handelGetMyRecent() | 188 | // handelGetMyRecent() |
| 189 | api.getMyOwnMemberInfo().then(res => { | 189 | api.getMyOwnMemberInfo().then(res => { |
| 190 | const data = res && res.data ? res.data : {} | 190 | const data = res && res.data ? res.data : {} |
| 191 | app.globalData.authenticationStatus = data.authenticationStatus | 191 | app.globalData.authenticationStatus = data.authenticationStatus | ... | ... |
-
Please register or sign in to post a comment