zzzz
2024-04-21 3f3e2d5977787b0c6e09cd5cba7b41e5fb7d3fd0
src/page/assetsCenter/index.vue
@@ -2,18 +2,12 @@
  <div class="assets-box">
    <header>
      <van-row class="title-box">
        <van-col span="12"
          ><span class="title">{{ $t("总资产") }}</span></van-col
        >
        <van-col
          span="12"
          class="right"
          @click="goRouter('/exchange/exchangeHistory')"
        >
          <img
            :src="require('@/assets/image/assets-center/Subtract.png')"
            class="w-44 h-38"
          />
        <van-col span="12">
          <span class="title">{{ $t("总资产") }}</span>
        </van-col>
        <van-col span="12" class="right">
          <div class="w-33" style="height: 20px">{{ " " }}</div>
          <!-- <img :src="require('@/assets/3x/names8.png')" class="w-33" /> -->
        </van-col>
        <div class="pt">{{ $t("总资产估值") }}</div>
        <div class="pt">{{ assetsFunds.total }}</div>
@@ -124,7 +118,7 @@
import { _getAllWallet } from "@/API/fund.api";
import Axios from "@/API/assets";
import { mapGetters } from "vuex";
import { mapActions, mapGetters } from "vuex";
import { _futrueOrderList, _orderListHold } from "@/API/trade.api";
import PerpetualPositionList from "@/components/perpetual-position-list/index.vue";
import futrueHoldList from "@/page/deliveryContract/hold.vue";
@@ -149,18 +143,19 @@
        {
          id: 1,
          text: this.$t("充币"),
          route: "/recharge/rechargePage?symbol=usdt",
          // route: "/recharge/rechargePage?symbol=usdt",
          route: "/recharge/rechargeList",
        },
        {
          id: 2,
          text: this.$t("提币"),
          route: "/withdraw/withdrawPage",
        },
        {
          id: 4,
          text: this.$t("闪兑"),
          route: "/exchange/exchangePage",
        },
        // {
        //   id: 4,
        //   text: this.$t("闪兑"),
        //   route: "/exchange/exchangePage",
        // },
        {
          id: 5,
          text: this.$t("货币理财"),
@@ -192,6 +187,9 @@
  created() {
    this.getAssetsFunds();
    this.getAssets();
  },
  mounted() {
    this.GET_UERS_KYC();
  },
  computed: {
    ...mapGetters("home", ["currency", "theme"]),
@@ -251,6 +249,8 @@
    },
  },
  methods: {
    ...mapActions("user", ["GET_UERS_KYC"]),
    routerList(item) {
      this.$router.push({ path: item.route, query: item.query });
    },