fix: avatar page

This commit is contained in:
zzc
2026-01-31 22:23:39 +08:00
parent f9453bae82
commit e6b22d608b
14 changed files with 154 additions and 131 deletions

View File

@@ -3,9 +3,7 @@
<!-- 导航栏 -->
<view class="nav-bar" :style="{ height: navBarHeight + 'px' }">
<view class="nav-content" :style="{ paddingTop: statusBarHeight + 'px' }">
<view class="back-btn" @tap="goBack">
<text class="uni-icons"></text>
</view>
<view class="back" @tap="goBack"></view>
<text class="nav-title">我的运势记录</text>
</view>
</view>
@@ -209,23 +207,23 @@ onLoad(() => {
height: 100%;
display: flex;
align-items: center;
padding: 0 16px;
position: relative;
padding: 0 24rpx;
}
.back-btn {
font-size: 32px;
.back {
font-size: 50rpx;
color: #fff;
margin-right: 12px;
margin-right: 24rpx;
line-height: 1;
padding: 0 10px;
padding: 20rpx;
margin-left: -20rpx;
}
.nav-title {
font-size: 18px;
font-size: 34rpx;
font-weight: 600;
color: #fff;
position: absolute;
left: 50%;
transform: translateX(-50%);
flex: 1;
text-align: center;
margin-right: 50rpx;
}
.content-scroll {