From 08272b344cd691f9dc2d64a2876aa220bde66691 Mon Sep 17 00:00:00 2001 From: SeeChen Date: Wed, 27 Nov 2024 20:04:19 +0800 Subject: [PATCH] Update --- CascadingStyleSheets/Projects/projects.css | 0 JavaScript/General/route.js | 7 ++++++- spa.html | 23 ++++++++++++---------- 3 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 CascadingStyleSheets/Projects/projects.css diff --git a/CascadingStyleSheets/Projects/projects.css b/CascadingStyleSheets/Projects/projects.css new file mode 100644 index 0000000..e69de29 diff --git a/JavaScript/General/route.js b/JavaScript/General/route.js index 7fafcd3..405c3bb 100644 --- a/JavaScript/General/route.js +++ b/JavaScript/General/route.js @@ -36,7 +36,7 @@ const myFunction = { } window.webpages.currentPages = SeeChen_CurrentPage; - await window.webpages.currentPages.init(); + // await window.webpages.currentPages.init(); } }, @@ -221,6 +221,11 @@ const routes = { window.myData.travel.isProvice = false; await routesFunction.travel(); }, + "/旅行": async () => { + window.myData.travel.isCountry = false; + window.myData.travel.isProvice = false; + await routesFunction.travel(); + }, "/travel/:countryId": async ( params ) => { diff --git a/spa.html b/spa.html index e78690e..6342cf5 100644 --- a/spa.html +++ b/spa.html @@ -12,6 +12,14 @@ + + + SEECHEN's Website @@ -56,15 +64,6 @@ - - - - @@ -90,7 +89,11 @@ -
+
+
+ +
+