1
zzzz
2024-04-07 74bcf0374dad94d352b68f10e2e3d6e0ebc2c9dc
src/page/newUser/index.vue
@@ -38,27 +38,21 @@
          </van-col>
        </van-row>
        <van-row style="margin-top: 18px">
          <div class="van-col van-col--8" style="margin-top: 10px">
            <div class="content-title DINPro">{{ $t("美股總資產") }}(USD)</div>
            <div>
              <div class="DINPro" style="font-size: 18px">
                <showHide :text="userInfo.usTotalAssets" :flg="xy" />
              </div>
          <div
            class="van-col van-col--8"
            style="margin-top: 10px"
            v-for="item in listAsstes"
            :key="item.accectType"
          >
            <div class="content-title DINPro">
              {{
                item.accectType === "US" ? $t("美股總資產") : $t("馬股總資產")
              }}
              ({{ item.symbolCode }})
            </div>
          </div>
          <div class="van-col van-col--8" style="margin-top: 10px">
            <div class="content-title">{{ $t("馬股總資產") }}(USD)</div>
            <div>
              <div class="DINPro" style="font-size: 18px">
                <showHide :text="userInfo.masTotalAssets" :flg="xy" />
              </div>
            </div>
          </div>
          <div class="van-col van-col--8" style="margin-top: 10px">
            <div class="content-title">{{ $t("印股總資產") }}(USD)</div>
            <div>
              <div class="DINPro" style="font-size: 18px">
                <showHide :text="userInfo.masTotalAssets" :flg="xy" />
                <showHide :text="item.availableBalance" :flg="xy" />
              </div>
            </div>
          </div>
@@ -164,14 +158,14 @@
          symbol: "$",
          symbolCode: "USD",
        },
        {
          title: this.$t("印股資產"),
          title1: this.$t("印股可用"),
          title2: this.$t("印股冻结"),
          accectType: "IN",
          symbol: "RM",
          symbolCode: "MYR",
        },
        // {
        //   title: this.$t("印股資產"),
        //   title1: this.$t("印股可用"),
        //   title2: this.$t("印股冻结"),
        //   accectType: "IN",
        //   symbol: "RM",
        //   symbolCode: "MYR",
        // },
        {
          title: this.$t("馬股資產"),
          title1: this.$t("馬股可用"),
@@ -309,7 +303,7 @@
    },
    async getUserInfo() {
      // 获取用户信息
      let data = await api.getUserInfo();
      let data = await api.getUserInfodata();
      if (data.status === 0) {
        // 判断是否登录
        this.$store.commit("dialogVisible", false);