From 99a0ecc8e5bbf04d7953fef3215f46c0e6903c89 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Tue, 29 Apr 2025 15:44:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 5 ++ src/views/homepage.vue | 1 + src/views/homework/homework.vue | 145 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 src/views/homework/homework.vue diff --git a/src/router/index.js b/src/router/index.js index 2302e16..aba13fd 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -18,6 +18,11 @@ const routes = [ path: '/animation', name: 'animation', component: () => import('../views/animation/anima.vue') + }, + { + path: '/homework', + name: 'homework', + component: () => import('../views/homework/homework.vue') } ] // 创建路由实例 diff --git a/src/views/homepage.vue b/src/views/homepage.vue index 04e7114..9780e03 100644 --- a/src/views/homepage.vue +++ b/src/views/homepage.vue @@ -18,6 +18,7 @@ const router = useRouter() const buttons = [ { type: 'primary', text: '转盘',path:'/hxl_dzp1' }, { type: 'success', text: '动画',path:'/animation' }, + { type: 'success', text: '作业',path:'/homework' }, ] diff --git a/src/views/homework/homework.vue b/src/views/homework/homework.vue new file mode 100644 index 0000000..ac05b09 --- /dev/null +++ b/src/views/homework/homework.vue @@ -0,0 +1,145 @@ + + + + + \ No newline at end of file