From f15ad3456b47e43646234b9c91c3ddd77ab2cd02 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Wed, 05 Jun 2024 10:05:13 +0800
Subject: [PATCH] 123
---
src/page/list/tradingList/tabs.vue | 35 ++++++++++++++++++++++++-----------
1 files changed, 24 insertions(+), 11 deletions(-)
diff --git a/src/page/list/tradingList/tabs.vue b/src/page/list/tradingList/tabs.vue
index b0c0350..c066057 100644
--- a/src/page/list/tradingList/tabs.vue
+++ b/src/page/list/tradingList/tabs.vue
@@ -34,6 +34,7 @@
:sousuo="sousuo"
:zxactive="zxactive"
:tabsList="tabsList"
+ :zxtabsList="zxtabsList"
/>
</div>
</template>
@@ -43,21 +44,33 @@
export default {
components: { dataList },
+ mounted() {
+ this.active = this.$route.query.type || "MAS";
+ },
data() {
return {
tabsList: [
- // { title: "自选", 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("hj61"), key: "" },
+ // { title: this.$t("数字货币"), key: "1", name: "SZHB" },
+ { title: this.$t("hj261"), key: "DZ", name: "DZ" },
+ { title: this.$t("马股"), key: "MAS", name: "MAS" },
+ { title: this.$t("美股"), key: "US", name: "US" },
+ { title: this.$t("港股"), key: "HK", name: "HK" },
+ { title: this.$t("yg"), key: "IN", name: "IN" },
+ { title: this.$t("日股"), key: "JP", name: "JP" }
],
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("hj261"), key: "DZ", name: "DZ" },
+ { title: this.$t("马股"), key: "MAS", name: "MAS" },
+ { title: this.$t("美股"), key: "US", name: "US" },
+ { title: this.$t("港股"), key: "HK", name: "HK" },
+ { title: this.$t("yg"), key: "IN", name: "IN" },
+ { title: this.$t("日股"), key: "JP", name: "JP" }
],
- active: "1",
- zxactive: "1",
+ active: "MAS",
+ zxactive: "MAS",
sousuo: "",
};
},
@@ -73,9 +86,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