From 77d4b05839e415f28ab481cae1451d9e8189b553 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 22 Mar 2026 11:23:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E6=89=93=E5=8C=85?= =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 72 ++++++++-- src/api/apiApp.ts | 73 +++++++++++ src/api/mockData.ts | 33 +++++ src/components/OrderBook.vue | 51 ++++++-- src/locales/en.json | 42 +++++- src/locales/ja.json | 42 +++++- src/locales/ko.json | 42 +++++- src/locales/zh-CN.json | 42 +++++- src/locales/zh-TW.json | 46 ++++++- src/views/ApiKey.vue | 245 ++++++++++++++++++++++++++++++++--- src/views/EventMarkets.vue | 20 +-- src/views/Home.vue | 39 ++++-- src/views/Login.vue | 30 +++-- src/views/Profile.vue | 32 ++++- src/views/Search.vue | 23 +++- src/views/TradeDetail.vue | 95 +++++++++++++- src/views/Wallet.vue | 64 ++++----- 17 files changed, 854 insertions(+), 137 deletions(-) create mode 100644 src/api/apiApp.ts diff --git a/src/App.vue b/src/App.vue index 509afb8..16e9811 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,15 +1,24 @@ diff --git a/src/views/EventMarkets.vue b/src/views/EventMarkets.vue index cedad7e..5b7257a 100644 --- a/src/views/EventMarkets.vue +++ b/src/views/EventMarkets.vue @@ -25,15 +25,15 @@ rounded="lg" >
-

{{ eventDetail?.title || 'All markets' }}

+

{{ eventDetail?.title || t('eventMarkets.allMarkets') }}

{{ categoryText }}

- Past ▾ + {{ t('eventMarkets.past') }} {{ resolutionDate }}
-

{{ markets.length }} 个市场

+

{{ t('eventMarkets.marketsCount', { n: markets.length }) }}

@@ -43,7 +43,7 @@