From 4fb515d7a0f42feba5c58c38ca942ba3513892d4 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Wed, 22 Jan 2025 00:01:55 +0800 Subject: [PATCH 1/2] 'ddd' --- src/index.html | 4 ++++ src/pages/index/index.scss | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 5ca3eca..4639c73 100644 --- a/src/index.html +++ b/src/index.html @@ -57,6 +57,10 @@ f.parentNode.insertBefore(j, f); })(window, document, "script", "dataLayer", "GTM-M9PR3MVC"); + + + diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index d03215a..1d59684 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -123,6 +123,8 @@ } } } + + .items { height: 100%; padding: 20px; @@ -169,7 +171,6 @@ z-index: 1; width: 100%; height: 20px; - // background-color: burlywood; position: absolute; top: 0px; .itemUpleft { From 6c38c98d6cf948bf660c8a427d530890bf5e7106 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Thu, 27 Mar 2025 18:45:12 -0500 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E6=96=87?= =?UTF-8?q?=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.jsx | 4 ++-- src/pages/index/index.scss | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index c7a97bf..3a46488 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -289,7 +289,7 @@ const Index = () => {
🌎追踪你的旅行,记录你去过的地方
- 💬加入微信群,在旅途中找到你的社区 + 💬加入社群,在旅途中找到你的社区 {!!mobile ? ( { onClick={() => { setqrOpen(true); }} - >{`加入微信群💬`} + >{`加入社群💬`} diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index 1d59684..dec7acd 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -137,7 +137,7 @@ gap: 30px; /* 设置元素之间的间隔 */ // padding-left: 10px; /* 确保两侧固定边距 */ // padding-right: 10px; - // background-color: aqua; + background-color: aqua; .item:hover { animation: pulse 0.6s ease; @@ -146,7 +146,9 @@ .item { flex-grow: 1; /* 自动增长填充空间 */ flex-basis: 260px; /* 基本宽度为 300px,元素数量随可用空间调整 */ + // flex: 1 1 260px; /* 自动增长并设置基础宽度为 260px,确保元素均匀分布 */ max-width: 330px; /* 设置最大宽度 */ + // max-width: 280px; /* 设置最大宽度 */ // width: 100%; /* 确保可以响应式变化 */ height: 280px; // background-color: yellow;