From 25b2ba1cf86bc3439e7ad2acf2cd4a9ea7e4b0ed Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Fri, 28 Jun 2024 09:28:04 +0800
Subject: [PATCH] 123
---
src/components/perpetual-order/index.vue | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/components/perpetual-order/index.vue b/src/components/perpetual-order/index.vue
index 25947f5..c4f6604 100644
--- a/src/components/perpetual-order/index.vue
+++ b/src/components/perpetual-order/index.vue
@@ -10,7 +10,7 @@
<div
class="px-10 py-10 flex items-center"
@click="tabClick('1')"
- :class="type == '1' ? 'active-line' : 'newcolor1'"
+ :class="type == '1' ? 'active-line' : ''"
>
{{ $t("持有仓位")
}}<span v-if="type == '1'">({{ orderHold.length }})</span>
@@ -18,7 +18,7 @@
<div
class="px-10 ml-50 py-10 flex items-center"
@click="tabClick('2')"
- :class="type == '2' ? 'active-line' : 'newcolor1'"
+ :class="type == '2' ? 'active-line' : ''"
>
{{ $t("当前委托") }}
</div>
@@ -41,12 +41,13 @@
</div>
</template>
</div>
- <img
- src="@/assets/3x/names8.png"
- alt="record-img"
- class="w-32 h-35 pr-30 py-15"
- @click="goHistory"
- />
+ <div @click="goHistory">
+ <img
+ src="@/assets/3x/names8.png"
+ alt="record-img"
+ class="w-32 h-35 pr-30 py-15"
+ />
+ </div>
</div>
<!-- 永续-->
<template v-if="topIndex / 1 === 1">
@@ -55,7 +56,7 @@
<!-- <PerpetualEntrustList :list-data="orderCur" @recall="$emit('recall', $event)"></PerpetualEntrustList> -->
<PerpetualPositionList
:list-data="orderHold"
- @sell="$emit('recall', $event)"
+ @sell="$emit('recall', $event)"
></PerpetualPositionList>
</div>
<!-- 持有仓位列表 -->
--
Gitblit v1.9.3