From 376cc14cc890437a9159bb1eb1671ef8e2a9ab45 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Wed, 17 Jul 2024 10:08:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=88=E9=9B=86=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.jsx | 25 ++++++++++++++++++------- src/pages/index/index.scss | 15 ++++++++++----- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index 80d2bd3..1eefb55 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -30,7 +30,6 @@ import phone from "../../images/phone.png"; import robot from "../../images/robot.png"; import nomad from "../../images/nomad.png"; - // export default class Index extends Component { const Index = () => { const [current, setcurrent] = useState(0); @@ -155,38 +154,50 @@ const Index = () => { arrow="right" // hasBorder={false} thumb={phone} - onClick={() => {}} + onClick={() => { + window.location.href="https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3403853254399082501#wechat_redirect" + }} /> {}} + onClick={() => { + window.location.href="https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3545545030499270661#wechat_redirect" + }} /> {}} + onClick={() => { + window.location.href="https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3545541605766168582#wechat_redirect" + }} /> + {/* 软件下载 */} | 我写的软件工具 - markdown转emoji编辑器 + + {" "} + markdown转emoji编辑器 + + - + + {/* - + */} diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index 7d853db..51b9948 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -23,7 +23,7 @@ } .index-article { - margin-top: 40px; + margin-top: 60px; // background-color: yellow; font-size: 30px; .spanText { @@ -32,17 +32,22 @@ } .index-list { - margin-top: 40px; + margin-top: 60px; } .software { - margin-top: 40px; + margin-top: 60px; font-size: 30px; + padding: 30px; .emojiTitle{ color: rgb(99 102 241); } .emojitext { - font-size: 24px; + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; + font-size: 28px; } .software-emoji { display: flex; @@ -53,7 +58,7 @@ } .index-meetup { - margin-top: 40px; + margin-top: 60px; .meetup-card { display: flex;