feat: 更新header

This commit is contained in:
hackrobot
2025-04-03 05:29:29 -05:00
parent be460ff157
commit c5826176fc
4 changed files with 15 additions and 5 deletions

View File

@@ -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

View File

@@ -63,6 +63,7 @@
</body>
</html>
<script
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);

View File

@@ -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 },

View File

@@ -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;