From 72775b4b37c7df4d8bbda9ae983a3f14566d6fa1 Mon Sep 17 00:00:00 2001 From: Seven Date: Thu, 18 Dec 2025 23:40:51 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20UiTag=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1=E5=92=8C?= =?UTF-8?q?=E5=B8=82=E5=9C=BA=E8=A7=86=E5=9B=BE=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 2 + src/components/ui/tag/index.vue | 48 ++++++++++++++ src/router/index.ts | 5 ++ src/views/chat/index.vue | 2 +- src/views/market/components/rwa-list.vue | 79 ++++++++++++++---------- src/views/market/index.vue | 11 +++- src/views/trade-rwa/index.vue | 26 ++++++++ src/views/user/index.vue | 2 +- 8 files changed, 137 insertions(+), 38 deletions(-) create mode 100644 src/components/ui/tag/index.vue create mode 100644 src/views/trade-rwa/index.vue diff --git a/components.d.ts b/components.d.ts index c85f90c..e242fd9 100644 --- a/components.d.ts +++ b/components.d.ts @@ -64,6 +64,7 @@ declare module 'vue' { UiResult: typeof import('./src/components/ui/result/index.vue')['default'] UiTabPane: typeof import('./src/components/ui/tab-pane/index.vue')['default'] UiTabs: typeof import('./src/components/ui/tabs/index.vue')['default'] + UiTag: typeof import('./src/components/ui/tag/index.vue')['default'] } } @@ -121,4 +122,5 @@ declare global { const UiResult: typeof import('./src/components/ui/result/index.vue')['default'] const UiTabPane: typeof import('./src/components/ui/tab-pane/index.vue')['default'] const UiTabs: typeof import('./src/components/ui/tabs/index.vue')['default'] + const UiTag: typeof import('./src/components/ui/tag/index.vue')['default'] } \ No newline at end of file diff --git a/src/components/ui/tag/index.vue b/src/components/ui/tag/index.vue new file mode 100644 index 0000000..3ab84cd --- /dev/null +++ b/src/components/ui/tag/index.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index 5b3ba53..1056b1b 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -66,6 +66,11 @@ const routes: Array = [ path: "/trade-settings/bank-management/add", component: () => import("@/views/trade-settings/bank-management/add.vue"), }, + { + path: "/trade-rwa/:id", + props: true, + component: () => import("@/views/trade-rwa/index.vue"), + }, ]; const router = createRouter({ diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index bf5d4c7..fa976e9 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -5,7 +5,7 @@ import IcOutlineCleaningServices from "~icons/ic/outline-cleaning-services";