From 122ddb9e2ca7ba78ab3aa80f00fe9607a41e86de Mon Sep 17 00:00:00 2001 From: ZhuangYumin Date: Sun, 17 Dec 2023 03:55:12 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E5=9B=BE=E4=B9=A6=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/Web/admin.html | 2 +- frontend/Web/buy.html | 124 +++++++++++++++++++++++++++++++++++++ frontend/Web/index.html | 2 +- frontend/Web/index.js | 4 ++ frontend/Web/login.html | 2 +- frontend/Web/passwd.html | 2 +- frontend/Web/register.html | 2 +- 7 files changed, 133 insertions(+), 5 deletions(-) create mode 100644 frontend/Web/buy.html diff --git a/frontend/Web/admin.html b/frontend/Web/admin.html index 22c599c..69fb7e7 100644 --- a/frontend/Web/admin.html +++ b/frontend/Web/admin.html @@ -70,7 +70,7 @@
This is content. diff --git a/frontend/Web/buy.html b/frontend/Web/buy.html new file mode 100644 index 0000000..bf254d7 --- /dev/null +++ b/frontend/Web/buy.html @@ -0,0 +1,124 @@ + + + + + Buy - ZYM's Book Store + + + + + +
+

ZYM's Book Store

+
+ Welcome, [Guest] +
+
Actions
+ +
+
+
+ +
+ +
+
+
+ + + +
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/frontend/Web/index.html b/frontend/Web/index.html index f47efd5..b740e34 100644 --- a/frontend/Web/index.html +++ b/frontend/Web/index.html @@ -29,7 +29,7 @@
diff --git a/frontend/Web/index.js b/frontend/Web/index.js index a0c4fb8..ffc0375 100644 --- a/frontend/Web/index.js +++ b/frontend/Web/index.js @@ -195,6 +195,10 @@ app.get('/admin', (req, res) => { res.sendFile(join(__dirname, 'admin.html')); }); +app.get('/buy', (req, res) => { + res.sendFile(join(__dirname, 'buy.html')); +}); + server.listen(3000, () => { console.log('server running at http://localhost:3000'); }); \ No newline at end of file diff --git a/frontend/Web/login.html b/frontend/Web/login.html index b4831eb..5166ad7 100644 --- a/frontend/Web/login.html +++ b/frontend/Web/login.html @@ -69,7 +69,7 @@