From 7e5bdcb00947e0c81cb3a8fc0d15fc69ddcd4613 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Thu, 9 Oct 2025 16:46:40 +0800 Subject: [PATCH] =?UTF-8?q?style(=E8=BD=AC=E8=B4=A6=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E9=A1=B5):=20=E6=9B=B4=E6=96=B0UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/SellerRecordsView.vue | 75 ++++++++++++++++++++++----------- 1 file changed, 50 insertions(+), 25 deletions(-) diff --git a/src/views/SellerRecordsView.vue b/src/views/SellerRecordsView.vue index 1916348..bcb3e1b 100644 --- a/src/views/SellerRecordsView.vue +++ b/src/views/SellerRecordsView.vue @@ -17,16 +17,11 @@

{{ record.userName }}

ID: {{ record.account }}

-
{{ record.time }}
- {{ record.amount }} coins - {{ - getTransactionType(record.type, record.origin) - }} +
{{ record.amount }} coins
+
{{ record.time }}
@@ -44,7 +39,7 @@ import { ref, onMounted } from 'vue' import MobileHeader from '../components/MobileHeader.vue' import { getFreightWaterFlow } from '../api/wallet.js' -import { formatUTCTime } from '@/utils/utcFormat.js' +import { formatUTCCustom } from '@/utils/utcFormat.js' import { getUserId } from '@/utils/userStore.js' const loading = ref(false) @@ -90,7 +85,7 @@ const fetchRecords = async () => { userId: item.acceptUserId, userName: `User${item.acceptUserId.toString().slice(-6)}...`, // 显示最后6位 amount: getAmountDisplay(item.type, item.quantity), - time: formatUTCTime(item.createTime), + time: formatUTCCustom(item.createTime), type: item.type, quantity: item.quantity, balance: item.balance, @@ -115,6 +110,11 @@ onMounted(async () => {