| | |
| | | <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> |
| | |
| | | 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"; |
| | |
| | | { |
| | | 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("货币理财"), |
| | |
| | | created() { |
| | | this.getAssetsFunds(); |
| | | this.getAssets(); |
| | | }, |
| | | mounted() { |
| | | this.GET_UERS_KYC(); |
| | | }, |
| | | computed: { |
| | | ...mapGetters("home", ["currency", "theme"]), |
| | |
| | | }, |
| | | }, |
| | | methods: { |
| | | ...mapActions("user", ["GET_UERS_KYC"]), |
| | | |
| | | routerList(item) { |
| | | this.$router.push({ path: item.route, query: item.query }); |
| | | }, |