fix: new index

This commit is contained in:
zzc
2026-02-26 09:30:53 +08:00
parent d974987cff
commit 18909f7ce2

View File

@@ -1,12 +1,10 @@
<template> <template>
<view <view
class="home-container" class="home-container"
:style="{ :style="{ paddingTop: statusBarHeight + 64 + 'px' }"
paddingTop: statusBarHeight + 12 + 'px',
}"
> >
<!-- 顶部用户信息栏 --> <!-- 顶部用户信息栏 -->
<view class="header-section"> <view class="header-section" :style="{ top: statusBarHeight + 4 + 'px' }">
<view class="user-info"> <view class="user-info">
<image <image
class="user-avatar" class="user-avatar"
@@ -360,6 +358,10 @@ onShareTimeline(() => {
/* 顶部用户信息 */ /* 顶部用户信息 */
.header-section { .header-section {
position: fixed;
left: 32rpx;
right: 32rpx;
z-index: 999;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;