From b0fd568271764419db0796a0c84c37a2ff4427f8 Mon Sep 17 00:00:00 2001 From: wolter <11@gmail> Date: Tue, 22 Jul 2025 11:54:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=961?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/templates/payPage.html | 704 ++++++++++++++++++----------------- 1 file changed, 358 insertions(+), 346 deletions(-) diff --git a/front/templates/payPage.html b/front/templates/payPage.html index cab7a61..ecca6e3 100644 --- a/front/templates/payPage.html +++ b/front/templates/payPage.html @@ -1,378 +1,390 @@ {{define "payPage.html"}} - - + + + + + + 收银台页面 - - - - 收银台页面 + - + .loading-spinner { + border: 5px solid #f3f3f3; + border-top: 5px solid #007bff; + border-radius: 50%; + width: 50px; + height: 50px; + animation: spin 1s linear infinite; + margin-bottom: 20px; + } - {{if eq .code 200 }} - + @keyframes spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } + } + + .loading-text { + color: #666; + font-size: 18px; + } + + /* 支付信息卡片 */ + .payment-info { + background: #f9f9f9; + padding: 20px; + border-radius: 8px; + margin-bottom: 20px; + } + + .payment-info h2 { + margin-top: 0; + color: #333; + } + + /* 支付方式选项 */ + .payment-option { + padding: 15px; + border: 1px solid #ddd; + border-radius: 8px; + margin-bottom: 10px; + cursor: pointer; + transition: all 0.3s ease; + } + + .payment-option:hover { + border-color: #007bff; + background-color: #f0f7ff; + } + + .payment-option input[type="radio"] { + margin-right: 15px; + } + + .payment-option.selected { + border-color: #007bff; + background-color: #f0f7ff; + } + + + + {{if eq .code 200 }} + -