From d37ceed2ad5b94bbfc71a8a4cbdb7b498ddf724d Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 19 Jul 2025 14:14:18 +0800
Subject: [PATCH] 1

---
 src/page/list/trading-list.vue |   26 ++++++++++++++++----------
 1 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/src/page/list/trading-list.vue b/src/page/list/trading-list.vue
index 66d3361..072b727 100644
--- a/src/page/list/trading-list.vue
+++ b/src/page/list/trading-list.vue
@@ -1,7 +1,7 @@
 <template>
   <div>
     <!-- 搜索框 -->
-    <div class="search">
+    <!-- <div class="search">
       <div class="search_content">
         <div class="left_search">
           <div class="search_img">
@@ -19,27 +19,32 @@
             />
           </div>
         </div>
-        <div class="right_search">Search</div>
+        <div class="right_search" @click="sousuo">{{ $t("Search") }}</div>
       </div>
-    </div>
-    <tabsList />
+    </div> -->
+    <tabsList ref="tabsList" />
   </div>
 </template>
 
 <script>
 import tabsList from "./tradingList/tabs";
 export default {
+  name: "TradingList",
   components: { tabsList },
   data() {
     return {
-      gpcode: "",
+      gpcode: ""
     };
   },
   methods: {
-    gpinput(e) {
-      console.log(clickTab, "clickTab");
+    sousuo() {
+      this.$refs.tabsList.sousuo = this.gpcode;
     },
-  },
+    gpinput(e) {
+      this.gpcode = e.target.value;
+      this.$refs.tabsList.sousuo = e.target.value;
+    }
+  }
 };
 </script>
 
@@ -51,7 +56,7 @@
   justify-content: center;
   margin: 15px 22px;
   position: relative;
-  z-index: 3000;
+  z-index: 99;
 
   .search_content {
     width: 100%;
@@ -97,6 +102,7 @@
     color: #ffffff;
     font-weight: bold;
     margin-left: 20px;
+    padding: 0 10px;
   }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3