From 1136b8d80116008cc1f8da51f0f53dc746d52f86 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Sun, 12 Oct 2025 15:41:09 +0800
Subject: [PATCH] 1
---
src/components/Transform/perpetual-position-list/index.vue | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/components/Transform/perpetual-position-list/index.vue b/src/components/Transform/perpetual-position-list/index.vue
index 0207f3c..6f6d1bf 100644
--- a/src/components/Transform/perpetual-position-list/index.vue
+++ b/src/components/Transform/perpetual-position-list/index.vue
@@ -29,7 +29,7 @@
</div>
</div>
</div>
- <div class="flex justify-between font-28">
+ <!-- <div class="flex justify-between font-28">
<div class="flex-1">
<div class="text-grey">{{ routeType == 'cryptos' ? $t('未实现盈亏(USDT)') : $t('未实现盈亏(USD)') }}</div>
<div class="mt-20" :class="item.profit > 0 ? 'text-green' : 'text-red'">
@@ -46,23 +46,28 @@
<button class="font-30 detail-btn border-light-blue greyBg colorMain w-125 h-60" @click="goDetail(item)">{{
$t('详情') }}</button>
</div>
- </div>
+ </div> -->
<div class="flex pt-44 pb-32 font-28">
<div class="flex-1">
<div class="text-grey">{{ $t('持仓数量') }}</div>
- <div class="mt-20 textColor">{{ reserve(item.volume / (item.lever_rate ? item.lever_rate : 1),4) }}*{{
+ <div class="mt-20 textColor">{{ reserve(item.volume / (item.lever_rate ? item.lever_rate : 1), 4) }}*{{
item.lever_rate ? item.lever_rate : 1 }}x</div>
</div>
<div class="flex-1 text-center font-28">
<div class="text-grey">{{ $t('交易金额') }} ( {{ routeType == 'cryptos' ? 'USDT' : 'USD' }})</div>
<div class="mt-20 textColor">{{ item.deposit }}</div>
</div>
- <div class="flex-1 flex flex-col items-end font-28">
+ <!-- <div class="flex-1 flex flex-col items-end font-28">
<div class="text-grey">{{ $t('开仓价格') }}</div>
<div class="mt-20 textColor">{{ item.trade_avg_price }}</div>
+ </div> -->
+ <div class="flex-1 flex flex-col items-end justify-end">
+ <button class="greyBg textColor border-none pl-34 pr-34 pt-10 pb-10 rounded-ban"
+ @click="onSell(item.order_no)">
+ {{ $t('平仓') }}</button>
</div>
</div>
- <div class="flex pb-32 font-28">
+ <!-- <div class="flex pb-32 font-28">
<div class="flex-1">
<div class="text-grey">{{ $t('标记价格') }}</div>
<div class="mt-20 textColor">{{ item.mark_price }}</div>
@@ -76,7 +81,7 @@
@click="onSell(item.order_no)">
{{ $t('平仓') }}</button>
</div>
- </div>
+ </div> -->
<!-- <div class="flex pb-32 font-28">
<div class="flex-1 flex flex-col items-center justify-end">
<button class="font-30 detail-btn border-light-blue greyBg colorMain w-125 h-60" @click="goDetail(item)">{{
--
Gitblit v1.9.3