From 6f557d08dc69ee635c45390772b6b4e4001ca340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com>
Date: Wed, 16 Apr 2025 12:56:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Header.tsx | 2 +-
src/pages/index/index.tsx | 12 +++++++-----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index 72e11cf..bfa1066 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -22,7 +22,7 @@ function Header(props) {
>
}
>
- {props?.title || '标题'}
+ {props?.title || '标题'}
>
)
diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx
index a195f10..c649e5f 100644
--- a/src/pages/index/index.tsx
+++ b/src/pages/index/index.tsx
@@ -44,6 +44,7 @@ function Home() {
background: 'url(https://oss.wsdns.cn/20250413/defb52abb1414429930ae2727d2b8ff6.png)',
backgroundSize: 'cover',
color: '#fff',
+ height: screenWidth > 800 ? '80px' : '',
}}
fixed={true}
onBackClick={() => {
@@ -53,9 +54,10 @@ function Home() {