diff --git a/src/components/KlineTrade/PlaceForm.vue b/src/components/KlineTrade/PlaceForm.vue deleted file mode 100644 index 2981a9c9..00000000 --- a/src/components/KlineTrade/PlaceForm.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - diff --git a/src/router/index.js b/src/router/index.js index 1b61984f..a5de62d1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -56,6 +56,7 @@ const router = new VueRouter({ }, { path: '/wallet/accounts', + alias: '/wallet', name: 'accounts', component: () => import('@/views/WalletAccounts.vue'), meta: { @@ -294,7 +295,7 @@ const router = new VueRouter({ }, // 2. OSMOSIS { - path: '/:chain/osmosis/trade', + path: '/:chain/osmosis/trade/:base?/:target?', name: 'osmosis-trade', component: () => import('@/views/OsmosisTrade.vue'), meta: { diff --git a/src/views/OsmosisTrade.vue b/src/views/OsmosisTrade.vue index 515da238..8deb98b6 100644 --- a/src/views/OsmosisTrade.vue +++ b/src/views/OsmosisTrade.vue @@ -1,50 +1,136 @@ diff --git a/src/views/WalletAccounts.vue b/src/views/WalletAccounts.vue index a02c1933..7365a29c 100644 --- a/src/views/WalletAccounts.vue +++ b/src/views/WalletAccounts.vue @@ -215,7 +215,7 @@ - + Connect Wallet diff --git a/src/components/KlineTrade/Place.vue b/src/views/components/KlineTrade/Place.vue similarity index 79% rename from src/components/KlineTrade/Place.vue rename to src/views/components/KlineTrade/Place.vue index 2beb943a..a72e7ed9 100644 --- a/src/components/KlineTrade/Place.vue +++ b/src/views/components/KlineTrade/Place.vue @@ -1,5 +1,5 @@