diff --git a/components.d.ts b/components.d.ts index 287d54e..fc0ecf5 100644 --- a/components.d.ts +++ b/components.d.ts @@ -14,6 +14,7 @@ declare module 'vue' { export interface GlobalComponents { BackButton: typeof import('./src/components/back-button.vue')['default'] IonApp: typeof import('@ionic/vue')['IonApp'] + IonAvatar: typeof import('@ionic/vue')['IonAvatar'] IonButton: typeof import('@ionic/vue')['IonButton'] IonCheckbox: typeof import('@ionic/vue')['IonCheckbox'] IonContent: typeof import('@ionic/vue')['IonContent'] @@ -39,6 +40,7 @@ declare module 'vue' { declare global { const BackButton: typeof import('./src/components/back-button.vue')['default'] const IonApp: typeof import('@ionic/vue')['IonApp'] + const IonAvatar: typeof import('@ionic/vue')['IonAvatar'] const IonButton: typeof import('@ionic/vue')['IonButton'] const IonCheckbox: typeof import('@ionic/vue')['IonCheckbox'] const IonContent: typeof import('@ionic/vue')['IonContent'] diff --git a/src/assets/images/avatar.jpg b/src/assets/images/avatar.jpg new file mode 100644 index 0000000..07f5ab6 Binary files /dev/null and b/src/assets/images/avatar.jpg differ diff --git a/src/assets/images/home-banner.jpg b/src/assets/images/home-banner.jpg index 21ea013..2da6f7a 100644 Binary files a/src/assets/images/home-banner.jpg and b/src/assets/images/home-banner.jpg differ diff --git a/src/assets/images/home-banner.png b/src/assets/images/home-banner.png deleted file mode 100644 index d0bfac3..0000000 Binary files a/src/assets/images/home-banner.png and /dev/null differ diff --git a/src/assets/images/icon.png b/src/assets/images/icon.png new file mode 100644 index 0000000..61b6abd Binary files /dev/null and b/src/assets/images/icon.png differ diff --git a/src/assets/images/product-banner.jpg b/src/assets/images/product-banner.jpg new file mode 100644 index 0000000..16ae3b8 Binary files /dev/null and b/src/assets/images/product-banner.jpg differ diff --git a/src/assets/images/product.png b/src/assets/images/product.png new file mode 100644 index 0000000..a4cf259 Binary files /dev/null and b/src/assets/images/product.png differ diff --git a/src/assets/images/profile-banner.jpg b/src/assets/images/profile-banner.jpg new file mode 100644 index 0000000..2c7528c Binary files /dev/null and b/src/assets/images/profile-banner.jpg differ diff --git a/src/assets/images/service-banner1.jpg b/src/assets/images/service-banner1.jpg new file mode 100644 index 0000000..02a417c Binary files /dev/null and b/src/assets/images/service-banner1.jpg differ diff --git a/src/components/layout/default.vue b/src/components/layout/default.vue index 3c8f489..43809b3 100644 --- a/src/components/layout/default.vue +++ b/src/components/layout/default.vue @@ -1,5 +1,5 @@ @@ -11,28 +11,28 @@ const { t } = useI18n();
-
-
-
-
diff --git a/src/router/index.ts b/src/router/index.ts index 775e7d3..0e6a6e7 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -29,6 +29,10 @@ const routes: Array = [ path: "product", component: () => import("@/views/product/index.vue"), }, + { + path: "profile", + component: () => import("@/views/profile/index.vue"), + }, ], }, ]; diff --git a/src/theme/styles.css b/src/theme/styles.css new file mode 100644 index 0000000..be0ab6c --- /dev/null +++ b/src/theme/styles.css @@ -0,0 +1,3 @@ +* { + box-sizing: border-box; +} \ No newline at end of file diff --git a/src/views/home/index.vue b/src/views/home/index.vue index a26b486..9e8c363 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -45,6 +45,22 @@ const newsList = ref([ views: 1890, image: "https://picsum.photos/seed/news3/400/250", }, + { + id: 4, + title: "深化改革进入新阶段", + subtitle: "全面推进现代化建设,开创新局面", + time: "2026-01-16 10:30", + views: 1520, + image: "https://picsum.photos/seed/news1/400/250", + }, + { + id: 5, + title: "团队协作再创佳绩", + subtitle: "凝心聚力,共筑梦想,携手共进新时代", + time: "2026-01-15 16:20", + views: 2340, + image: "https://picsum.photos/seed/news2/400/250", + }, ]); // 快捷入口 @@ -98,100 +114,100 @@ onUnmounted(() => { diff --git a/src/views/service/index.vue b/src/views/service/index.vue index 25ef0e0..b74359d 100644 --- a/src/views/service/index.vue +++ b/src/views/service/index.vue @@ -41,20 +41,18 @@ function handleNewsClick(news: any) {