From a4bcf1da53231d186c1371bf60690df9376d37b8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-8UQ1PPR\\09158" Date: Mon, 13 Nov 2023 18:54:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B3=BC=E8=B2=B7=E3=80=81=E9=80=9A=E8=A8=8A?= =?UTF-8?q?=E9=8C=84=E9=A0=81=E9=9D=A2=E8=99=95=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 6 +++++ src/views/Address/index.vue | 50 +++++++++++++++++++++++++++++++++++++ src/views/Home/index.vue | 12 +++++---- src/views/Shop/index.vue | 32 +++++++++++++----------- 4 files changed, 81 insertions(+), 19 deletions(-) create mode 100644 src/views/Address/index.vue diff --git a/src/router/index.js b/src/router/index.js index 90a9c73..b4aa399 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -39,6 +39,12 @@ const routes = [ component: () => import("../views/Member/index.vue"), }, + { + path: "/address", + name: "Address", + component: () => + import("../views/Address/index.vue"), + }, { path: "/card", name: "Card", diff --git a/src/views/Address/index.vue b/src/views/Address/index.vue new file mode 100644 index 0000000..0b72cbc --- /dev/null +++ b/src/views/Address/index.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/src/views/Home/index.vue b/src/views/Home/index.vue index 06beb52..71d6a29 100644 --- a/src/views/Home/index.vue +++ b/src/views/Home/index.vue @@ -123,6 +123,11 @@ onBeforeMount(async () => { const noticeData = ref([]); const adData = ref({}); +const noticeClick = (num) => { + let url = noticeData.value[num].ad_link; + window.open(url, "_blank"); +}; + const handleAD = async () => { let res; @@ -131,10 +136,7 @@ const handleAD = async () => { noticeData.value = res.data; } - const noticeClick = (num) => { - let url = noticeData.value[num].ad_link; - window.open(url, "_blank"); - }; + res = await getMovie(); console.log('res',res) @@ -319,7 +321,7 @@ const handleLogout = () => {
商務卡片
-
+
通訊錄
diff --git a/src/views/Shop/index.vue b/src/views/Shop/index.vue index 2272af2..1a2fd1d 100644 --- a/src/views/Shop/index.vue +++ b/src/views/Shop/index.vue @@ -1,23 +1,10 @@ - - + +