feat(closed-loop): complete end-to-end closed loops across miniapp, backend, and admin

这个提交包含在:
xcbyy
2026-10-14 10:13:50 +08:00
父节点 f8e81d2df4
当前提交 51c19d6063
共有 14 个文件被更改,包括 996 次插入 和 134 次删除

查看文件

@@ -46,7 +46,7 @@
<text class="countdown-txt">{{ getOrderCountdown(order) }}</text>
</view>
<view class="status-pill" :class="order.status">
{{ getStatusText(order.status) }}
{{ getStatusText(order.status, order) }}
</view>
</view>
</view>
@@ -465,12 +465,14 @@ const goToExplore = () => {
});
};
const getStatusText = (status) => {
const getStatusText = (status, order) => {
if (order && order.rawStatus === '已退款') return '已全额退款';
if (order && order.rawStatus === '争议仲裁中') return '争议仲裁中';
const map = {
PENDING_PAY: '待付款',
IN_SERVICE: '服务中',
COMPLETED: '已完成',
REFUNDING: '退款中',
REFUNDING: '售后处理中',
CANCELLED: '已取消',
};
return map[status] || status;