From 179e51c04b644601769a14bcf90ad4be2252de59 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 25 Oct 2024 10:49:08 +0800
Subject: [PATCH] 添加 :强平价

---
 src/components/perpetual-position-list/index.vue |    4 ++++
 src/components/trade-order-area/index.vue        |    5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/components/perpetual-position-list/index.vue b/src/components/perpetual-position-list/index.vue
index 70cd633..0557e2c 100644
--- a/src/components/perpetual-position-list/index.vue
+++ b/src/components/perpetual-position-list/index.vue
@@ -39,6 +39,10 @@
 				        $t('设置') }}{{
 				        $t('止盈') }}{{$t('止损') }}</button>
 				</div> -->
+				<div class="flex-1">
+				    <div class="text-grey">{{ $t('强平价格') }}</div>
+				    <div class="mt-20" :class="[isStyle ? 'textColor1 ' : 'textColor']">{{ item.qiangPing}}</div>
+				</div>
                 <div>
                     <div class="text-grey">ROE</div>
                     <div class="mt-20" :class="item.change_ratio / 1 > 0 ? 'text-green' : 'text-red'">{{ item.change_ratio
diff --git a/src/components/trade-order-area/index.vue b/src/components/trade-order-area/index.vue
index e614584..c6ac4fb 100644
--- a/src/components/trade-order-area/index.vue
+++ b/src/components/trade-order-area/index.vue
@@ -30,7 +30,7 @@
           class="w-22 h-11 pr-20"
         />
       </div>
-      <div class="option-box" v-if="isShow">
+      <div class="option-box" v-show="isShow">
         <div
           class="font-30"
           v-for="item in selectData"
@@ -258,7 +258,8 @@
       value: 0,
       isShow: false,
       title: this.$t("市价委托"),
-      selectData: [],
+      selectData: [{ title: this.$t("市价委托"), type: "1" },
+      { title: this.$t("限价委托"), type: "2" },],
       form: {
         volume: "",
         session_token: "",

--
Gitblit v1.9.3