From 66a33e936d39ec4db7fdffed5d646e044ccc43e9 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 18 Apr 2025 10:44:39 +0800
Subject: [PATCH] feat

---
 src/components/trade-order-area/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/components/trade-order-area/index.vue b/src/components/trade-order-area/index.vue
index 9e4792d..a49e7e9 100644
--- a/src/components/trade-order-area/index.vue
+++ b/src/components/trade-order-area/index.vue
@@ -36,7 +36,7 @@
     </div>
     <div v-if="!isTotal" class="h-70 lh-70 inputBackground mb-36 flex justify-center px-16">
       <input :placeholder="$t('数量')" class=" w-full h-70 border-none textColor" v-model="form.volume" @input="onInput" />
-      <span class="textColor">{{ symbol.toLocaleUpperCase() }}</span>
+      <span class="textColor">{{ symbolname }}</span>
     </div>
     <div v-if="isTotal" class="h-70 lh-70 inputBackground  mb-36 flex justify-center px-16">
       <input :placeholder="$t('总额')" class=" w-full h-70 border-none textColor" v-model="form.total"
@@ -67,7 +67,7 @@
             {{ initOpen.volume | nan }}&nbsp;USDT</span>
         </p>
         <p class="text-grey" v-else>{{ $t('可卖') }}<span class="textColor ml-8">{{ initClose.volume | nan }}&nbsp;{{
-          symbol.toLocaleUpperCase() }}</span></p>
+          symbolname }}</span></p>
       </div>
       <van-icon name="add-o" @click="$router.push('/exchange/exchangePage')" class="font-30 add-icon" />
       <!-- <img @click="$router.push('/exchange/exchangePage')" src="@/assets/image/public/switch.png" class="w-24 h-24" /> -->
@@ -102,6 +102,10 @@
       type: String,
       default: ''
     },
+	symbolname: {
+	  type: String,
+	  default: '--'
+	},
     price: {
       type: [Number, String],
       default: '0.00'

--
Gitblit v1.9.3