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 + ); };