From 1201f7a4a72288816033dab8ab5058daf9425590 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Tue, 16 Dec 2025 11:27:54 +0800
Subject: [PATCH] 1
---
src/views/cryptos/Exchange/exchangePage.vue | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/views/cryptos/Exchange/exchangePage.vue b/src/views/cryptos/Exchange/exchangePage.vue
index 5637166..08ce7c1 100644
--- a/src/views/cryptos/Exchange/exchangePage.vue
+++ b/src/views/cryptos/Exchange/exchangePage.vue
@@ -2,9 +2,9 @@
<div id="cryptos">
<van-nav-bar left-arrow @click-left="onClickLeft">
- <template #right>
+ <!-- <template #right>
<van-icon class="exchange-icon" @click="$router.push('/cryptos/exchangeHistory')" name="clock-o" />
- </template>
+ </template> -->
<template #title>
<div class="flex items-center">
{{ $t('闪兑') }}
@@ -29,7 +29,7 @@
class="w-70 h-70 rounded-full" />
</div>
<div class="text-grey font-28 mt-20">{{ $t('从') }}</div>
- <div class="font-30 mt-30">{{ detail.volume }} {{ detail.symbol }}</div>
+ <div class="font-30 mt-30">{{ detail.volume }} {{ detail.name }}</div>
</div>
<img src="../../../assets/image/exchange/icon_6.png" class="w-30 h-20" style="margin-top:-65px" />
@@ -39,8 +39,9 @@
class="w-70 h-70 rounded-full" />
</div>
<div class="text-grey font-28 mt-20">{{ $t('至') }}</div>
- <div class="font-30 mt-30" v-if="detail.volume">{{ (detail.volume * detail.rate).toFixed(5) }}
- {{ detail.symbol_to }}</div>
+ <div class="font-30 mt-30" v-if="detail.volume">
+ {{ (detail.volume * detail.rate).toFixed(8) }} {{ detail.symbol_to }}
+ </div>
</div>
</div>
@@ -60,8 +61,8 @@
</li> -->
<li class="flex justify-between font-28 mt-25">
<span class="text-grey">{{ $t('汇率') }}</span>
- <span class="textColor">1 {{ detail.symbol &&
- detail.symbol.toUpperCase() }}≈{{ (detail.rate * 1).toFixed(5) }} {{ detail.symbol_to &&
+ <span class="textColor">1 {{ detail.name &&
+ detail.name.toUpperCase() }}≈{{ (detail.rate * 1).toFixed(8) }} {{ detail.symbol_to &&
detail.symbol_to.toUpperCase() }}</span>
</li>
</ul>
@@ -133,6 +134,7 @@
},
onConfirm() { // 闪兑
this.clearInterval()
+ console.log(this.detail);
let obj = {
symbol: this.detail.symbol_ex,
symbol_to: this.detail.symbol_to_ex,
--
Gitblit v1.9.3