From 9a9d832dbd364557e070abcd9a7779a2c6c07ffb Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Tue, 20 Jan 2026 17:35:13 +0800
Subject: [PATCH] 1
---
src/views/trade/index.vue | 49 ++++++++++++++++---------------------------------
1 files changed, 16 insertions(+), 33 deletions(-)
diff --git a/src/views/trade/index.vue b/src/views/trade/index.vue
index 9201c55..b82074f 100644
--- a/src/views/trade/index.vue
+++ b/src/views/trade/index.vue
@@ -76,14 +76,14 @@
</div>
</section>
<div class=" rounded-view" key="x">
- <PerpetualOpen class="pl-30 pr-30" :key="keyIndex + 'a'" :selectIndex="selectIndex" :symbol="symbol"
+ <PerpetualOpen :key="keyIndex + 'a'" :selectIndex="selectIndex" :symbol="symbol"
:green-data="bids" :red-data="asks" :price="price" :init-open="initOpen" :init-close="initClose"
:init-futrue="initFutrue" :currentType="currentType" @changeValueBack="changeValueBack"
@changeCurrentType="changeCurrentType" @ordered="onOrdered">
</PerpetualOpen>
<!-- <div class="line"></div> -->
<!-- 委托/持仓-->
- <PerpetualOrder class="pl-30 pr-30" :key="keyIndex + 'b'" :symbol="symbol" :order-cur="orderCur"
+ <PerpetualOrder :key="keyIndex + 'b'" :symbol="symbol" :order-cur="orderCur"
:order-hold="orderHold" :topIndex="selectIndex" :futrue-hold="futrueHold" :futrue-histroy="futrueHistroy"
@tab="onTab" @recall="onRecall">
</PerpetualOrder>
@@ -143,14 +143,14 @@
</div>
</div>
</section>
- <div class=" rounded-view" key="y">
- <PerpetualOpen class="pl-30 pr-30" :key="keyIndex + 'c'" :selectIndex="selectIndex" :symbol="symbol"
+ <div class="rounded-view" key="y">
+ <PerpetualOpen :key="keyIndex + 'c'" :selectIndex="selectIndex" :symbol="symbol"
:green-data="bids" :red-data="asks" :price="price" :init-open="initOpen" :init-close="initClose"
:init-futrue="initFutrue" @ordered="onOrdered" @changeValueBack="changeValueBack">
</PerpetualOpen>
<!-- <div class="line"></div> -->
<!-- 委托/持仓-->
- <PerpetualOrder class="pl-30 pr-30" :key="keyIndex + 'd'" :symbol="symbol" :order-cur="orderCur"
+ <PerpetualOrder :key="keyIndex + 'd'" :symbol="symbol" :order-cur="orderCur"
:order-hold="orderHold" :price="price" :topIndex="selectIndex" :futrue-hold="futrueHold"
:futrue-histroy="futrueHistroy" @tab="onTab" @recall="onRecall">
</PerpetualOrder>
@@ -719,8 +719,8 @@
@import "@/assets/init.scss";
.trade_new {
- color: $log-c;
- background: $mainbgWhiteColor;
+ // color: $log-c;
+ // background: $mainbgWhiteColor;
min-height: 100vh;
padding: 1.4rem 1.4rem 7rem 1.4rem;
@@ -750,23 +750,11 @@
}
#cryptos {
- background: $mainbgWhiteColor;
+ // background: $mainbgWhiteColor;
$inp-b: #f7f7f7;
:deep(.textColor) {
color: $log-c;
- }
-
- :deep(.long) {
- color: $log-c !important;
- background: $bg_yellow;
- border-radius: 5rem;
- }
-
- :deep(.short) {
- color: $log-c !important;
- background: $bg_yellow;
- border-radius: 5rem;
}
:deep(.poecs) {
@@ -777,20 +765,15 @@
background: $inp-b;
}
- :deep(.greyBg) {
- background: $inp-b;
- }
+ // :deep(.greyBg) {
+ // background: $inp-b;
+ // }
- :deep(.option-box) {
- background: $inp-b;
- box-shadow: 0px 0px 0.1875rem 0.1875rem $inp-b;
- color: $log-c !important;
- }
-
- :deep(.select-box) {
- background: $inp-b;
- color: $log-c !important;
- }
+ // :deep(.option-box) {
+ // background: $inp-b;
+ // box-shadow: 0px 0px 0.1875rem 0.1875rem $inp-b;
+ // color: $log-c !important;
+ // }
:deep(.rounded-lg) {
background: $inp-b;
--
Gitblit v1.9.3