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:
6
components.d.ts
vendored
6
components.d.ts
vendored
@@ -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']
|
||||
}
|
||||
Reference in New Issue
Block a user