From 8c3c00069dd8518c38802977af57d7078fc80f37 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Mon, 31 Mar 2025 17:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=88=E7=BA=A6=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/base/home.vue | 7 +++++-- pages/exchange/contract-history.vue | 20 ++++++++++++++++++-- static/chart_main/sevencoin.js | 4 ++-- 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/pages/base/home.vue b/pages/base/home.vue index 0b3c399..ec5d606 100644 --- a/pages/base/home.vue +++ b/pages/base/home.vue @@ -104,7 +104,7 @@ - + @@ -2609,7 +2609,10 @@ export default { overflow: hidden; padding: 16px 0; margin-bottom: 10px; - background: #fff; + // background: #fff; + color: #fff; + background: #1e2834; + .rfm-marquee-container{ overflow-x: hidden; display: flex; diff --git a/pages/exchange/contract-history.vue b/pages/exchange/contract-history.vue index 9943caa..2e7c88a 100644 --- a/pages/exchange/contract-history.vue +++ b/pages/exchange/contract-history.vue @@ -27,9 +27,9 @@
{{$t('contract.a6')}}
-
{{cals(item.side,item.order_type)}}
+
{{cals(item.side,item.order_type)}}
-
+
{{$t('contract.a7')}}/{{$t('contract.a8')}}
{{item.traded_amount}}/{{item.amount}}
@@ -49,6 +49,10 @@
{{$t('contract.c7')}}
{{item.profit*1||'--'}}
+
+
{{$t('contract.c7')}}
+
{{item.profitRate||'--'}}
+
{{$t('contract.b3')}}
{{ status(item.status) }}
@@ -410,4 +414,16 @@ export default { .decreace1{ color: #ea3131 !important; } + .backgroundcol1{ + width: 50px; + border-radius: 4px; + text-align: center; + background-image: linear-gradient(to right, #D31027, #EA384D); + } + .backgroundcol2{ + width: 50px; + border-radius: 4px; + text-align: center; + background-image: linear-gradient(to right, #2fad66, #9de686); + } diff --git a/static/chart_main/sevencoin.js b/static/chart_main/sevencoin.js index e71f45b..f8f6152 100644 --- a/static/chart_main/sevencoin.js +++ b/static/chart_main/sevencoin.js @@ -20,8 +20,8 @@ $(function () { let dark = { 'volumePaneSize': "small",//large, medium, small, tiny "paneProperties.background": "#2b2b37", - "paneProperties.vertGridProperties.color": "#49495F", - "paneProperties.horzGridProperties.color": "#49495F", + "paneProperties.vertGridProperties.color": "#2b2b37", + "paneProperties.horzGridProperties.color": "#2b2b37", "scalesProperties.backgroundColor": "#2b2b37", "scalesProperties.textColor": "#fff", "scalesProperties.lineColor": "#49495F",