From 7fc6bfe900790ec7c92bce85d5b20a95fbc06e65 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 15 Oct 2025 10:29:30 +0800
Subject: [PATCH] 其他人改的版本
---
src/components/Transform/list-quotation/index.vue | 30 ++++++++++++++++++++++++------
1 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/src/components/Transform/list-quotation/index.vue b/src/components/Transform/list-quotation/index.vue
index 8431552..c743ddd 100644
--- a/src/components/Transform/list-quotation/index.vue
+++ b/src/components/Transform/list-quotation/index.vue
@@ -1,6 +1,19 @@
<template>
<div class="list-quatation">
<ex-tabs @tabs="onTabs" v-if="tabShow"></ex-tabs>
+ <div style="font-size: 12px">
+ <div class="flex-centerY" style="color: #999;margin-top: 10px">
+ <div style="flex: 2">
+ {{$t("名称/交易额")}}
+ </div>
+ <div style="flex: 1;text-align: end;margin-right: 15px">
+ {{$t("最新价")}}
+ </div>
+ <div style="flex: 1;text-align: end">
+ {{$t("涨跌幅")}}
+ </div>
+ </div>
+ </div>
<van-list>
<van-cell v-if="tabHeadShow">
<div class="flex items-center w-full text-grey font-26">
@@ -32,19 +45,24 @@
<span class="textColor font-600">
{{ item.symbol_data && item.symbol_data.toUpperCase() || '--' }}
</span>
- <span class="text-grey" style="position: relative; top: 1px">
+ <span class="text-grey" style="position: relative; top: 1px;font-size: 12px;color: #333">
/USDT
</span>
<!-- <span class="font-24 text-grey" style="position: relative; top: 1px">
{{ item.name && item.name.replace(item.symbol.toUpperCase(), '') || '--' }}</span> -->
</span>
- <span class="font-12 text-grey text-left leading-none">{{ $t('成交量') + ' ' + (item.amount *
- 1).toFixed(2) }}</span>
+<!-- <span class="font-12 text-grey text-left leading-none">{{ $t('成交量') + ' ' + (item.amount *-->
+<!-- 1).toFixed(2) }}</span>-->
+ <div>
+ <span class="font-12 text-grey text-left leading-none" style="font-size: 10px;color: #999">{{ (item.amount *1).toFixed(2) }}</span>
+ <span class="font-12 text-grey text-left leading-none" style="font-size: 10px;color: #999"> M USDT</span>
+ </div>
</p>
</li>
- <li class="flex flex-col items-end mid">
- <p class="textColor font-16 font-600">{{ item.close || '--' }}</p>
- <p class="font-12 text-grey leading-none">{{ currency.currency_symbol }}
+ <li class="flex flex-col items-end mid" >
+<!-- <p class="textColor font-16 font-600">{{ item.close || '--' }}</p>-->
+ <p class="font-12 text-grey leading-none" style="font-size: 12px;color: #333">
+<!-- {{ currency.currency_symbol }}-->
{{ item.close && item.symbol_data.toUpperCase() == 'SHIB' ? (item.close * currency.rate).toFixed(8) :
(item.close *
currency.rate).toFixed(2) || '--' }}</p>
--
Gitblit v1.9.3