From beee8c1e8d1828f9dbd0885af49dcfc6a26482d9 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Mon, 1 Jun 2026 10:20:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=82=A1=E7=A5=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/market.js | 6 +- layout/vButton.vue | 9 + pages/base/home.vue | 6 +- pages/stockexchange/exchange-transaction.vue | 192 ++++++++++++++----- 4 files changed, 165 insertions(+), 48 deletions(-) diff --git a/api/market.js b/api/market.js index b7ffe6e..e06d86d 100644 --- a/api/market.js +++ b/api/market.js @@ -65,7 +65,11 @@ class Market { static getstockCoinInfo(data){ return Serve.get(`/stock/getCoinInfo`,data) } - + + // 是否显示颜色 + static getstocktradingOpen(data){ + return Serve.get(`/stock/tradingOpen`,data) + } } export default Market; \ No newline at end of file diff --git a/layout/vButton.vue b/layout/vButton.vue index 6313eef..53412ef 100644 --- a/layout/vButton.vue +++ b/layout/vButton.vue @@ -218,4 +218,13 @@ export default { margin-left: 20rpx; } } +.colorless { + ::v-deep uni-button { + background: #999999; + color: #fff; + border:none; + border-radius:inherit; + box-shadow: 0px 0px 15px 0px rgba(199, 199, 199, 0.7); + } +} \ No newline at end of file diff --git a/pages/base/home.vue b/pages/base/home.vue index 0f9f56c..e0a7aab 100644 --- a/pages/base/home.vue +++ b/pages/base/home.vue @@ -1233,9 +1233,9 @@ this.getCurrencyExCny(); this.getHelpList(); if (this.isLogin) { - this.chatcount = setInterval(()=>{ - this.chat() - },5000) + // this.chatcount = setInterval(()=>{ + // this.chat() + // },5000) this.createWalletAddress(); this.getAuthInfo() this.personalAssets(); diff --git a/pages/stockexchange/exchange-transaction.vue b/pages/stockexchange/exchange-transaction.vue index 9230442..61ed1ab 100644 --- a/pages/stockexchange/exchange-transaction.vue +++ b/pages/stockexchange/exchange-transaction.vue @@ -165,13 +165,21 @@ block @click="storeEntrust" ref="btn" - >{{ - form.direction == "buy" - ? this.$t("exchange.c3") - : this.$t("exchange.c4") - }} + v-if="tradingOpenshow==true"> + {{form.direction == "buy" ? this.$t("exchange.c3") : this.$t("exchange.c4")}} {{ activeCoin.coin_name }} + + {{form.direction == "buy" ? this.$t("exchange.c3") : this.$t("exchange.c4")}} + {{ activeCoin.coin_name }}