From 3a288a000464c00ec5dc190644be2f48355b02fb Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Thu, 16 May 2024 15:09:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/home/Google.png | Bin 0 -> 1344 bytes src/components/CommonHeader.vue | 2 +- src/i18n/en.json | 56 +++++++++++++------------- src/i18n/tw.json | 2 +- src/views/contract/exchange-store.vue | 10 +++-- src/views/contract/index.vue | 14 +++---- src/views/exchange/index.vue | 8 ++-- src/views/exchange/order-list.vue | 3 +- src/views/exchange/symbols.vue | 8 ++-- src/views/home/index.vue | 28 +++++++------ 10 files changed, 69 insertions(+), 62 deletions(-) create mode 100644 src/assets/img/home/Google.png diff --git a/src/assets/img/home/Google.png b/src/assets/img/home/Google.png new file mode 100644 index 0000000000000000000000000000000000000000..8a6d65bd2d90fb465698748bd592bd8946e41e5e GIT binary patch literal 1344 zcmX|B4OEg>7`~UCer7sd=}w8u`M&$T&wHQudG6o&n4uv7CPtP< z000vb(Ju^rw;SH&9~d$=8+-u3S%n7e_eT&4Fs&O2PE)Zi09yZx5!AW`;tV|r2r%$( zFiS%aH$#Q!nNBmr@2lqANV@k5f5;s$DL{Et3$P=o@b^JSD0qhfzzI)5`lwLjO2i}p z69EGpx~|W*(*^A)O!-CQPJ)twLEnf%g)1V=cm^ymY+;*9f5HJyFtJW>Yrr0-PKABk zUytO+j|607-arZ(0uebH+yxjM{~4&LXsYwkgxAi*cH&{Q959mxyTx#T4TTG5hCERT z;zRKa3Myi9*pYM;q~!jkB@lr+`&9Z>G80Ck$qEfB2*zL`FBH9o{g1G20G?xLKFAlo(9gM&V7CCiRKU>^9U+jmopu`C4>lz% zNcTMQ`}5$%!Otm-FQ7ga!4Fs+wZWo+h-+_nM3nJM109N*iB} zCF$Eh+!2(Ga;vY>g&!q<7fkd?@ym}U>gKdf|_%=cz6;!^UX#s|HP z@uep$-HK%~_KBnfR!@vahR?+J1?w4{*qhDCyJ!}T@~FJ#XLLv7tibU61J=pTy*r0H zJkqn5ER9fidGMDul7p4*D~u&|A6b{jUaBMu@P5sqHxLA zBgRO#U90DZSyp%}_2Fbj%O+cSWzbYcwYTqbo$M~_iezjo;B-_Cw}$mNe0;bUe|mQ{ z{~qi11?ptl^O?7{8)HWmge=?fnBILGV+XA267ObK2x_^<*5LW{qbuE&Gj(z5vV7Nw zRqrY~SpIg2JPk#*bBVjW-coh3&`!B5vqv9fS*bj-qbF{c*Da;WK~?AIEtw8IqpR;< zt5u#&Dqp9Hw765m=Evf~XLgs=Ze=>q!faBkZ7$CLRP3Rp2Qs60t2TQkMDHfY=q{2Y zuS&(CWA|cBA2KVh3>D$hnd^_T%M_<@Yp6_#iIaKMr!Ma2Eh1A1e;U_riRK5JUGDhC Q@Mi=h{}8{bU59f10VIU2xBvhE literal 0 HcmV?d00001 diff --git a/src/components/CommonHeader.vue b/src/components/CommonHeader.vue index 2fbfcd4..53e3422 100644 --- a/src/components/CommonHeader.vue +++ b/src/components/CommonHeader.vue @@ -668,7 +668,7 @@ header { max-width: 20% !important; } header .nav-link{ - font-size: 18px !important; + font-size: 15px !important; color: #000; } header nav a:hover { diff --git a/src/i18n/en.json b/src/i18n/en.json index a5e289a..257145e 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -224,7 +224,7 @@ "new-password": "Enter a new password", "confirm-password": "Confirm your password", "forgetPassword": "Forget password", - "rememberMe": "remember me", + "rememberMe": "Remember me", "noAccountYet": "No account", "goRegister": "Register Account", "goRegister1": "Register now", @@ -336,7 +336,7 @@ "confirmpassword": "The two passwords are inconsistent", "Remembered": "Remembered your password?", "a1": "Login {name}", - "a2": "email number", + "a2": "Email number", "a3": "Please enter your login email address", "a4": "Login password", "a5": "Please enter your login password", @@ -1169,13 +1169,13 @@ "a79": "How to Trade Digital Currencies", "a80": "Marketplace", "a81": "24 hours market trend", - "a82": "Add cryptocurrency funds to your wallet and start trading now" + "a82": "Add cryptocurrency funds to your wallet and Start Trading Now" }, "homeNewText": { "aa1": "Cryptocurrency Gate", "aa2": "Safe, fast and easy trade on over 100 cryptocurrencies", - "aa3": "Register via email", - "aa4": "Start trading now", + "aa3": "Register Via Email", + "aa4": "Start Trading Now", "aa5": "Market trend", "aa6": "Digital Asset Quote Express", "aa7": "Currency", @@ -1208,37 +1208,37 @@ "hh0": "The future of money is here", "hh1": "We are the most trusted place for investors to buy, sell and manage cryptocurrency", "hh2": "Register via email", - "hh3": "Quotes", - "hh4": "See more markets", - "hh5": "{name} is a one-stop platform for everyone", + "hh3": "Markets", + "hh4": "View more markets", + "hh5": "{name} is An One-step Exchange for Everyone", "hh6": "Global Ranking", - "hh7": "users trust us", + "hh7": "Users Trust Us", "hh8": "Ultra-Low Fees", "hh9": "Countries", - "hh10": "How to start", - "hh11": "Create account", - "hh12": "Log in {name} to register new profile", + "hh10": "How to Get Started", + "hh11": "Create Account", + "hh12": "Sign in to {name} to Register a New Profile", "hh13": "Register", - "hh14": "Verify your identity", - "hh15": "The verification process takes less than 5 minutes to complete.", - "hh16": "Create your account first", - "hh17": "Buy and deposit cryptocurrencies", - "hh18": "Add funds to your {name} account to deposit and withdraw cryptocurrency services.", - "hh19": "Verify your identity first", - "hh20": "Start your journey", - "hh21": "Explore cryptocurrency opportunities within the {name} ecosystem", - "hh22": "Buy and deposit cryptocurrency first", - "hh23": "Build your cryptocurrency portfolio", - "hh24": "Buy cryptocurrency", - "hh25": "Why choose {name}", - "hh26": "Simple", - "hh27": "{name} makes it easy to buy cryptocurrencies using our mobile app.", - "hh28": "education", + "hh14": "Verify Your Identity", + "hh15": "Spend Less Than 5 Minutes Completing the Verification Process.", + "hh16": "Create Your Account First", + "hh17": "Buy and Deposit Crypto", + "hh18": "Add Funds to Your {name} Account to Access Crypto Services.", + "hh19": "Verify Your Identity First", + "hh20": "Start Your Journey", + "hh21": "Explore Crypto Opportunities within the {name} Ecosystem", + "hh22": "Buy and Deposit Crypto First", + "hh23": "Build Your Crypto Portfolio", + "hh24": "Buy Crypto", + "hh25": "Why {name}", + "hh26": "Simplicity", + "hh27": "{name} Makes it Easy to Buy Crypto Using Our Mobile Application.", + "hh28": "Education", "hh29": "Grow your earnings with {name}", "hh30": "Don't know where to start? Head to our Learning Center to learn all about cryptocurrency.", "hh31": "Service", "hh32": "Find your answers instantly in our Help Center, or contact us via email 24/7/365.", - "hh33": "Start using {name}", + "hh33": "Get started with {name}", "hh34": "Trade anytime, anywhere", "hh35": "Stay informed with our app and desktop client", diff --git a/src/i18n/tw.json b/src/i18n/tw.json index 9ae1028..c06adfb 100644 --- a/src/i18n/tw.json +++ b/src/i18n/tw.json @@ -1141,7 +1141,7 @@ "hh4": "看更多市場", "hh5": "{name} 是個適合所有人的一站式平台", "hh6": "Global Ranking", - "hh7": "users trust us", + "hh7": "Users Trust Us", "hh8": "Ultra-Low Fees", "hh9": "Countries", "hh10": "如何開始", diff --git a/src/views/contract/exchange-store.vue b/src/views/contract/exchange-store.vue index d994bcd..2c7877f 100644 --- a/src/views/contract/exchange-store.vue +++ b/src/views/contract/exchange-store.vue @@ -115,7 +115,7 @@ -
+
{{ $t("contact.Profit&Loss") }}
@@ -229,7 +229,7 @@
-
+
{{ $t("contact.Profit&Loss") }}
@@ -265,7 +265,8 @@ type="button" class="sub w-24/24 btn-success btn btn-sm mb-3" > - {{ $t("contract.d0") }}{{ symbol }} + {{ $t("contract.d0") }} + @@ -276,7 +277,8 @@ type="button" class="sub w-24/24 btn-danger btn btn-sm mb-3" > - {{ $t("contract.d2") }}{{ symbol }} + {{ $t("contract.d2") }} + diff --git a/src/views/contract/index.vue b/src/views/contract/index.vue index 9d452f4..4659655 100644 --- a/src/views/contract/index.vue +++ b/src/views/contract/index.vue @@ -15,7 +15,7 @@
{{ activeContract.pair_name }}
-
+
{{ activeContract.price }}
@@ -30,7 +30,7 @@
24h {{ $t("contract.h7") }}
-
+
{{ activeContract.high }}
@@ -38,7 +38,7 @@
24h {{ $t("contract.h8") }}
-
+
{{ activeContract.low }}
@@ -47,7 +47,7 @@ 24h {{ $t("contract.h9") }} (USDT)
-
+
{{ activeContract.vol }}
@@ -75,14 +75,14 @@ - + {{ item.symbol }}/{{ parent.coin_name }} - + {{ item.close }} - + {{ item.increaseStr }} diff --git a/src/views/exchange/index.vue b/src/views/exchange/index.vue index db7a21a..1a5a52d 100644 --- a/src/views/exchange/index.vue +++ b/src/views/exchange/index.vue @@ -10,11 +10,11 @@
-
+
{{ activeContract.pair_name }}
-
+
{{ activeContract.price }}$
{{ activeContract.increaseStr }}
@@ -30,7 +30,7 @@
24h {{ $t("contract.h9") }}
-
{{ activeContract.vol }}
+
{{ omitTo(activeContract.vol,4) }}
@@ -74,6 +74,7 @@ import Home from "@/api/home"; import bus from "@/components/bus.js"; import Contract from "../../api/contract"; + import math from "@/utils/class/math.js"; export default { components: { @@ -274,6 +275,7 @@ }, methods: { + omitTo: math.omitTo, initMarket() { // 初始化订阅marketList数据 this.ws.send({ diff --git a/src/views/exchange/order-list.vue b/src/views/exchange/order-list.vue index c90076d..2ee4141 100644 --- a/src/views/exchange/order-list.vue +++ b/src/views/exchange/order-list.vue @@ -203,7 +203,7 @@