diff --git a/app/pages/bill.vue b/app/pages/bill.vue
index a60bbcf..0fe8d16 100644
--- a/app/pages/bill.vue
+++ b/app/pages/bill.vue
@@ -236,7 +236,7 @@
- {{ item.desc }}
+ {{ displayDesc(item) }}
@@ -510,6 +510,21 @@ function formatAmount(value) {
return num > 0 ? `+${formatNumber(num)}` : formatNumber(num)
}
+function displayTitle(item = {}) {
+ const text = String(item.title || '').trim().replace(/\s*第\s*1\s*张\s*$/g, '').trim()
+ return text || item.title || '点数变动'
+}
+
+function displayDesc(item = {}) {
+ const raw = String(item.desc || '').trim()
+ const text = raw
+ .replace(/(?:,|,|、|\s)*(混元生图\s*3\.0|腾讯混元大模型|腾讯混元|混元大模型|混元模型|高精模型|高清模型)\s*/gi, '')
+ .replace(/(?:,|,|、)\s*(生成模型|模型)\s*[::]?\s*[^,,、]+/g, '')
+ .replace(/[,,、\s]+$/g, '')
+ .trim()
+ return text || raw
+}
+
/**
* 充值流水的订单号。
* 后端 point_log.biz_no 在充值时存的就是 point_order.order_no(消费存的是计费流水号,不展示)。