diff --git a/cypress/e2e/app/aeCoin.cy.js b/cypress/e2e/app/aeCoin.cy.js index b426677ef..0548ca16d 100644 --- a/cypress/e2e/app/aeCoin.cy.js +++ b/cypress/e2e/app/aeCoin.cy.js @@ -4,5 +4,8 @@ describe('ae coin', () => { cy.get('.ae-coin-panel table').should('be.visible') cy.get('.ae-coin-transactions-panel .paginated-content').should('be.visible') + + cy.contains('.tabs__item', 'Markets').click() + cy.get('.ae-coin-transactions-panel table').should('be.visible') }) }) diff --git a/nuxt.config.ts b/nuxt.config.ts index f04f78e01..1f1ea382a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -9,6 +9,13 @@ export default defineNuxtConfig({ devServer: { port: 8080, }, + nitro: { + routeRules: { + '/proxy/gate': { proxy: 'https://api.gateio.ws/api/v4/spot/tickers?currency_pair=AE_USDT', cors: true }, + '/proxy/mexc': { proxy: 'https://api.mexc.com/api/v3/ticker/24hr?symbol=AEUSDT', cors: true }, + '/proxy/coinw': { proxy: 'https://api.coinw.com/api/v1/public?command=returnTicker', cors: true }, + }, + }, modules: [ '@pinia/nuxt', '@nuxtjs/plausible', diff --git a/src/components/AeCoinMarketsPanel.vue b/src/components/AeCoinMarketsPanel.vue new file mode 100644 index 000000000..c89bbc03d --- /dev/null +++ b/src/components/AeCoinMarketsPanel.vue @@ -0,0 +1,43 @@ + + + diff --git a/src/components/AeCoinMarketsTable.vue b/src/components/AeCoinMarketsTable.vue new file mode 100644 index 000000000..9fc9124ba --- /dev/null +++ b/src/components/AeCoinMarketsTable.vue @@ -0,0 +1,87 @@ + + + diff --git a/src/components/AeCoinMarketsTableCondensed.vue b/src/components/AeCoinMarketsTableCondensed.vue new file mode 100644 index 000000000..29c2d7ca1 --- /dev/null +++ b/src/components/AeCoinMarketsTableCondensed.vue @@ -0,0 +1,304 @@ + + + + + diff --git a/src/components/AeCoinPanel.vue b/src/components/AeCoinPanel.vue index 89fbf6553..466291b87 100644 --- a/src/components/AeCoinPanel.vue +++ b/src/components/AeCoinPanel.vue @@ -70,23 +70,24 @@ diff --git a/src/pages/tokens/AE.vue b/src/pages/tokens/AE.vue index 4935e960c..0e6b84a8b 100644 --- a/src/pages/tokens/AE.vue +++ b/src/pages/tokens/AE.vue @@ -22,20 +22,72 @@