1
zzzz
2024-04-07 74bcf0374dad94d352b68f10e2e3d6e0ebc2c9dc
src/page/user/Warehouse.vue
@@ -45,6 +45,7 @@
      tabsArr: [
        {
          title: this.$t("hometips"),
          name: "1",
          bgc: "rgb(8, 82, 196)",
          laber: "ALL",
@@ -53,22 +54,25 @@
        },
        {
          title: this.$t("mggs"),
          assname: this.$t("美股总资产"),
          name: "2",
          bgc: "rgb(12, 175, 226)",
          laber: "US",
          symbolCode: "USD",
          symbol: "$",
        },
        {
          title: this.$t("ydgs"),
          name: "3",
          bgc: "rgb(255, 91, 150)",
          laber: "IN",
          symbolCode: "USD",
          symbol: "$",
        },
        // {
        //   title: this.$t("ydgs"),
        //   assname: this.$t("印股总资产"),
        //   name: "3",
        //   bgc: "rgb(255, 91, 150)",
        //   laber: "IN",
        //   symbolCode: "USD",
        //   symbol: "$",
        // },
        {
          title: this.$t("马来西亚"),
          assname: this.$t("馬股总资产"),
          name: "4",
          bgc: "rgb(163, 91, 255)",
          laber: "MAS",
@@ -81,6 +85,15 @@
  },
  created() {
    this.getMoneys();
  },
  mounted(){
    if(this.$route.query.index=='0'){
      this.onClick({name:4})
    }else if(this.$route.query.index=='1'){
      this.onClick({name:2})
    }else{
    }
  },
  methods: {
    itemClick() {
@@ -103,6 +116,7 @@
      }
    },
    onClick(e) {
      console.log(e);
      this.active = e.name;
      this.activeObj = e;
      this.getMoneys();
@@ -155,4 +169,4 @@
  // padding: 0.10667rem 0.34667rem;
  color: #fff;
}
</style>
</style>