From c0df39db6a284c95f535f5be2c77f759d14ce31b Mon Sep 17 00:00:00 2001 From: hackrobot Date: Wed, 17 Jul 2024 11:21:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E4=B9=A6=E7=B1=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.jsx | 41 +++++++++++++++++++++++++----- src/pages/index/index.scss | 51 ++++++++++++++++++++++++++++++++++---- 2 files changed, 81 insertions(+), 11 deletions(-) diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index ad6857c..193c894 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -29,6 +29,8 @@ import emoji from "../../images/emoji.png"; import phone from "../../images/phone.png"; import robot from "../../images/robot.png"; import nomad from "../../images/nomad.png"; +import book from "../../images/book.png"; +import meetup from "../../images/meetup.jpg"; // export default class Index extends Component { const Index = () => { @@ -169,7 +171,7 @@ const Index = () => { "https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3545545030499270661#wechat_redirect"; }} /> - { window.location.href = "https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3545541605766168582#wechat_redirect"; }} - /> + /> */} + {/* 在线图书 */} + + + + + + + + + 数字游民 + + 222 + 333 + + + {/* 软件下载 */} @@ -222,7 +246,7 @@ const Index = () => { @@ -281,9 +305,14 @@ const Index = () => { > 取消 - + diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index da5eb14..1c01048 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -35,11 +35,53 @@ margin-top: 60px; } + .index-book { + margin-top: 60px; + // width: 100%; + height: 300px; + padding: 20px; + display: flex; + flex-direction: row; + align-items: center; + // justify-content: center; + background-color: #f0f0f0; + .bookImg { + width: 40%; + height: 100%; + background-color: #1bb14e; + } + + .book-middle{ + width: 20px; + height: 100%; + } + .nomad-right { + // margin-left: 20px; + display: flex; + flex-direction: column; + // align-items: center; + justify-content: space-between; + background-color: yellow; + // width: 100%; + flex: 1; + height: 100%; + + .nomad-title { + font-size: 35px; + display: flex; + flex-direction: row; + align-items: center; + // justify-content: space-between; + // background-color: red; + } + } + } + .software { margin-top: 60px; font-size: 30px; padding: 30px; - .emojiTitle{ + .emojiTitle { color: rgb(99 102 241); } .emojitext { @@ -104,12 +146,11 @@ } } - .emojiModel{ - - .modelText{ + .emojiModel { + .modelText { font-size: 22px; } - .model-emoji{ + .model-emoji { display: flex; flex-direction: row; align-items: center;