diff --git a/package.json b/package.json index c6d2faa..cdc33b7 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.27:9527/api/riwa-api-types-0.0.64.tgz", + "@riwa/api-types": "http://192.168.1.27:9527/api/riwa-api-types-0.0.66.tgz", "@sa/axios": "workspace:*", "@sa/color": "workspace:*", "@sa/hooks": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bb16d0d..77c1618 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.27:9527/api/riwa-api-types-0.0.64.tgz - version: http://192.168.1.27:9527/api/riwa-api-types-0.0.64.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.27:9527/api/riwa-api-types-0.0.66.tgz + version: http://192.168.1.27:9527/api/riwa-api-types-0.0.66.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 @@ -1068,9 +1068,9 @@ packages: '@quansync/fs@0.1.6': resolution: {integrity: sha512-zoA8SqQO11qH9H8FCBR7NIbowYARIPmBz3nKjgAaOUDi/xPAAu1uAgebtV7KXHTc6CDZJVRZ1u4wIGvY5CWYaw==} - '@riwa/api-types@http://192.168.1.27:9527/api/riwa-api-types-0.0.64.tgz': - resolution: {tarball: http://192.168.1.27:9527/api/riwa-api-types-0.0.64.tgz} - version: 0.0.64 + '@riwa/api-types@http://192.168.1.27:9527/api/riwa-api-types-0.0.66.tgz': + resolution: {tarball: http://192.168.1.27:9527/api/riwa-api-types-0.0.66.tgz} + version: 0.0.66 peerDependencies: '@elysiajs/eden': ^1.4.5 @@ -5057,7 +5057,7 @@ snapshots: dependencies: quansync: 0.3.0 - '@riwa/api-types@http://192.168.1.27:9527/api/riwa-api-types-0.0.64.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/api-types@http://192.168.1.27:9527/api/riwa-api-types-0.0.66.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 b7e5979..9cf0814 100644 --- a/src/router/elegant/imports.ts +++ b/src/router/elegant/imports.ts @@ -25,6 +25,7 @@ export const views: Record Promise import("@/views/rwa/product/index.vue"), rwa_producttype: () => import("@/views/rwa/productType/index.vue"), rwa_subscribe: () => import("@/views/rwa/subscribe/index.vue"), + tradingpairs: () => import("@/views/tradingPairs/index.vue"), transfer: () => import("@/views/transfer/index.vue"), user_bank: () => import("@/views/user/bank/index.vue"), user_bankcard: () => import("@/views/user/bankcard/index.vue"), diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index 0793c22..d4059c7 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -215,14 +215,24 @@ export const generatedRoutes: GeneratedRoute[] = [ } ] }, - { + { name: 'transfer', path: '/transfer', component: 'layout.base$view.transfer', meta: { title: 'transfer', i18nKey: 'route.transfer', - order: 4 + order: 5 + } + }, + { + name: 'tradingpairs', + path: '/tradingpairs', + component: 'layout.base$view.tradingpairs', + meta: { + title: 'tradingpairs', + i18nKey: 'route.tradingpairs', + order: 6 } }, ]; diff --git a/src/router/elegant/transform.ts b/src/router/elegant/transform.ts index 1c4decd..9e16938 100644 --- a/src/router/elegant/transform.ts +++ b/src/router/elegant/transform.ts @@ -175,6 +175,7 @@ const routeMap: RouteMap = { "rwa_product": "/rwa/product", "rwa_producttype": "/rwa/producttype", "rwa_subscribe": "/rwa/subscribe", + "tradingpairs": "/tradingpairs", "transfer": "/transfer", "user": "/user", "user_bank": "/user/bank", diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index e57b793..092613b 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -59,6 +59,7 @@ declare module 'vue' { NEmpty: typeof import('naive-ui')['NEmpty'] NForm: typeof import('naive-ui')['NForm'] NFormItem: typeof import('naive-ui')['NFormItem'] + NFormItemGi: typeof import('naive-ui')['NFormItemGi'] NGi: typeof import('naive-ui')['NGi'] NGrid: typeof import('naive-ui')['NGrid'] NInput: typeof import('naive-ui')['NInput'] @@ -148,6 +149,7 @@ declare global { const NEmpty: typeof import('naive-ui')['NEmpty'] const NForm: typeof import('naive-ui')['NForm'] const NFormItem: typeof import('naive-ui')['NFormItem'] + const NFormItemGi: typeof import('naive-ui')['NFormItemGi'] const NGi: typeof import('naive-ui')['NGi'] const NGrid: typeof import('naive-ui')['NGrid'] const NInput: typeof import('naive-ui')['NInput'] diff --git a/src/typings/elegant-router.d.ts b/src/typings/elegant-router.d.ts index 826cfcc..8238faf 100644 --- a/src/typings/elegant-router.d.ts +++ b/src/typings/elegant-router.d.ts @@ -29,6 +29,7 @@ declare module "@elegant-router/types" { "rwa_product": "/rwa/product"; "rwa_producttype": "/rwa/producttype"; "rwa_subscribe": "/rwa/subscribe"; + "tradingpairs": "/tradingpairs"; "transfer": "/transfer"; "user": "/user"; "user_bank": "/user/bank"; @@ -77,6 +78,7 @@ declare module "@elegant-router/types" { | "iframe-page" | "login" | "rwa" + | "tradingpairs" | "transfer" | "user" | "withdraw" @@ -106,6 +108,7 @@ declare module "@elegant-router/types" { | "rwa_product" | "rwa_producttype" | "rwa_subscribe" + | "tradingpairs" | "transfer" | "user_bank" | "user_bankcard" diff --git a/src/views/tradingPairs/components/add.vue b/src/views/tradingPairs/components/add.vue new file mode 100644 index 0000000..99ee94e --- /dev/null +++ b/src/views/tradingPairs/components/add.vue @@ -0,0 +1,177 @@ + + + + + diff --git a/src/views/tradingPairs/index.vue b/src/views/tradingPairs/index.vue new file mode 100644 index 0000000..18af84f --- /dev/null +++ b/src/views/tradingPairs/index.vue @@ -0,0 +1,206 @@ + + + + +