diff --git a/src/images/city/hangzhou.jpg b/src/images/city/hangzhou.jpg new file mode 100644 index 0000000..55793f1 Binary files /dev/null and b/src/images/city/hangzhou.jpg differ diff --git a/src/images/city/wuhan.jpg b/src/images/city/wuhan.jpg new file mode 100644 index 0000000..6ce6a74 Binary files /dev/null and b/src/images/city/wuhan.jpg differ diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index acb5d47..89e2bb4 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -15,6 +15,9 @@ import guangzhou from "@/images/city/guangzhou.jpg"; import shanghai from "@/images/city/shanghai.jpg"; import shenzhen from "@/images/city/shenzhen.jpg"; import touxiang from "@/images/index/touxiang.jpg"; +import wuhan from "@/images/city/wuhan.jpg"; +import hangzhou from "@/images/city/hangzhou.jpg"; + import a1 from "@/images/meetup/a1.jpg"; import a2 from "@/images/meetup/a2.jpg"; @@ -28,8 +31,6 @@ import QrCode from "@/componments/QrCode"; import Nomadbook from "@/pages/index/componments/Nomadbook"; import JoinWechat from "@/pages/index/componments/JoinWechat"; - - import { useEffect, useState } from "react"; // import beijing from "../../images/city/beijing.jpg"; @@ -89,8 +90,6 @@ export default function Index() { // }); }, []); - - const HomeCardItem = () => { return [ { @@ -100,12 +99,12 @@ export default function Index() { customCom: "test", }, // 双数插入 - + { cityName: "nomad书籍", imagePath: shanghai, isCustom: true, - customCom: , + customCom: , }, { cityName: "上海", @@ -143,6 +142,19 @@ export default function Index() { // isCustom: true, // customCom: , // }, + { + cityName: "武汉", + imagePath: wuhan, + isCustom: false, + customCom: "test", + }, + { + cityName: "杭州", + imagePath: hangzhou, + isCustom: false, + customCom: "test", + } + ].map((item, index) => { return ( // 设置自动换行 diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index 9bd9993..7fa45a8 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -67,7 +67,7 @@ position: absolute; color: #fff; font-size: 40px; - z-index: 99; + // z-index: 99; } Image{ // position: absolute;