From 6101265542c800dd03a359c09f395c9d63aeee7e Mon Sep 17 00:00:00 2001 From: luyisha Date: Tue, 10 Oct 2023 17:05:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=88=E7=BA=A6=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E4=BB=B7=E8=B7=B3=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CommonHeader.vue | 2 +- src/favicon.ico | Bin 9662 -> 4286 bytes src/views/contract/handicap.vue | 12 +++++++----- src/views/contract/index.vue | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/CommonHeader.vue b/src/components/CommonHeader.vue index 206988f..6be22ad 100644 --- a/src/components/CommonHeader.vue +++ b/src/components/CommonHeader.vue @@ -595,7 +595,7 @@ header { max-width: 20% !important; } header .nav-link{ - font-size: 18px !important; + font-size: 14px !important; } header nav a:hover { color: #EABB71 !important; diff --git a/src/favicon.ico b/src/favicon.ico index 188bfd24782d84c17815677f9b5e0837b6be33c7..cec18ae4001bacc9f064286dc2262b98502f106f 100644 GIT binary patch literal 4286 zcmZQzU<5)11qKkwutI==L5zWcK?8_^LJST-3=#(epd32*|NlSJC?2|D@X6amY9Qk8 zTX!|fM|-u#k9Mld>23cfA5#gSy}Liyss0DjD`{!}r$}eMj}GcNKzp_W@ns;s3dC=L z7-Tn1?f>YkZ3eXCA(CA%JCSLc`2VAuo(9m~_XO8J90Wf3TZ(`%upGJw zD~mpPk(T~G-uCAK+Wj8WeuFY>{s-D~6l&LPm^_ewo*essyjjKq^yf@WyMg}45&u~2 zch9{)f?j zzTag6n)e!qnP}+?J-tEr@2=`Se}COl31%iT{jIf>?Q?1X*N;V0!SyRJELH%zj;v`}X6q8{`h4-wS|t{r>2rWe4UXrMr)gnjU|Dy#)H-pazO7fHX3$f{NDx zSwn)>^QET6RHA%ubDBTGti&`T-{x!Cl!7uXfs!BxFj65pHu%b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ja$Lq-NnX&iFs$ANS(YEtOUUNU&bjQK@Qcd?w@Q=$m z==! zE9u`(KXPB-PS>?3Wc5aM& zyY->5IM!^lFJ0(H4bq$g!wZ2QS8%|i&Ilu4%#)Zti7-1hpD>Xft0Yv%4qVZ(Nn&`Q zsfGM4(Or^9OYcV#dwRnfuV}cR`qhEGI#&0|=U8=zhQ)tLOccK=QJt|^!@W%!s#e_j ifi_ { // this.newPriceObj.price =this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3); - this.newPriceObj.price = msg.close; - this.$emit("input", this.newPriceObj); + // this.newPriceObj.price = msg.close; + // this.$emit("input", this.newPriceObj); // console.log(this.newPriceObj.price, 'this.newPriceObj.price-----') }); }, @@ -217,7 +217,9 @@ export default { this.sellList = res.swapSellList; this.buyList = res.swapBuyList; this.tradeList = res.swapTradeList; - // this.newPriceObj = this.tradeList[0]; + if(this.tradeList.length>0){ + this.newPriceObj = this.tradeList[0]; + } this.$emit("input", this.newPriceObj); }); }, @@ -269,8 +271,8 @@ export default { } else if (sub == this.msg.trade) { this.tradeList.unshift(data); this.tradeList.pop(); - // this.newPriceObj = data; - // this.$emit("input", this.newPriceObj); + this.newPriceObj = data; + this.$emit("input", this.newPriceObj); } else if (type == "ping" ||cmd == "ping") { this.ws.send({ cmd: "pong" diff --git a/src/views/contract/index.vue b/src/views/contract/index.vue index 3deab85..7b9ec93 100644 --- a/src/views/contract/index.vue +++ b/src/views/contract/index.vue @@ -107,7 +107,7 @@
24h {{ $t("contract.h9") }} - (USDT) +
{{ activeContract.vol }}