dcc
2024-05-16 289948f53b5e0b00a656d60c08efbff0eb05fa90
src/page/list/tradingList/tabs.vue
@@ -44,26 +44,35 @@
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: "",
    };
  },
  methods: {
    change(e, type) {
      console.log(e, type)
      this[type] = e;
    },
  },
@@ -74,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>
</style>