From 5240b444528c578d9548145f166e498227c5ef23 Mon Sep 17 00:00:00 2001 From: erio Date: Tue, 14 Apr 2026 19:45:53 +0800 Subject: [PATCH] refactor(payment): inline payment flow, mobile support, renewal modal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace dialog-based payment with inline state flow (select → paying/stripe). - PaymentStatusPanel replaces QR dialog for scan-to-pay - StripePaymentInline replaces Stripe popup - Subscription confirm as inline card instead of modal - Payment button color follows payment method - Renewal modal with URL parameter navigation (?tab=subscription&group=123) - Mobile auto-redirect for H5 payment - AmountInput uses global min/max instead of per-method - Tab auto-hides during payment - Restore CNY (¥) currency for upstream compatibility --- frontend/src/views/user/PaymentView.vue | 555 +++++++++++++++++------- 1 file changed, 403 insertions(+), 152 deletions(-) diff --git a/frontend/src/views/user/PaymentView.vue b/frontend/src/views/user/PaymentView.vue index db588420..acb0a824 100644 --- a/frontend/src/views/user/PaymentView.vue +++ b/frontend/src/views/user/PaymentView.vue @@ -5,82 +5,217 @@