diff --git a/src/assets/images/invite-banner.jpg b/src/assets/images/invite-banner.jpg new file mode 100644 index 0000000..b356d97 Binary files /dev/null and b/src/assets/images/invite-banner.jpg differ diff --git a/src/router/index.ts b/src/router/index.ts index 848cbef..5696ea7 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -39,6 +39,10 @@ const routes: Array = [ path: "/signup", component: () => import("@/views/signup/index.vue"), }, + { + path: "/invite", + component: () => import("@/views/invite/index.vue"), + }, ]; const router = createRouter({ diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 7312a33..eed36b7 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -68,7 +68,7 @@ const router = useRouter(); const quickActions = ref([ { id: 1, name: "签到", icon: calendarOutline, color: "#c32120" }, { id: 2, name: "团队中心", icon: peopleOutline, color: "#c32120" }, - { id: 3, name: "战略改革", icon: rocketOutline, color: "#c32120" }, + { id: 3, name: "邀请好友", icon: rocketOutline, color: "#c32120" }, { id: 4, name: "在线客服", icon: chatbubblesOutline, color: "#c32120" }, ]); @@ -80,6 +80,9 @@ function handleQuickAction(action: any) { case 2: console.log("团队中心"); break; + case 3: + router.push("/invite"); + break; } } diff --git a/src/views/invite/index.vue b/src/views/invite/index.vue new file mode 100644 index 0000000..3937e3f --- /dev/null +++ b/src/views/invite/index.vue @@ -0,0 +1,337 @@ + + + + +