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() {
- {website.websiteName}
+ 800 ? '20px' : '20px' }}>{website.websiteName}
}
>
@@ -64,8 +66,8 @@ function Home() {
className={'mt-8 p-2 py-3 w-full'}
style={{
height: 'calc(100vh - 2rem)',
- background: screenWidth > 390 ? 'url(https://oss.wsdns.cn/20250413/4650a6d214434159a5d6bf161c7a9367.png?x-oss-process=image/resize,m_fixed,w_2000/quality,Q_90) #fef2f2' : 'url(https://oss.wsdns.cn/20250413/4650a6d214434159a5d6bf161c7a9367.png?x-oss-process=image/resize,m_fixed,w_750/quality,Q_90) #fef2f2',
- backgroundSize: screenWidth > 390 ? 'cover' : '100%',
+ background: screenWidth > 800 ? 'url(https://oss.wsdns.cn/20250413/4650a6d214434159a5d6bf161c7a9367.png?x-oss-process=image/resize,m_fixed,w_2000/quality,Q_90) #fef2f2' : 'url(https://oss.wsdns.cn/20250413/4650a6d214434159a5d6bf161c7a9367.png?x-oss-process=image/resize,m_fixed,w_750/quality,Q_90) #fef2f2',
+ backgroundSize: screenWidth > 800 ? 'cover' : '100%',
backgroundPosition: 'bottom',
backgroundRepeat: 'no-repeat'
}}>
@@ -76,7 +78,7 @@ function Home() {
return (
onNav(item)}>
-
+
{item.title}
{item.comments}
@@ -95,7 +97,7 @@ function Home() {
return (
onNav(item)}>
-
+
{item.title}
{item.comments}