From 85e47c7fecceb827cf43e266e1a103f2ddb6b4d6 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Thu, 09 May 2024 18:57:35 +0800
Subject: [PATCH] logo问题

---
 src/page/list/tradingList/tabs.vue |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/src/page/list/tradingList/tabs.vue b/src/page/list/tradingList/tabs.vue
index 4e7ec49..a3f4047 100644
--- a/src/page/list/tradingList/tabs.vue
+++ b/src/page/list/tradingList/tabs.vue
@@ -44,21 +44,29 @@
 
 export default {
   components: { dataList },
+  mounted() {
+    this.active = this.$route.query.type || "MAS";
+  },
   data() {
     return {
       tabsList: [
         { title: this.$t("hj61"), key: "" },
-        { title: this.$t("数字货币"), key: "1", name: "SZHB" },
-        { title: this.$t("马股"), key: "2", name: "MAS" },
-        { title: this.$t("美股"), key: "3", name: "US" },
+        // { title: this.$t("hj61"), key: "" },
+        // { title: this.$t("数字货币"), key: "1", name: "SZHB" },
+        // { title: this.$t("马股"), key: "MAS", name: "MAS" },
+        { title: this.$t("美股"), key: "US", name: "US" },
+        { title: this.$t("yg"), key: "IN", name: "IN" },
+        // { title: this.$t("港股"), key: "HK", name: "HK" },
       ],
       zxtabsList: [
-        { title: this.$t("数字货币"), key: "1", name: "SZHB" },
-        { title: this.$t("马股"), key: "2", name: "MAS" },
-        { title: this.$t("美股"), key: "3", name: "US" },
+        // { title: this.$t("数字货币"), key: "1", name: "SZHB" },
+        // { title: this.$t("马股"), key: "MAS", name: "MAS" },
+        { title: this.$t("美股"), key: "US", name: "US" },
+        { title: this.$t("yg"), key: "IN", name: "IN" },
+        // { title: this.$t("港股"), key: "HK", name: "HK" },
       ],
-      active: "1",
-      zxactive: "1",
+      active: "MAS",
+      zxactive: "MAS",
       sousuo: "",
     };
   },

--
Gitblit v1.9.3