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

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

diff --git a/.gitignore b/.gitignore
index 1f8602b..5b3dc3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
 .DS_Store
 node_modules
 /dist
-
+.zip
 # local env files
 .env.local
 .env.*.local
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