From 25b2ba1cf86bc3439e7ad2acf2cd4a9ea7e4b0ed Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Fri, 28 Jun 2024 09:28:04 +0800
Subject: [PATCH] 123

---
 src/page/perpetualContract/index.vue |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/page/perpetualContract/index.vue b/src/page/perpetualContract/index.vue
index 683058a..5a707e3 100644
--- a/src/page/perpetualContract/index.vue
+++ b/src/page/perpetualContract/index.vue
@@ -1,9 +1,11 @@
 <template>
   <div :key="symbol" class="pb-108 no_touch">
+	 
     <!-- 头部区 -->
 
     <ContractHeader
       :symbol="symbol"
+	  :newname="newname"
       :range="range"
       :selectIndex="selectIndex"
       :balance="userInfo.balance"
@@ -62,6 +64,7 @@
           :init-futrue="initFutrue"
           @ordered="onOrdered"
           @changeValueBack="changeValueBack"
+		  @iszyzs="oniszyzs"
         >
         </PerpetualOpen>
         <div class="line"></div>
@@ -78,6 +81,7 @@
           :futrue-histroy="futrueHistroy"
           @tab="onTab"
           @recall="onRecall"
+		  @iszyzs="oniszyzs"
         >
         </PerpetualOrder>
       </div>
@@ -158,6 +162,7 @@
       });
     }
     return {
+
       quote: {},
       initTimer: null,
       keyIndex: 0,
@@ -168,6 +173,7 @@
       balance: 0,
       symbol: "",
       price: "",
+	  newname:'',
       range: "",
       stop_price_profit: "",
       stop_price_loss: "",
@@ -215,6 +221,10 @@
       this.closeSocket();
       this.init(symbol);
     },
+	oniszyzs(){
+		debugger
+		this.iszyzs = true
+	},
     onRecall() {
       // 撤单or 平仓 evt
       this.clearTimer();
@@ -297,6 +307,7 @@
         const cur = data[0];
         this.price = cur.close;
         this.range = cur.change_ratio + "";
+		this.newname = cur.name
         this.quote = cur;
         this.updateKey++;
       }
@@ -591,6 +602,7 @@
 </script>
 
 <style lang="scss" scoped>
+	
 //.list-enter-active, .list-leave-active {
 //  transition: all .5s;
 //  transform: translateY(30px)

--
Gitblit v1.9.3