From ef76de7a5c1b839694fc08b988ab5f6623d30742 Mon Sep 17 00:00:00 2001 From: Seven Date: Wed, 17 Dec 2025 15:52:24 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=8A=A0=E5=AF=86?= =?UTF-8?q?=E8=B4=A7=E5=B8=81=E5=9B=BE=E6=A0=87=E6=94=AF=E6=8C=81=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B5=84=E4=BA=A7=E5=B1=95=E7=A4=BA=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 4 ++ package.json | 1 + pnpm-lock.yaml | 10 +++++ src/components/ui/avatar/index.vue | 10 ++--- src/config/crypto.ts | 13 +++++++ src/views/user/components/asset-balance.vue | 2 +- src/views/user/components/asset.vue | 38 +++++++++++++++++++ src/views/user/components/issuing-asset.vue | 2 +- src/views/user/components/my-revenue.vue | 2 +- src/views/user/components/trade-settings.vue | 2 +- src/views/user/components/user-info.vue | 2 +- src/views/user/components/wallet-card.vue | 40 ++++++++++++++------ src/views/user/index.vue | 17 +++++---- 13 files changed, 111 insertions(+), 32 deletions(-) create mode 100644 src/config/crypto.ts create mode 100644 src/views/user/components/asset.vue diff --git a/components.d.ts b/components.d.ts index 88d5c43..7bd4c86 100644 --- a/components.d.ts +++ b/components.d.ts @@ -39,6 +39,8 @@ declare module 'vue' { IonRippleEffect: typeof import('@ionic/vue')['IonRippleEffect'] IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet'] IonSearchbar: typeof import('@ionic/vue')['IonSearchbar'] + IonSegment: typeof import('@ionic/vue')['IonSegment'] + IonSegmentButton: typeof import('@ionic/vue')['IonSegmentButton'] IonSelect: typeof import('@ionic/vue')['IonSelect'] IonSelectOption: typeof import('@ionic/vue')['IonSelectOption'] IonTabBar: typeof import('@ionic/vue')['IonTabBar'] @@ -89,6 +91,8 @@ declare global { const IonRippleEffect: typeof import('@ionic/vue')['IonRippleEffect'] const IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet'] const IonSearchbar: typeof import('@ionic/vue')['IonSearchbar'] + const IonSegment: typeof import('@ionic/vue')['IonSegment'] + const IonSegmentButton: typeof import('@ionic/vue')['IonSegmentButton'] const IonSelect: typeof import('@ionic/vue')['IonSelect'] const IonSelectOption: typeof import('@ionic/vue')['IonSelectOption'] const IonTabBar: typeof import('@ionic/vue')['IonTabBar'] diff --git a/package.json b/package.json index af951d5..6e98304 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "devDependencies": { "@antfu/eslint-config": "^6.6.1", "@capacitor/cli": "8.0.0", + "@iconify-json/cryptocurrency-color": "^1.2.4", "@iconify-json/ic": "^1.2.4", "@iconify-json/material-icon-theme": "^1.2.44", "@iconify/vue": "^5.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 040f629..643d06e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -87,6 +87,9 @@ importers: '@capacitor/cli': specifier: 8.0.0 version: 8.0.0 + '@iconify-json/cryptocurrency-color': + specifier: ^1.2.4 + version: 1.2.4 '@iconify-json/ic': specifier: ^1.2.4 version: 1.2.4 @@ -1106,6 +1109,9 @@ packages: resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} + '@iconify-json/cryptocurrency-color@1.2.4': + resolution: {integrity: sha512-8vjIfTAAMg0zo3/CdVWV7YjViY1L/q4TFfjROmqRPCRPhM6iVecW4TzMFS8hxm48S2Ge69SNM1yC8FmHT+jfHw==} + '@iconify-json/ic@1.2.4': resolution: {integrity: sha512-pzPMmrZrBQuwT7nmtrYdkttun8KalRGgZPIL1Ny9KpF2zjRGIUPN+npTfuD3lrgO/OnSwAoJWuekQwBpt/Cqrw==} @@ -5677,6 +5683,10 @@ snapshots: '@humanwhocodes/retry@0.4.3': {} + '@iconify-json/cryptocurrency-color@1.2.4': + dependencies: + '@iconify/types': 2.0.0 + '@iconify-json/ic@1.2.4': dependencies: '@iconify/types': 2.0.0 diff --git a/src/components/ui/avatar/index.vue b/src/components/ui/avatar/index.vue index 860a4c2..cfe5aa6 100644 --- a/src/components/ui/avatar/index.vue +++ b/src/components/ui/avatar/index.vue @@ -3,7 +3,7 @@