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/components/list-quotation/index.vue |   42 ++++++++++++++++++++++++++++++------------
 1 files changed, 30 insertions(+), 12 deletions(-)

diff --git a/src/components/list-quotation/index.vue b/src/components/list-quotation/index.vue
index a6d1fc6..fa4866b 100644
--- a/src/components/list-quotation/index.vue
+++ b/src/components/list-quotation/index.vue
@@ -66,16 +66,23 @@
               @click="onItemClick(item)"
             >
               <li class="flex items-center left">
-                <div class="anniu"></div>
+                <!-- <div class="anniu"></div> -->
+				<img :src="
+				  item.symbol
+				    ? `${HOST_URL}/wap/symbol/${item.symbol}.png`
+				    : require('@/assets/loading-default.png')
+				" class="w-52 h-52 rounded-full mr-16 ml-15" />
                 <p class="flex flex-col" style="margin-left: 5px">
                   <span class="flex items-end font-32 flex items-center" s>
+					  
                     <span class="textColor font-600 font-30">
-                      {{ item.symbol | _symbolName }}
+						
+                      {{ item.name }}
                       <!-- {{ (item.symbol && item.symbol.toUpperCase()) || "--" }} -->
                     </span>
-                    <span class="font-24" style="position: relative; top: 1px">
+                    <!-- <span class="font-24" style="position: relative; top: 1px">
                       /{{ (item.name && item.name.split("/")[1]) || "--" }}
-                    </span>
+                    </span> -->
                   </span>
 
                   <span class="font-24 textNew1">{{
@@ -128,16 +135,23 @@
               @click="onItemClick(item)"
             >
               <li class="flex items-center left">
-                <div class="anniu"></div>
+                <!-- <div class="anniu"></div> -->
+				<img :src="
+				  item.symbol
+				    ? `${HOST_URL}/wap/symbol/${item.symbol}.png`
+				    : require('@/assets/loading-default.png')
+				" class="w-52 h-52 rounded-full mr-16 ml-15" />
                 <p class="flex flex-col" style="margin-left: 5px">
+					
                   <span class="flex items-end font-32 flex items-center">
+					  
                     <span class="textColor font-600 font-30">
-                      {{ item.symbol | _symbolName }}
+                      {{ item.name }}
                       <!-- {{ (item.symbol && item.symbol.toUpperCase()) || "--" }} -->
                     </span>
-                    <span class="font-24" style="position: relative; top: 1px">
+                   <!-- <span class="font-24" style="position: relative; top: 1px">
                       /{{ (item.name && item.name.split("/")[1]) || "--" }}
-                    </span>
+                    </span> -->
                   </span>
                   <span class="font-24 textNew1">{{
                     $t("成交量") + " " + (item.amount * 1).toFixed(2)
@@ -254,10 +268,14 @@
           path: `/trade/${item.symbol}`,
         });
       } else {
-        setStorage("symbol", item.symbol);
-        this.$router.push({
-          path: `/perpetualContract/${item.symbol}`,
-        });
+        // setStorage("symbol", item.symbol);
+        // this.$router.push({
+        //   path: `/perpetualContract/${item.symbol}`,
+        // });
+		setStorage("tradeSymbol", item.symbol);
+		this.$router.push({
+		  path: `/trade/${item.symbol}`,
+		});
       }
     },
     onTabs(val) {

--
Gitblit v1.9.3