From ffa3b09bc4adfaaa0df03c678ed6c43a999aa8c6 Mon Sep 17 00:00:00 2001 From: Megghy Date: Thu, 1 May 2025 14:43:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E5=92=8C=E8=AE=A2=E5=8D=95=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 PointHistoryCard.vue 中优化积分来源标签显示逻辑 - 在 PointOrderCard.vue 中添加收货地址信息展示 - 修复开放平台弹幕排队无法加载的问题 --- src/components/manage/PointHistoryCard.vue | 38 +- src/components/manage/PointOrderCard.vue | 14 + src/views/open_live/OpenQueue.vue | 2032 ++++++++++---------- 3 files changed, 1060 insertions(+), 1024 deletions(-) diff --git a/src/components/manage/PointHistoryCard.vue b/src/components/manage/PointHistoryCard.vue index 3b38df4..9c672f2 100644 --- a/src/components/manage/PointHistoryCard.vue +++ b/src/components/manage/PointHistoryCard.vue @@ -96,7 +96,7 @@ const historyColumn: DataTableColumns = [ case PointFrom.Manual: return h( NTag, - { type: 'success', bordered: false, size: 'small' }, + { type: row.point > 0 ? 'success' : 'error', bordered: false, size: 'small' }, () => '主播' + (row.point > 0 ? '赠予' : '扣除'), ) case PointFrom.Use: @@ -194,22 +194,40 @@ const historyColumn: DataTableColumns = [ diff --git a/src/components/manage/PointOrderCard.vue b/src/components/manage/PointOrderCard.vue index 5720e4f..4a16900 100644 --- a/src/components/manage/PointOrderCard.vue +++ b/src/components/manage/PointOrderCard.vue @@ -721,6 +721,16 @@ onMounted(() => { + +