From f0ff93bd4b1636ed99f637b86cd4f0b8af63414d Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Tue, 03 Jun 2025 18:34:32 +0800
Subject: [PATCH] style
---
src/components/constract/components/orderBookNew.vue | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/components/constract/components/orderBookNew.vue b/src/components/constract/components/orderBookNew.vue
index aaee176..680cf78 100644
--- a/src/components/constract/components/orderBookNew.vue
+++ b/src/components/constract/components/orderBookNew.vue
@@ -83,9 +83,7 @@
<li
class="order-book-item asks"
style=""
- v-for="(item, index) in orderBookType === 'sell'
- ? sellList.slice(0, 7)
- : sellList.slice(0, 7)"
+ v-for="(item, index) in sellList.slice(0, 7)"
:key="'a' + index"
@click="changeClickData(item)"
>
@@ -137,9 +135,7 @@
</div>
<li
class="order-book-item bids"
- v-for="(item, index) in orderBookType === 'buy'
- ? buyList.slice(0, 7)
- : buyList.slice(0, 7)"
+ v-for="(item, index) in buyList.slice(0, 7)"
:key="'x' + index"
@click="changeClickData(item)"
>
@@ -189,7 +185,7 @@
<div style="height: 150px; overflow-y: scroll">
<li
class="order-book-item asks"
- v-for="(item, index) in recentList.slice(0,7)"
+ v-for="(item, index) in recentList.slice(0, 7)"
:key="'a' + index"
@click="changeClickData(item)"
>
--
Gitblit v1.9.3