From c7786871b09976d83f50a5231903f117fbdad122 Mon Sep 17 00:00:00 2001 From: Seven Date: Thu, 8 Jan 2026 17:18:53 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=8C=85=E6=8B=AC?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E7=9A=84=E5=88=9B=E5=BB=BA=E3=80=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=B1=95=E7=A4=BA=E5=8F=8A=E7=9B=B8=E5=85=B3=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E9=85=8D=E7=BD=AE=EF=BC=9B=E6=9B=B4=E6=96=B0=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 2 +- .env.test | 2 +- package.json | 2 +- pnpm-lock.yaml | 12 +- src/router/elegant/imports.ts | 2 +- src/router/elegant/routes.ts | 19 +- src/router/elegant/transform.ts | 2 +- src/typings/elegant-router.d.ts | 5 +- src/views/notification/components/add.vue | 215 ++++++++++++++++++++++ src/views/notification/index.vue | 147 +++++++++++++++ src/views/user/transfer/index.vue | 108 ----------- 11 files changed, 386 insertions(+), 130 deletions(-) create mode 100644 src/views/notification/components/add.vue create mode 100644 src/views/notification/index.vue delete mode 100644 src/views/user/transfer/index.vue diff --git a/.env.prod b/.env.prod index c15f376..53ae587 100644 --- a/.env.prod +++ b/.env.prod @@ -1,5 +1,5 @@ # backend service base url, prod environment -VITE_SERVICE_BASE_URL=http://192.168.1.6:9527 +VITE_SERVICE_BASE_URL=http://192.168.1.7:9527 # other backend service base url, prod environment VITE_OTHER_SERVICE_BASE_URL= `{}` diff --git a/.env.test b/.env.test index 696003b..56183a0 100644 --- a/.env.test +++ b/.env.test @@ -1,5 +1,5 @@ # backend service base url, test environment -VITE_SERVICE_BASE_URL=http://192.168.1.17:9528 +VITE_SERVICE_BASE_URL=http://192.168.1.7:9528 # other backend service base url, test environment VITE_OTHER_SERVICE_BASE_URL= `{}` diff --git a/package.json b/package.json index 14882cc..3ddb3df 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@better-scroll/core": "2.5.1", "@elysiajs/eden": "^1.4.5", "@iconify/vue": "5.0.0", - "@riwa/api-types": "http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz", + "@riwa/api-types": "http://192.168.1.7:9527/api/riwa-eden-0.0.98.tgz", "@sa/axios": "workspace:*", "@sa/color": "workspace:*", "@sa/hooks": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1db612..2e5d0bd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: 5.0.0 version: 5.0.0(vue@3.5.25(typescript@5.9.3)) '@riwa/api-types': - specifier: http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz - version: '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))' + specifier: http://192.168.1.7:9527/api/riwa-eden-0.0.98.tgz + version: '@riwa/eden@http://192.168.1.7:9527/api/riwa-eden-0.0.98.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))' '@sa/axios': specifier: workspace:* version: link:packages/axios @@ -1083,9 +1083,9 @@ packages: '@quansync/fs@0.1.6': resolution: {integrity: sha512-zoA8SqQO11qH9H8FCBR7NIbowYARIPmBz3nKjgAaOUDi/xPAAu1uAgebtV7KXHTc6CDZJVRZ1u4wIGvY5CWYaw==} - '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz': - resolution: {tarball: http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz} - version: 0.0.84 + '@riwa/eden@http://192.168.1.7:9527/api/riwa-eden-0.0.98.tgz': + resolution: {tarball: http://192.168.1.7:9527/api/riwa-eden-0.0.98.tgz} + version: 0.0.98 peerDependencies: '@elysiajs/eden': ^1.4.5 @@ -5080,7 +5080,7 @@ snapshots: dependencies: quansync: 0.3.0 - '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))': + '@riwa/eden@http://192.168.1.7:9527/api/riwa-eden-0.0.98.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))': dependencies: '@elysiajs/eden': 1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)) diff --git a/src/router/elegant/imports.ts b/src/router/elegant/imports.ts index 9b24b46..3e4d1c9 100644 --- a/src/router/elegant/imports.ts +++ b/src/router/elegant/imports.ts @@ -24,6 +24,7 @@ export const views: Record Promise import("@/views/bank/index.vue"), deposit_fiat: () => import("@/views/deposit/fiat/index.vue"), home: () => import("@/views/home/index.vue"), + notification: () => import("@/views/notification/index.vue"), rwa_product: () => import("@/views/rwa/product/index.vue"), rwa_producttype: () => import("@/views/rwa/productType/index.vue"), rwa_subscribe: () => import("@/views/rwa/subscribe/index.vue"), @@ -32,7 +33,6 @@ export const views: Record Promise import("@/views/transfer/index.vue"), user_bankcard: () => import("@/views/user/bankcard/index.vue"), user_list: () => import("@/views/user/list/index.vue"), - user_transfer: () => import("@/views/user/transfer/index.vue"), withdraw_approved: () => import("@/views/withdraw/approved/index.vue"), withdraw_fiat: () => import("@/views/withdraw/fiat/index.vue"), }; diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index edc0e67..76d0298 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -116,6 +116,16 @@ export const generatedRoutes: GeneratedRoute[] = [ hideInMenu: true } }, + { + name: 'notification', + path: '/notification', + component: 'layout.base$view.notification', + meta: { + title: 'notification', + i18nKey: 'route.notification', + order: 7 + } + }, { name: 'rwa', path: '/rwa', @@ -222,15 +232,6 @@ export const generatedRoutes: GeneratedRoute[] = [ title: 'user_list', i18nKey: 'route.user_list' } - }, - { - name: 'user_transfer', - path: '/user/transfer', - component: 'view.user_transfer', - meta: { - title: 'user_transfer', - i18nKey: 'route.user_transfer' - } } ] }, diff --git a/src/router/elegant/transform.ts b/src/router/elegant/transform.ts index 558a199..ab462eb 100644 --- a/src/router/elegant/transform.ts +++ b/src/router/elegant/transform.ts @@ -173,6 +173,7 @@ const routeMap: RouteMap = { "home": "/home", "iframe-page": "/iframe-page/:url", "login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?", + "notification": "/notification", "rwa": "/rwa", "rwa_product": "/rwa/product", "rwa_producttype": "/rwa/producttype", @@ -184,7 +185,6 @@ const routeMap: RouteMap = { "user": "/user", "user_bankcard": "/user/bankcard", "user_list": "/user/list", - "user_transfer": "/user/transfer", "withdraw": "/withdraw", "withdraw_approved": "/withdraw/approved", "withdraw_fiat": "/withdraw/fiat" diff --git a/src/typings/elegant-router.d.ts b/src/typings/elegant-router.d.ts index e34aaf2..b47155a 100644 --- a/src/typings/elegant-router.d.ts +++ b/src/typings/elegant-router.d.ts @@ -27,6 +27,7 @@ declare module "@elegant-router/types" { "home": "/home"; "iframe-page": "/iframe-page/:url"; "login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?"; + "notification": "/notification"; "rwa": "/rwa"; "rwa_product": "/rwa/product"; "rwa_producttype": "/rwa/producttype"; @@ -38,7 +39,6 @@ declare module "@elegant-router/types" { "user": "/user"; "user_bankcard": "/user/bankcard"; "user_list": "/user/list"; - "user_transfer": "/user/transfer"; "withdraw": "/withdraw"; "withdraw_approved": "/withdraw/approved"; "withdraw_fiat": "/withdraw/fiat"; @@ -82,6 +82,7 @@ declare module "@elegant-router/types" { | "home" | "iframe-page" | "login" + | "notification" | "rwa" | "tokenization" | "transfer" @@ -112,6 +113,7 @@ declare module "@elegant-router/types" { | "bank" | "deposit_fiat" | "home" + | "notification" | "rwa_product" | "rwa_producttype" | "rwa_subscribe" @@ -120,7 +122,6 @@ declare module "@elegant-router/types" { | "transfer" | "user_bankcard" | "user_list" - | "user_transfer" | "withdraw_approved" | "withdraw_fiat" >; diff --git a/src/views/notification/components/add.vue b/src/views/notification/components/add.vue new file mode 100644 index 0000000..fad917b --- /dev/null +++ b/src/views/notification/components/add.vue @@ -0,0 +1,215 @@ + + + + + diff --git a/src/views/notification/index.vue b/src/views/notification/index.vue new file mode 100644 index 0000000..abfa142 --- /dev/null +++ b/src/views/notification/index.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/src/views/user/transfer/index.vue b/src/views/user/transfer/index.vue deleted file mode 100644 index 479ff39..0000000 --- a/src/views/user/transfer/index.vue +++ /dev/null @@ -1,108 +0,0 @@ - - - - -