From e797612de6d6a14b318d9f75c5bc70852b5f5733 Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Fri, 15 May 2026 10:29:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/images/aida/diamond.svg | 3 + .../aida/{feature-1.png => industry-1.png} | Bin .../aida/{feature-2.png => industry-2.png} | Bin .../aida/{feature-3.png => industry-3.png} | Bin src/assets/images/aida/time.svg | 8 + src/main.ts | 4 +- src/pages/aida/index.vue | 0 src/pages/home/components/ProductFeature.vue | 249 ++++++++++++++++ src/pages/home/components/ProjectCta.vue | 83 ++++++ src/pages/home/index.vue | 276 +++++++++++++----- src/routes.ts | 18 +- 11 files changed, 554 insertions(+), 87 deletions(-) create mode 100644 src/assets/images/aida/diamond.svg rename src/assets/images/aida/{feature-1.png => industry-1.png} (100%) rename src/assets/images/aida/{feature-2.png => industry-2.png} (100%) rename src/assets/images/aida/{feature-3.png => industry-3.png} (100%) create mode 100644 src/assets/images/aida/time.svg create mode 100644 src/pages/aida/index.vue create mode 100644 src/pages/home/components/ProductFeature.vue create mode 100644 src/pages/home/components/ProjectCta.vue diff --git a/src/assets/images/aida/diamond.svg b/src/assets/images/aida/diamond.svg new file mode 100644 index 0000000..34afe3b --- /dev/null +++ b/src/assets/images/aida/diamond.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/assets/images/aida/feature-1.png b/src/assets/images/aida/industry-1.png similarity index 100% rename from src/assets/images/aida/feature-1.png rename to src/assets/images/aida/industry-1.png diff --git a/src/assets/images/aida/feature-2.png b/src/assets/images/aida/industry-2.png similarity index 100% rename from src/assets/images/aida/feature-2.png rename to src/assets/images/aida/industry-2.png diff --git a/src/assets/images/aida/feature-3.png b/src/assets/images/aida/industry-3.png similarity index 100% rename from src/assets/images/aida/feature-3.png rename to src/assets/images/aida/industry-3.png diff --git a/src/assets/images/aida/time.svg b/src/assets/images/aida/time.svg new file mode 100644 index 0000000..7dafc5e --- /dev/null +++ b/src/assets/images/aida/time.svg @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 28ef66f..6503b29 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,8 +9,8 @@ export const createApp = ViteSSG(App, { routes, base: import.meta.env.BASE_URL, }, - ({ app, router, routes, isClient, initialState }) => { + ({ app }) => { // 注册全局指令 app.use(directives) } -) \ No newline at end of file +) diff --git a/src/pages/aida/index.vue b/src/pages/aida/index.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/home/components/ProductFeature.vue b/src/pages/home/components/ProductFeature.vue new file mode 100644 index 0000000..7b24527 --- /dev/null +++ b/src/pages/home/components/ProductFeature.vue @@ -0,0 +1,249 @@ + + + + + diff --git a/src/pages/home/components/ProjectCta.vue b/src/pages/home/components/ProjectCta.vue new file mode 100644 index 0000000..3d33724 --- /dev/null +++ b/src/pages/home/components/ProjectCta.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index 509ed66..c8d3efb 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -1,95 +1,215 @@ - - - diff --git a/src/routes.ts b/src/routes.ts index dbd3576..3099476 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -11,23 +11,27 @@ export const routes: RouteRecordRaw[] = [ { path: '', component: HomeView, - alias: ['/:lang?', '/:lang?/home'], - + alias: ['/:lang?', '/:lang?/home'] }, { path: 'about', - component: AboutView, + component: AboutView }, { path: 'products', name: 'products', - component: ProductsView, + component: ProductsView }, { path: 'contact', name: 'contact', - component: ContactView, + component: ContactView }, - ], - }, + { + path: 'aida', + name: 'Aida', + component: () => import('./pages/aida/index.vue') + } + ] + } ]