From 9f74717c56ac94927b45f22e9fa6e2ed20cbe0ff Mon Sep 17 00:00:00 2001 From: Seven Date: Sat, 13 Dec 2025 13:30:51 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=92=8C=E9=92=B1=E5=8C=85=E5=8D=A1=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E5=92=8C=E4=BD=99=E9=A2=9D=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto-imports.d.ts | 2 ++ components.d.ts | 10 +++++++++ src/components/layout/default.vue | 13 +++++++---- src/router/index.ts | 4 ++++ src/utils/helper.ts | 6 +++++ src/views/chat/index.vue | 21 ++++++++++++++++++ src/views/user/components/wallet-card.vue | 27 +++++++++++++++++++++++ src/views/user/index.vue | 4 +++- 8 files changed, 82 insertions(+), 5 deletions(-) create mode 100644 src/utils/helper.ts create mode 100644 src/views/chat/index.vue create mode 100644 src/views/user/components/wallet-card.vue diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 0cabd25..388a569 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -35,6 +35,7 @@ declare global { const effectScope: typeof import('vue').effectScope const emailPattern: typeof import('./src/utils/pattern').emailPattern const extendRef: typeof import('@vueuse/core').extendRef + const formatBalance: typeof import('./src/utils/helper').formatBalance const getCurrentInstance: typeof import('vue').getCurrentInstance const getCurrentScope: typeof import('vue').getCurrentScope const getCurrentWatcher: typeof import('vue').getCurrentWatcher @@ -343,6 +344,7 @@ declare module 'vue' { readonly effectScope: UnwrapRef readonly emailPattern: UnwrapRef readonly extendRef: UnwrapRef + readonly formatBalance: UnwrapRef readonly getCurrentInstance: UnwrapRef readonly getCurrentScope: UnwrapRef readonly getCurrentWatcher: UnwrapRef diff --git a/components.d.ts b/components.d.ts index 01901df..d53d1af 100644 --- a/components.d.ts +++ b/components.d.ts @@ -17,6 +17,11 @@ declare module 'vue' { IonAvatar: typeof import('@ionic/vue')['IonAvatar'] IonButton: typeof import('@ionic/vue')['IonButton'] IonButtons: typeof import('@ionic/vue')['IonButtons'] + IonCard: typeof import('@ionic/vue')['IonCard'] + IonCardContent: typeof import('@ionic/vue')['IonCardContent'] + IonCardHeader: typeof import('@ionic/vue')['IonCardHeader'] + IonCardSubtitle: typeof import('@ionic/vue')['IonCardSubtitle'] + IonCardTitle: typeof import('@ionic/vue')['IonCardTitle'] IonContent: typeof import('@ionic/vue')['IonContent'] IonHeader: typeof import('@ionic/vue')['IonHeader'] IonIcon: typeof import('@ionic/vue')['IonIcon'] @@ -46,6 +51,11 @@ declare global { const IonAvatar: typeof import('@ionic/vue')['IonAvatar'] const IonButton: typeof import('@ionic/vue')['IonButton'] const IonButtons: typeof import('@ionic/vue')['IonButtons'] + const IonCard: typeof import('@ionic/vue')['IonCard'] + const IonCardContent: typeof import('@ionic/vue')['IonCardContent'] + const IonCardHeader: typeof import('@ionic/vue')['IonCardHeader'] + const IonCardSubtitle: typeof import('@ionic/vue')['IonCardSubtitle'] + const IonCardTitle: typeof import('@ionic/vue')['IonCardTitle'] const IonContent: typeof import('@ionic/vue')['IonContent'] const IonHeader: typeof import('@ionic/vue')['IonHeader'] const IonIcon: typeof import('@ionic/vue')['IonIcon'] diff --git a/src/components/layout/default.vue b/src/components/layout/default.vue index 4a61733..50b81c6 100644 --- a/src/components/layout/default.vue +++ b/src/components/layout/default.vue @@ -1,5 +1,5 @@