From 2c4df90b3142f4113e082b02b516a9a5af8d483a Mon Sep 17 00:00:00 2001 From: Seven Date: Sat, 13 Dec 2025 22:21:58 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20API=20=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=85=85=E5=80=BC=E6=B8=A0?= =?UTF-8?q?=E9=81=93=E7=BB=84=E4=BB=B6=EF=BC=8C=E4=BC=98=E5=8C=96=E9=92=B1?= =?UTF-8?q?=E5=8C=85=E5=8D=A1=E7=89=87=E4=BB=A5=E6=94=AF=E6=8C=81=E5=85=85?= =?UTF-8?q?=E5=80=BC=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- components.d.ts | 16 +++++++++ src/locales/index.ts | 1 + .../user/components/recharge-channel.vue | 36 +++++++++++++++++++ src/views/user/components/wallet-card.vue | 15 ++++++-- 5 files changed, 67 insertions(+), 3 deletions(-) create mode 100644 src/views/user/components/recharge-channel.vue diff --git a/.env b/.env index c5d1ca7..59e61ef 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -VITE_API_URL=http://192.168.1.36:9527 \ No newline at end of file +VITE_API_URL=http://192.168.1.36:9528 \ No newline at end of file diff --git a/components.d.ts b/components.d.ts index c9aea52..f19b662 100644 --- a/components.d.ts +++ b/components.d.ts @@ -12,6 +12,10 @@ export {} /* prettier-ignore */ declare module 'vue' { export interface GlobalComponents { + IIcBaselineArrowForwardIos: typeof import('~icons/ic/baseline-arrow-forward-ios')['default'] + IIcBaselineDataSaverOff: typeof import('~icons/ic/baseline-data-saver-off')['default'] + IIcBaselineDownloading: typeof import('~icons/ic/baseline-downloading')['default'] + IIcRoundArrowForwardIos: typeof import('~icons/ic/round-arrow-forward-ios')['default'] IonApp: typeof import('@ionic/vue')['IonApp'] IonAvatar: typeof import('@ionic/vue')['IonAvatar'] IonBackButton: typeof import('@ionic/vue')['IonBackButton'] @@ -25,8 +29,12 @@ declare module 'vue' { IonContent: typeof import('@ionic/vue')['IonContent'] IonHeader: typeof import('@ionic/vue')['IonHeader'] IonIcon: typeof import('@ionic/vue')['IonIcon'] + IonImg: typeof import('@ionic/vue')['IonImg'] IonInputOtp: typeof import('@ionic/vue')['IonInputOtp'] + IonItem: typeof import('@ionic/vue')['IonItem'] IonLabel: typeof import('@ionic/vue')['IonLabel'] + IonList: typeof import('@ionic/vue')['IonList'] + IonModal: typeof import('@ionic/vue')['IonModal'] IonPage: typeof import('@ionic/vue')['IonPage'] IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet'] IonSearchbar: typeof import('@ionic/vue')['IonSearchbar'] @@ -47,6 +55,10 @@ declare module 'vue' { // For TSX support declare global { + const IIcBaselineArrowForwardIos: typeof import('~icons/ic/baseline-arrow-forward-ios')['default'] + const IIcBaselineDataSaverOff: typeof import('~icons/ic/baseline-data-saver-off')['default'] + const IIcBaselineDownloading: typeof import('~icons/ic/baseline-downloading')['default'] + const IIcRoundArrowForwardIos: typeof import('~icons/ic/round-arrow-forward-ios')['default'] const IonApp: typeof import('@ionic/vue')['IonApp'] const IonAvatar: typeof import('@ionic/vue')['IonAvatar'] const IonBackButton: typeof import('@ionic/vue')['IonBackButton'] @@ -60,8 +72,12 @@ declare global { const IonContent: typeof import('@ionic/vue')['IonContent'] const IonHeader: typeof import('@ionic/vue')['IonHeader'] const IonIcon: typeof import('@ionic/vue')['IonIcon'] + const IonImg: typeof import('@ionic/vue')['IonImg'] const IonInputOtp: typeof import('@ionic/vue')['IonInputOtp'] + const IonItem: typeof import('@ionic/vue')['IonItem'] const IonLabel: typeof import('@ionic/vue')['IonLabel'] + const IonList: typeof import('@ionic/vue')['IonList'] + const IonModal: typeof import('@ionic/vue')['IonModal'] const IonPage: typeof import('@ionic/vue')['IonPage'] const IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet'] const IonSearchbar: typeof import('@ionic/vue')['IonSearchbar'] diff --git a/src/locales/index.ts b/src/locales/index.ts index c1819c5..fa6b03d 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -5,6 +5,7 @@ import zhCN from "./zh-CN.json"; export type MessageSchema = typeof enUS; const i18n = createI18n({ + legacy: false, locale: "en-US", fallbackLocale: "en-US", messages: { diff --git a/src/views/user/components/recharge-channel.vue b/src/views/user/components/recharge-channel.vue new file mode 100644 index 0000000..e43ec2d --- /dev/null +++ b/src/views/user/components/recharge-channel.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/views/user/components/wallet-card.vue b/src/views/user/components/wallet-card.vue index c39ad39..cbb38ad 100644 --- a/src/views/user/components/wallet-card.vue +++ b/src/views/user/components/wallet-card.vue @@ -1,11 +1,17 @@ - +