|
|
|
@ -56,10 +56,11 @@ |
|
|
|
<div class="my-1"> |
|
|
|
≈ |
|
|
|
<span class="num h2"> |
|
|
|
<template v-if="showValue">{{userAssets.total_assets_usd|omitTo(2)}}</template> |
|
|
|
<!-- <template v-if="showValue">{{userAssets.total_assets_usd|omitTo(2)}}</template> --> |
|
|
|
<template v-if="showValue">${{price1(userAssets.total_assets_usd,2)}}</template> |
|
|
|
<template v-else>********</template> |
|
|
|
</span> |
|
|
|
USDT |
|
|
|
<!-- USDT --> |
|
|
|
</div> |
|
|
|
<div class="container"> |
|
|
|
<div class="row mt-4"> |
|
|
|
@ -68,6 +69,7 @@ |
|
|
|
<div> |
|
|
|
<span class="num h3"> |
|
|
|
<template v-if="showValue">{{userAssets.funds_account_usd|omitTo(2)}}</template> |
|
|
|
<!-- <template v-if="showValue">{{price1(userAssets.funds_account_usd,2)}}</template> --> |
|
|
|
<template v-else>********</template> |
|
|
|
</span> |
|
|
|
USDT |
|
|
|
@ -559,6 +561,16 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
price1(item,index){ |
|
|
|
if (item) { |
|
|
|
let price = item.toFixed(index).toString(); |
|
|
|
let parts = price.split("."); |
|
|
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); |
|
|
|
return parts.join("."); |
|
|
|
}else{ |
|
|
|
return '0.00'; |
|
|
|
} |
|
|
|
}, |
|
|
|
//确认提交贝宝支付 |
|
|
|
paypalSbumit(){ |
|
|
|
if(!this.paypal.amount){ |
|
|
|
|