fix: new index

This commit is contained in:
zzc
2026-02-26 09:36:04 +08:00
parent 18909f7ce2
commit b393cfd67a

View File

@@ -1,10 +1,13 @@
<template> <template>
<view <view
class="home-container" class="home-container"
:style="{ paddingTop: statusBarHeight + 64 + 'px' }" :style="{ paddingTop: statusBarHeight + 54 + 'px' }"
> >
<!-- 顶部用户信息栏 --> <!-- 顶部用户信息栏 -->
<view class="header-section" :style="{ top: statusBarHeight + 4 + 'px' }"> <view
class="header-section"
:style="{ paddingTop: statusBarHeight + 4 + 'px' }"
>
<view class="user-info"> <view class="user-info">
<image <image
class="user-avatar" class="user-avatar"
@@ -58,7 +61,7 @@
<view class="section-container"> <view class="section-container">
<view class="section-header"> <view class="section-header">
<view class="title-left-decor"></view> <view class="title-left-decor"></view>
<text class="section-title">制作贺卡·选场景</text> <text class="section-title">贺卡制作</text>
</view> </view>
<scroll-view class="scene-scroll" scroll-x="true" show-scrollbar="false"> <scroll-view class="scene-scroll" scroll-x="true" show-scrollbar="false">
<view class="scene-list"> <view class="scene-list">
@@ -359,13 +362,18 @@ onShareTimeline(() => {
/* 顶部用户信息 */ /* 顶部用户信息 */
.header-section { .header-section {
position: fixed; position: fixed;
left: 32rpx; top: 0;
right: 32rpx; left: 0;
right: 0;
z-index: 999; z-index: 999;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-bottom: 24rpx; padding-left: 32rpx;
padding-right: 32rpx;
padding-bottom: 24rpx;
background-color: rgba(251, 251, 249, 0.95);
backdrop-filter: blur(20rpx);
.user-info { .user-info {
display: flex; display: flex;