diff --git a/.windsurf/rules/yl.md b/.windsurf/rules/yl.md index c4ccb05..edb9865 100644 --- a/.windsurf/rules/yl.md +++ b/.windsurf/rules/yl.md @@ -4,4 +4,5 @@ trigger: always_on 1. always use chinese to response 2. 尽量使用 element-plus 的组件内容 -3. 开发的时候尽量少使用 css 内容,能不用尽量不用 \ No newline at end of file +3. 开发的时候尽量少使用 css 内容,能不用尽量不用 +4. 使用 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,