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 }}