From da4363b7011e217173227f844f82d91d5456bb64 Mon Sep 17 00:00:00 2001 From: "WLT\\Eric.hu" Date: Mon, 31 Mar 2025 16:46:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0book=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 1 + src/index.html | 128 ++++++++++++++++++--------------------- src/pages/book/index.tsx | 12 +++- 3 files changed, 70 insertions(+), 71 deletions(-) diff --git a/config/index.js b/config/index.js index 3be403c..85924f7 100644 --- a/config/index.js +++ b/config/index.js @@ -75,6 +75,7 @@ const config = { customRoutes: { // "页面路径": "自定义路由" "/pages/index/index": "/", + "/pages/book/index": "/book", // '/pages/detail/index': ['/detail'], // 可以通过数组为页面配置多个自定义路由 "pages/my/index": "/my", "pages/meetup/index": "/meetup", diff --git a/src/index.html b/src/index.html index 5ca3eca..4cd4586 100644 --- a/src/index.html +++ b/src/index.html @@ -1,75 +1,65 @@ - - - - - - - - - 数字游民CNA - - - - - + - - - - - - - - - - - -
- - + /* 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); + })(); + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/src/pages/book/index.tsx b/src/pages/book/index.tsx index fc9bd10..8ffa802 100644 --- a/src/pages/book/index.tsx +++ b/src/pages/book/index.tsx @@ -51,10 +51,18 @@ const Book = () => { return ( - + > */} + + 分类 + + 列表1{" "} + 列表2{" "} + 列表3 + ); };