From b9795c2cc43e0cd161a4c403aa4aee954ec4994a Mon Sep 17 00:00:00 2001 From: WUSIJIAN <13825895+wsj0228@user.noreply.gitee.com> Date: Wed, 21 Jan 2026 16:27:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B5=84=E4=BA=A7=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E9=A1=B5=E9=9D=A2,=E6=96=B0=E5=A2=9E=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=B1=BB=E5=9E=8B=E9=80=89=E6=8B=A9=E5=8A=9F=E8=83=BD?= =?UTF-8?q?,=E6=94=AF=E6=8C=81=E5=9C=A8=E5=BC=80=E9=80=9A=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E6=97=B6=E9=80=89=E6=8B=A9=E7=A7=9F=E6=88=B7=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E7=B1=BB=E5=9E=8B,=E5=90=8C=E6=97=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=BC=80=E9=80=9A=E6=88=90=E5=8A=9F=E5=90=8E=E7=9A=84?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E9=80=BB=E8=BE=91,=E5=A2=9E=E5=8A=A05?= =?UTF-8?q?=E7=A7=92=E5=86=85=E9=98=B2=E9=87=8D=E5=A4=8D=E8=A7=A6=E5=8F=91?= =?UTF-8?q?402=E7=8A=B6=E6=80=81=E7=A0=81=E7=9A=84=E4=BF=9D=E6=8A=A4?= =?UTF-8?q?=E6=9C=BA=E5=88=B6,=E9=81=BF=E5=85=8D=E5=BC=80=E9=80=9A?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=90=8E=E7=AB=8B=E5=8D=B3=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=8F=88=E8=A7=A6=E5=8F=91=E6=9C=AA=E5=BC=80=E9=80=9A=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E5=BE=AA=E7=8E=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/web/subscribe.html | 202 ++++++++++++++++++++++++++++++++++---- src/utils/request.ts | 9 ++ 2 files changed, 190 insertions(+), 21 deletions(-) diff --git a/public/web/subscribe.html b/public/web/subscribe.html index 3037141..a584e41 100644 --- a/public/web/subscribe.html +++ b/public/web/subscribe.html @@ -86,6 +86,64 @@ margin: 0; } + .section-title { + font-size: 0.875rem; + font-weight: 600; + color: #475569; + margin-bottom: 12px; + } + + .type-grid { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 12px; + margin-bottom: 24px; + } + + @media (max-width: 600px) { + .type-grid { + grid-template-columns: 1fr; + } + } + + .type-card { + background: #fff; + border: 2px solid #e2e8f0; + border-radius: 10px; + padding: 14px 16px; + cursor: pointer; + transition: all 0.2s ease; + text-align: center; + position: relative; + } + + .type-card:hover { + border-color: #10b981; + background: #f0fdf4; + } + + .type-card.selected { + border-color: #10b981; + background: #ecfdf5; + } + + .type-card.selected::after { + content: ''; + position: absolute; + top: 8px; + right: 8px; + width: 18px; + height: 18px; + background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat; + border-radius: 50%; + } + + .type-card .type-name { + font-size: 0.95rem; + font-weight: 500; + color: #334155; + } + .sku-grid { display: grid; grid-template-columns: repeat(2, 1fr); @@ -292,7 +350,7 @@