From fcaad96a65ec283179f36c94995fb4278bb6b8b8 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Thu, 03 Jul 2025 16:28:50 +0800
Subject: [PATCH] style更换图片地址,logo

---
 src/components/constract/PerpetualContract/createOrder.vue |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/src/components/constract/PerpetualContract/createOrder.vue b/src/components/constract/PerpetualContract/createOrder.vue
index 8880f65..6dabecb 100644
--- a/src/components/constract/PerpetualContract/createOrder.vue
+++ b/src/components/constract/PerpetualContract/createOrder.vue
@@ -319,16 +319,18 @@
     },
     // 获取合约金额
     getContractAmount: function () {
+      console.log("获取合约金额", this.initOpen.amount, this.inputAmount);
       const amount = this.inputAmount;
       let data = "0.00";
-      if (amount != undefined && this.lever_rate != undefined) {
-        if (this.lever_rate?.length > 0) {
-          data = amount * this.initOpen.amount;
-        } else if (this.lever_rate.length == 0) {
-          data = this.sessionObj?.amount * amount * 1;
-        }
-      }
-      return bigDecimal.round(data, 2);
+      // if (amount != undefined && this.lever_rate != undefined) {
+      //   if (this.lever_rate?.length > 0) {
+      data = amount * this.initOpen.amount;
+      //   }
+      //   else if (this.lever_rate.length == 0) {
+      //     data = this.sessionObj?.amount * amount * 1;
+      //   }
+      // }
+      return data;
     },
     // 获取保证金,开仓才需要
     getMargin: function () {
@@ -579,10 +581,10 @@
             if (!this.current_lever_rate) {
               this.current_lever_rate = hasLever
                 ? this.lever_rate[this.lever_rate.length - 1]
-                : "1.00X";
+                : "200.00X";
               this.current_lever_rate_num = hasLever
                 ? this.origin_lever[this.lever_rate.length - 1]
-                : "1";
+                : "200";
             }
           }
         });

--
Gitblit v1.9.3