From d10ab302d58d4c01443f4adb583339d1e465bbd5 Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Thu, 8 May 2025 17:04:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E5=B9=B6=E6=B7=BB=E5=8A=A0=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 添加首页轮播图组件 ImageSlider。 2. 添加我的任务组件 MineTask,展示用户任务事项。 3. 调整首页组件结构,优化页面展示效果。 4. 更新 TypeScript 版本至 5.8.3。 5. 将 tsconfig.app.json 中的 module 修改为 ESNext,适配新的模块加载方式。 6. 在文档中强调使用 Vue3 的 ` diff --git a/src/views/Home/components/ImageSlider/types/slider.d.ts b/src/views/Home/components/ImageSlider/types/slider.d.ts new file mode 100644 index 0000000..c2d06a6 --- /dev/null +++ b/src/views/Home/components/ImageSlider/types/slider.d.ts @@ -0,0 +1,6 @@ +interface SliderItem { + id: number; + title: string; + subtitle: string; + image: string; + } \ No newline at end of file diff --git a/src/views/Home/components/MineTask/Index.vue b/src/views/Home/components/MineTask/Index.vue new file mode 100644 index 0000000..3d13b8a --- /dev/null +++ b/src/views/Home/components/MineTask/Index.vue @@ -0,0 +1,146 @@ + + + + + diff --git a/tsconfig.app.json b/tsconfig.app.json index b86a88e..8ce863f 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -15,7 +15,8 @@ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "allowJs": true, "baseUrl": ".", - "module": "commonjs", + "module": "ESNext", + // "module": "commonjs", "moduleResolution": "node", "esModuleInterop": true, "allowSyntheticDefaultImports": true,