From d5381ec06ab5f549fade867c3a874de613bdd5d4 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Fri, 07 Jun 2024 10:23:41 +0800
Subject: [PATCH] 去掉BNB充值,调试好充值接口

---
 src/components/list-quotation/index.vue |   29 ++++++++++++-----------------
 1 files changed, 12 insertions(+), 17 deletions(-)

diff --git a/src/components/list-quotation/index.vue b/src/components/list-quotation/index.vue
index 29f0593..a6d1fc6 100644
--- a/src/components/list-quotation/index.vue
+++ b/src/components/list-quotation/index.vue
@@ -7,7 +7,7 @@
         class="flex items-center w-full textNew1 font-26"
         style="margin: 6px 0 15px"
       >
-        <div class="left flex items-center" style="margin-left: 36px">
+        <div class="left flex items-center newcolor1" style="margin-left: 36px">
           <span>{{ $t("交易对") }}</span>
           <div class="filter-box ml-10" v-if="active == 0">
             <div
@@ -70,15 +70,12 @@
                 <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 && item.symbol.toUpperCase()) || "--" }}
+                      {{ item.symbol | _symbolName }}
+                      <!-- {{ (item.symbol && item.symbol.toUpperCase()) || "--" }} -->
                     </span>
                     <span class="font-24" style="position: relative; top: 1px">
-                      {{
-                        (item.name &&
-                          item.name.replace(item.symbol.toUpperCase(), "")) ||
-                        "--"
-                      }}</span
-                    >
+                      /{{ (item.name && item.name.split("/")[1]) || "--" }}
+                    </span>
                   </span>
 
                   <span class="font-24 textNew1">{{
@@ -134,16 +131,13 @@
                 <div class="anniu"></div>
                 <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 && item.symbol.toUpperCase()) || "--"
-                    }}</span>
+                    <span class="textColor font-600 font-30">
+                      {{ item.symbol | _symbolName }}
+                      <!-- {{ (item.symbol && item.symbol.toUpperCase()) || "--" }} -->
+                    </span>
                     <span class="font-24" style="position: relative; top: 1px">
-                      {{
-                        (item.name &&
-                          item.name.replace(item.symbol.toUpperCase(), "")) ||
-                        "--"
-                      }}</span
-                    >
+                      /{{ (item.name && item.name.split("/")[1]) || "--" }}
+                    </span>
                   </span>
                   <span class="font-24 textNew1">{{
                     $t("成交量") + " " + (item.amount * 1).toFixed(2)
@@ -254,6 +248,7 @@
     },
     onItemClick(item) {
       if (this.tabActive == 2) {
+        setStorage("tradeSymbol", item.symbol);
         //现货
         this.$router.push({
           path: `/trade/${item.symbol}`,

--
Gitblit v1.9.3