diff --git a/assets/js/order-center.js b/assets/js/order-center.js index 1cc948ee..f29ae04c 100644 --- a/assets/js/order-center.js +++ b/assets/js/order-center.js @@ -111,39 +111,6 @@ return order && order.is_points ? amount + " " + String(order.currency_symbol || "积分") : "¥" + amount; } - // 处理记录时间线:与售后详细弹窗(order-after-sale.js)同款标记与样式, - // 由 modal-runtime.css 的 .aksrt-after-sale-timeline 规则统一呈现。 - var AFTER_SALE_STATUS_LABELS = { pending: "待审核", processing: "处理中", rejected: "已拒绝", cancelled: "已取消", completed: "已完成" }; - function handlingEntryTitle(entry) { - var status = String((entry && entry.status) || ""); - if (String((entry && entry.source) || "") === "user") { - return status === "cancelled" ? "用户撤销售后" : "用户提交申请"; - } - return AFTER_SALE_STATUS_LABELS[status] || status; - } - function orderDetailHandlingLogHtml(log) { - var entries = Array.isArray(log) ? log : []; - if (!entries.length) return ""; - var html = '
' + escapeHtml(note).replace(/\r\n|\r|\n/g, "
") + '