fix: 用户端订单列表只显示支付渠道,不显示提供商

管理后台仍保留提供商信息显示
This commit is contained in:
erio
2026-03-09 11:32:50 +08:00
parent 5fb16f0ccf
commit 5cebe85079
2 changed files with 2 additions and 17 deletions

View File

@@ -114,10 +114,7 @@ export default function MobileOrderList({
</span>
</div>
<div className={['mt-1 text-sm', isDark ? 'text-slate-300' : 'text-slate-600'].join(' ')}>
{(() => {
const { channel, provider } = getPaymentDisplayInfo(order.paymentType);
return provider ? `${channel} · ${provider}` : channel;
})()}
{getPaymentDisplayInfo(order.paymentType).channel}
</div>
<div className={['mt-0.5 text-xs', isDark ? 'text-slate-400' : 'text-slate-500'].join(' ')}>
{formatCreatedAt(order.createdAt)}