fix: z-index设置问题
This commit is contained in:
@@ -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: <Nomadbook/>,
|
||||
customCom: <Nomadbook />,
|
||||
},
|
||||
{
|
||||
cityName: "上海",
|
||||
@@ -143,6 +142,19 @@ export default function Index() {
|
||||
// isCustom: true,
|
||||
// customCom: <JoinWechat />,
|
||||
// },
|
||||
{
|
||||
cityName: "武汉",
|
||||
imagePath: wuhan,
|
||||
isCustom: false,
|
||||
customCom: "test",
|
||||
},
|
||||
{
|
||||
cityName: "杭州",
|
||||
imagePath: hangzhou,
|
||||
isCustom: false,
|
||||
customCom: "test",
|
||||
}
|
||||
|
||||
].map((item, index) => {
|
||||
return (
|
||||
// 设置自动换行
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
position: absolute;
|
||||
color: #fff;
|
||||
font-size: 40px;
|
||||
z-index: 99;
|
||||
// z-index: 99;
|
||||
}
|
||||
Image{
|
||||
// position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user