From 915311dcb6784399d2cf1810d67b90420772f5f6 Mon Sep 17 00:00:00 2001 From: kate522 Date: Tue, 6 Oct 2026 18:27:23 +0000 Subject: [PATCH] =?UTF-8?q?feat(payment):=20=E8=AE=A2=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=BC=B9=E7=AA=97=E7=BB=9F=E4=B8=80=E4=B8=BA=20modal-?= =?UTF-8?q?mini=20+=20=E8=93=9D=E8=89=B2=E7=82=AB=E5=BD=A9=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/order-center.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/assets/js/order-center.js b/assets/js/order-center.js index cd93dd2b..14f0d298 100644 --- a/assets/js/order-center.js +++ b/assets/js/order-center.js @@ -126,6 +126,14 @@ return order && order.is_points ? amount + " " + String(order.currency_symbol || "积分") : "¥" + amount; } + function colorfulHeader(title, icon) { + return ''; + } + function renderDetail(state, order, session) { var allowedActions = order.allowed_actions || {}; var reconciliation = order.reconciliation || {}; @@ -136,6 +144,8 @@ var meta = statusMeta(status); var timeLeft = Number(order.time_left || 0); var html = ""; + // 炫彩标题区:与售后弹窗统一(modal-mini + jb-blue),运行时不再渲染默认标题栏。 + html += colorfulHeader("订单详情", "fa-receipt"); // 状态横幅:整块配色只由 --hero-accent 驱动,换状态只改一处变量。 html += '
'; @@ -224,7 +234,6 @@ method: refresh ? "POST" : "GET", headers: actionKey ? { "Idempotency-Key": state.operationKeys[actionKey] } : {}, kind: "orders", - title: "订单详情", className: "aksrt-order-detail-modal", responseType: "json", cache: !refresh,