fix: 首页弹窗收货信息优化
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 2m23s

This commit is contained in:
luo
2026-09-24 11:09:46 +08:00
parent e82b0ab5da
commit 65f997cbc3
3 changed files with 246 additions and 42 deletions

View File

@@ -222,11 +222,12 @@
const showOrderPaymentMethods = (order) => {
if (!order?.order_id) return;
const packageNames = Array.isArray(order.package_names) ? order.package_names : [];
if (String(order.payment_method || '').toLowerCase() === 'wallet') {
const paymentMethod = String(order.payment_method || '').trim().toLowerCase();
if (paymentMethod === 'wallet') {
renewalPopupRef.value?.payOrderDirectly(order.order_id, 'wallet');
return;
}
renewalPopupRef.value?.openOrderPayment(order.order_id, packageNames);
renewalPopupRef.value?.openOrderPayment(order.order_id, packageNames, paymentMethod);
};
onShow(() => {