1
zzzz
2024-04-07 74bcf0374dad94d352b68f10e2e3d6e0ebc2c9dc
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>
@@ -41,16 +47,19 @@
  data() {
    return {
      tabsList: [
        { title: "自选", key: "" },
        { title: "印度股票", key: "1" },
        { title: "马来西亚股票", key: "2" },
        { 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" },
      ],
      zxtabsList: [
        { title: "印度股票", key: "1" },
        { title: "马来西亚股票", key: "2" },
        { title: this.$t("数字货币"), key: "1", name: "SZHB" },
        { title: this.$t("马股"), key: "2", name: "MAS" },
        { title: this.$t("美股"), key: "3", name: "US" },
      ],
      active: "1",
      zxactive: "1",
      sousuo: "",
    };
  },
  methods: {
@@ -65,9 +74,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>