From 27601483c5031b5358368d08e4babed6d31c1d0e Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Fri, 31 May 2024 16:05:14 +0800
Subject: [PATCH] 域名改成https://bcar.barcblays.com/

---
 src/page/list/tradingList/tabs.vue |   38 ++++++++++++++++++++++++++++----------
 1 files changed, 28 insertions(+), 10 deletions(-)

diff --git a/src/page/list/tradingList/tabs.vue b/src/page/list/tradingList/tabs.vue
index 6ef817b..03c6638 100644
--- a/src/page/list/tradingList/tabs.vue
+++ b/src/page/list/tradingList/tabs.vue
@@ -29,7 +29,13 @@
       </van-tabs>
     </div>
 
-    <dataList :active="active" :zxactive="zxactive" />
+    <dataList
+      :active="active"
+      :sousuo="sousuo"
+      :zxactive="zxactive"
+      :tabsList="tabsList"
+      :zxtabsList="zxtabsList"
+    />
   </div>
 </template>
 
@@ -38,23 +44,35 @@
 
 export default {
   components: { dataList },
+  mounted() {
+    this.active = this.$route.query.type || "MAS";
+  },
   data() {
     return {
       tabsList: [
-        { title: "自选", key: "" },
-        { title: "印度股票", key: "1" },
-        { title: "马来西亚股票", key: "2" },
+        { title: this.$t("hj61"), key: "" },
+        // { 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: "印度股票", key: "1" },
-        { title: "马来西亚股票", key: "2" },
+        // { 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: "",
     };
   },
   methods: {
     change(e, type) {
+      console.log(e, type)
       this[type] = e;
     },
   },
@@ -65,9 +83,9 @@
 .title {
   // color: red;
   font-size: 18px;
-  padding: 10px 20px 10px;
+  // padding: 10px 20px 10px;
 }
 /deep/ .van-tabs--line .van-tabs__wrap {
   height: 50px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3