From cb9c122b61cb9d0ff1071e4b52f1485119775683 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Sun, 20 Apr 2025 16:27:12 +0800
Subject: [PATCH] feat: all in

---
 src/components/perpetual-open/index.vue |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/components/perpetual-open/index.vue b/src/components/perpetual-open/index.vue
index 126e97b..65dfc74 100644
--- a/src/components/perpetual-open/index.vue
+++ b/src/components/perpetual-open/index.vue
@@ -246,6 +246,16 @@
               </div>
             </div>
           </template>
+
+          <div class="" style="margin-top: 0.8rem">
+            <button
+              class="tabBtn border-none rounded"
+              style="padding: 0 0.6rem"
+              @click="form.amount = initFutrue.amount | nan"
+            >
+              {{ $t("全仓") }}
+            </button>
+          </div>
           <div
             class="flex font-24 text-grey justify-between mt-32"
             v-if="selectIndex == 2"

--
Gitblit v1.9.3