From 57647907de3f5ab5499eba011daeaeb0e0715b84 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Wed, 04 Jun 2025 10:17:25 +0800
Subject: [PATCH] 图片地址

---
 src/components/constract/PerpetualContract/createOrder.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/components/constract/PerpetualContract/createOrder.vue b/src/components/constract/PerpetualContract/createOrder.vue
index 39a610c..59adfdd 100644
--- a/src/components/constract/PerpetualContract/createOrder.vue
+++ b/src/components/constract/PerpetualContract/createOrder.vue
@@ -317,10 +317,18 @@
     getMargin: function () {
       const amount = this.inputAmount;
       let data = "0.00";
+      console.log(
+        "getMargin",
+        this.isActive,
+        amount,
+        this.lever_rate,
+        this.sessionObj.amount,
+        this.current_lever_rate_num
+      );
       if (
         this.isActive === 0 &&
-        amount != undefined &&
-        this.lever_rate.length != undefined &&
+        amount !== undefined &&
+        this.lever_rate.length !== undefined &&
         this.sessionObj.amount
       ) {
         if (this.lever_rate.length > 0) {
@@ -621,7 +629,7 @@
   color: #fff;
 }
 .noLogin div:nth-child(1) {
-  background: #1d91ff;
+  background: #f7b328;
 }
 .noLogin div:nth-child(2) {
   background: #484d56;

--
Gitblit v1.9.3