|
@@ -4,14 +4,23 @@
|
|
|
:show_more="false"
|
|
|
:show_refresh="true"
|
|
|
:show_list="true"
|
|
|
+ :transactionsRouterParams="{
|
|
|
+ backUrl: 'back'
|
|
|
+ }"
|
|
|
@on-refresh="onRefresh" />
|
|
|
<div class="top">
|
|
|
<img
|
|
|
class="icon-currency"
|
|
|
:src="currencyInfo.iconPath"/>
|
|
|
<div class="amount">
|
|
|
- {{currencyInfo.totalBalance}} {{currencyInfo.currencyName}}
|
|
|
- <div class="final">${{currencyInfo.totalUsdEstimateBalance}}</div>
|
|
|
+ <a-tooltip :title="'$'+currencyInfo.totalBalance">
|
|
|
+ ${{ getBit(currencyInfo.totalBalance) }}
|
|
|
+ </a-tooltip> {{currencyInfo.currencyName}}
|
|
|
+ <div class="final">
|
|
|
+ <a-tooltip :title="'$'+currencyInfo.totalUsdEstimateBalance">
|
|
|
+ ${{ getBit(currencyInfo.totalUsdEstimateBalance) }}
|
|
|
+ </a-tooltip>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
@@ -44,7 +53,7 @@ import { syncChainTokenRechargeRecord } from "@/http/publishApi";
|
|
|
|
|
|
import VHead from '@/view/popup/components/head.vue'
|
|
|
import currencySelect from "@/view/components/currency-select.vue";
|
|
|
-
|
|
|
+import { getBit } from "@/uilts/help";
|
|
|
|
|
|
let currenciesData = ref([]);
|
|
|
let currencyInfo = ref({});
|
|
@@ -196,6 +205,8 @@ onMounted(() => {
|
|
|
.amount {
|
|
|
font-weight: 700;
|
|
|
font-size: 28px;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
.final {
|
|
|
margin-top: 9px;
|
|
|
font-weight: 500;
|