feat: 更新header
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import path from "path";
|
||||
const config = {
|
||||
projectName: "cityh5",
|
||||
date: "2023-12-2",
|
||||
@@ -41,6 +42,9 @@ const config = {
|
||||
},
|
||||
},
|
||||
},
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "..", "src"),
|
||||
},
|
||||
h5: {
|
||||
webpackChain(chain) {
|
||||
chain.module
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<script
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(["trackPageView"]);
|
||||
_paq.push(["enableLinkTracking"]);
|
||||
|
||||
@@ -77,7 +77,7 @@ import IndexDetail from "./componments/IndexDetail/index";
|
||||
|
||||
import { LazyLoadImage } from "react-lazy-load-image-component";
|
||||
import "react-lazy-load-image-component/src/effects/blur.css";
|
||||
|
||||
import Nav from './componments/Nav/index'
|
||||
// export default class Index extends Component {
|
||||
const Index = () => {
|
||||
const [current, setcurrent] = useState(0);
|
||||
@@ -230,6 +230,9 @@ const Index = () => {
|
||||
|
||||
return (
|
||||
<View className="Index">
|
||||
|
||||
<Nav></Nav>
|
||||
|
||||
{/* <View className="header">
|
||||
<View className="headerTag">
|
||||
{["首页","导航", "图书", "好物", "活动", "工具箱", "关于我们"].map(
|
||||
@@ -254,11 +257,13 @@ const Index = () => {
|
||||
|
||||
{/* {!mobile ? ( */}
|
||||
<View className="up">
|
||||
|
||||
<View className="upText">
|
||||
<span className="title">📣成为数字游民,并旅居在任何地方</span>
|
||||
<br />
|
||||
<span className="nomadcna">nomadcna.com</span>
|
||||
,代表着目前中国各地远程生活和工作的数字游民,不局限于某一处
|
||||
{/* <span className="nomadcna">nomadcna.com</span> */}
|
||||
{/* ,代表着目前 */}
|
||||
中国各地远程生活和工作的数字游民,不局限于某一处
|
||||
<View className="AvatarView">
|
||||
{[
|
||||
{ image: girla },
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
|
||||
.upjonNomad {
|
||||
margin-top: 10px;
|
||||
margin-top: 40px;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
font-size: 40px !important;
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user