feat: 添加新闻模块,更新路由和组件,优化新闻列表和详情页

This commit is contained in:
2026-01-22 19:33:44 +07:00
parent 5cb485f4d2
commit a21ef1ebcc
8 changed files with 237 additions and 10 deletions

4
components.d.ts vendored
View File

@@ -13,6 +13,7 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
BackButton: typeof import('./src/components/back-button.vue')['default']
Divider: typeof import('./src/components/divider.vue')['default']
Empty: typeof import('./src/components/empty.vue')['default']
IonApp: typeof import('@ionic/vue')['IonApp']
IonAvatar: typeof import('@ionic/vue')['IonAvatar']
@@ -39,6 +40,7 @@ declare module 'vue' {
IonTabBar: typeof import('@ionic/vue')['IonTabBar']
IonTabButton: typeof import('@ionic/vue')['IonTabButton']
IonTabs: typeof import('@ionic/vue')['IonTabs']
IonText: typeof import('@ionic/vue')['IonText']
IonTextarea: typeof import('@ionic/vue')['IonTextarea']
IonTitle: typeof import('@ionic/vue')['IonTitle']
IonToggle: typeof import('@ionic/vue')['IonToggle']
@@ -52,6 +54,7 @@ declare module 'vue' {
// For TSX support
declare global {
const BackButton: typeof import('./src/components/back-button.vue')['default']
const Divider: typeof import('./src/components/divider.vue')['default']
const Empty: typeof import('./src/components/empty.vue')['default']
const IonApp: typeof import('@ionic/vue')['IonApp']
const IonAvatar: typeof import('@ionic/vue')['IonAvatar']
@@ -78,6 +81,7 @@ declare global {
const IonTabBar: typeof import('@ionic/vue')['IonTabBar']
const IonTabButton: typeof import('@ionic/vue')['IonTabButton']
const IonTabs: typeof import('@ionic/vue')['IonTabs']
const IonText: typeof import('@ionic/vue')['IonText']
const IonTextarea: typeof import('@ionic/vue')['IonTextarea']
const IonTitle: typeof import('@ionic/vue')['IonTitle']
const IonToggle: typeof import('@ionic/vue')['IonToggle']