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 @@ - - + +