diff --git a/Yi.Bbs.Vue3/src/layout/signIn/index.vue b/Yi.Bbs.Vue3/src/layout/activity/Index.vue
similarity index 90%
rename from Yi.Bbs.Vue3/src/layout/signIn/index.vue
rename to Yi.Bbs.Vue3/src/layout/activity/Index.vue
index 217e2782..dc9c7be7 100644
--- a/Yi.Bbs.Vue3/src/layout/signIn/index.vue
+++ b/Yi.Bbs.Vue3/src/layout/activity/Index.vue
@@ -1,83 +1,83 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/Yi.Bbs.Vue3/src/layout/signIn/components/signBody.vue b/Yi.Bbs.Vue3/src/layout/activity/components/ActivityBody.vue
similarity index 73%
rename from Yi.Bbs.Vue3/src/layout/signIn/components/signBody.vue
rename to Yi.Bbs.Vue3/src/layout/activity/components/ActivityBody.vue
index ec2c7ce8..5859c97e 100644
--- a/Yi.Bbs.Vue3/src/layout/signIn/components/signBody.vue
+++ b/Yi.Bbs.Vue3/src/layout/activity/components/ActivityBody.vue
@@ -1,32 +1,36 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/Yi.Bbs.Vue3/src/layout/activity/components/ActivityNav.vue b/Yi.Bbs.Vue3/src/layout/activity/components/ActivityNav.vue
new file mode 100644
index 00000000..79be9082
--- /dev/null
+++ b/Yi.Bbs.Vue3/src/layout/activity/components/ActivityNav.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Yi.Bbs.Vue3/src/router/index.js b/Yi.Bbs.Vue3/src/router/index.js
index 97f63a9a..826274ca 100644
--- a/Yi.Bbs.Vue3/src/router/index.js
+++ b/Yi.Bbs.Vue3/src/router/index.js
@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
import Layout from "../layout/Index.vue";
import NotFound from "../views/error/404.vue";
import LoginLayout from "../layout/LoginLayout.vue";
-import SignInLayout from "../layout/signIn/index.vue";
+import ActivityLayout from "../layout/activity/Index.vue";
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
scrollBehavior(to, from, savedPosition) {
@@ -100,15 +100,15 @@ const router = createRouter({
],
},
{
- path: "/sign",
- name: "signInLayout",
- component: SignInLayout,
- redirect: "/sign/everyday",
+ path: "/activity",
+ name: "activityLayout",
+ component: ActivityLayout,
+ redirect: "/activity/sign",
children: [
{
- name: "everyday",
- path: "everyday",
- component: () => import("../views/signIn/index.vue"),
+ name: "sign",
+ path: "sign",
+ component: () => import("../views/signIn/Index.vue"),
meta: {
title: "每日签到",
},
diff --git a/Yi.Bbs.Vue3/src/views/home/Index.vue b/Yi.Bbs.Vue3/src/views/home/Index.vue
index f6848efe..00261daa 100644
--- a/Yi.Bbs.Vue3/src/views/home/Index.vue
+++ b/Yi.Bbs.Vue3/src/views/home/Index.vue
@@ -296,7 +296,7 @@ const statisOptions = computed(() => {
});
const handleToSign = () => {
- router.push("/sign");
+ router.push("/activity/sign");
};
// 推送的实时人数获取