From 05b2cd59596baebaebe1773c4ca3ba45deacf2e8 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 21 Apr 2024 17:40:41 +0800
Subject: [PATCH] first
---
src/page/assetsCenter/index.vue | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/src/page/assetsCenter/index.vue b/src/page/assetsCenter/index.vue
index 50d4e22..57fb534 100644
--- a/src/page/assetsCenter/index.vue
+++ b/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 });
},
--
Gitblit v1.9.3