diff --git a/src/index.html b/src/index.html index 4cd4586..805f74e 100644 --- a/src/index.html +++ b/src/index.html @@ -62,4 +62,53 @@
- \ No newline at end of file + + /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ + _paq.push(["trackPageView"]); + _paq.push(["enableLinkTracking"]); + (function () { + var u = "//matomo.digitalnomadchina.com/"; + _paq.push(["setTrackerUrl", u + "matomo.php"]); + _paq.push(["setSiteId", "1"]); + var d = document, + g = d.createElement("script"), + s = d.getElementsByTagName("script")[0]; + g.async = true; + g.src = u + "matomo.js"; + s.parentNode.insertBefore(g, s); + })(); + + + + + + + + + + + + + +
+ + diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index c7a97bf..3a46488 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -289,7 +289,7 @@ const Index = () => {
🌎追踪你的旅行,记录你去过的地方
- 💬加入微信群,在旅途中找到你的社区 + 💬加入社群,在旅途中找到你的社区 {!!mobile ? ( { onClick={() => { setqrOpen(true); }} - >{`加入微信群💬`} + >{`加入社群💬`} diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index d03215a..dec7acd 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -123,6 +123,8 @@ } } } + + .items { height: 100%; padding: 20px; @@ -135,7 +137,7 @@ gap: 30px; /* 设置元素之间的间隔 */ // padding-left: 10px; /* 确保两侧固定边距 */ // padding-right: 10px; - // background-color: aqua; + background-color: aqua; .item:hover { animation: pulse 0.6s ease; @@ -144,7 +146,9 @@ .item { flex-grow: 1; /* 自动增长填充空间 */ flex-basis: 260px; /* 基本宽度为 300px,元素数量随可用空间调整 */ + // flex: 1 1 260px; /* 自动增长并设置基础宽度为 260px,确保元素均匀分布 */ max-width: 330px; /* 设置最大宽度 */ + // max-width: 280px; /* 设置最大宽度 */ // width: 100%; /* 确保可以响应式变化 */ height: 280px; // background-color: yellow; @@ -169,7 +173,6 @@ z-index: 1; width: 100%; height: 20px; - // background-color: burlywood; position: absolute; top: 0px; .itemUpleft {