feat: add new components and update UI and type declarations

- add AiTabSwitch component with its image assets and styles
- add Welcome component for welcome text, weather display and notice messages
- update ChatMainList to use new components and add background header layout
- replace custom swiper in NoticeMessage with Vant VanSwipe component
- add Vant Swipe type definitions to components.d.ts
This commit is contained in:
DEV_DSW
2026-05-27 11:06:30 +08:00
parent a75bb909f1
commit df2f158018
10 changed files with 39 additions and 39 deletions

6
components.d.ts vendored
View File

@@ -50,6 +50,9 @@ declare module 'vue' {
VanIcon: typeof import('vant/es')['Icon']
VanIcons: typeof import('vant/es')['Icons']
VanPopup: typeof import('vant/es')['Popup']
VanSwipe: typeof import('vant/es')['Swipe']
VanSwipeItem: typeof import('vant/es')['SwipeItem']
VanSwiperItem: typeof import('vant/es')['SwiperItem']
ZnIcon: typeof import('./src/components/ZnIcon/index.vue')['default']
}
}
@@ -94,5 +97,8 @@ declare global {
const VanIcon: typeof import('vant/es')['Icon']
const VanIcons: typeof import('vant/es')['Icons']
const VanPopup: typeof import('vant/es')['Popup']
const VanSwipe: typeof import('vant/es')['Swipe']
const VanSwipeItem: typeof import('vant/es')['SwipeItem']
const VanSwiperItem: typeof import('vant/es')['SwiperItem']
const ZnIcon: typeof import('./src/components/ZnIcon/index.vue')['default']
}