From d919c251f6d9964b0c1a33473c9b4c1dcb30dd9e Mon Sep 17 00:00:00 2001 From: yml Date: Tue, 17 Nov 2026 20:48:20 +0800 Subject: [PATCH] =?UTF-8?q?style(douyu):=20=E4=BC=98=E5=8C=96=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=8A=B6=E6=80=81=E5=8D=A1=E7=89=87=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DouyuFulfillmentPage.tsx | 22 ++-- apps/frontend/src/styles/client.css | 110 ++++++++++++++++++ 2 files changed, 122 insertions(+), 10 deletions(-) diff --git a/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx b/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx index e9811064..a7b59234 100644 --- a/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx +++ b/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx @@ -284,6 +284,7 @@ export default function DouyuFulfillmentPage() { -

订单信息

-
+
+
+

订单信息

+ + {STATUS_LABELS[data.task.status] || data.task.status} + +
+
订单号 {data.task.platform_order_id}
-
+
商品 {data.task.product_name || data.task.sku_name} × {data.task.quantity}
-
- 状态 - - {STATUS_LABELS[data.task.status] || data.task.status} - -
) } diff --git a/apps/frontend/src/styles/client.css b/apps/frontend/src/styles/client.css index 0b0a7480..b5464eeb 100644 --- a/apps/frontend/src/styles/client.css +++ b/apps/frontend/src/styles/client.css @@ -3007,6 +3007,116 @@ padding-top: 12px; } +.customer-auth-page.is-douyu .customer-order-closed-alert.ant-alert { + align-items: flex-start; + margin: 10px 16px 0; + padding: 12px 14px; + color: #f6c66f; + border: 1px solid #6b4d1f; + border-radius: 10px; + background: #2a2418; +} + +.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-icon { + margin-top: 2px; + color: #f6ad3c; + font-size: 16px; +} + +.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-message, +.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-title { + color: #f7d394; + font-size: 14px; + font-weight: 600; + line-height: 1.4; +} + +.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-description { + margin-top: 3px; + color: #d8c39b; + font-size: 13px; + line-height: 1.5; +} + +.customer-auth-page.is-douyu .customer-douyu-order-card { + padding: 0; + overflow: hidden; + gap: 0; + border-radius: 12px; + background: #202631; +} + +.customer-auth-page.is-douyu .customer-douyu-order-head { + align-items: center; + gap: 12px; + padding: 13px 16px; + border-bottom: 1px solid #343d4c; +} + +.customer-auth-page.is-douyu .customer-douyu-order-head h3 { + margin: 0; + color: #9aa3b2; + font-size: 13px; + font-weight: 600; +} + +.customer-auth-page.is-douyu .customer-douyu-order-field { + display: grid; + grid-template-columns: 72px minmax(0, 1fr); + align-items: start; + gap: 12px; + padding: 11px 16px; + border-bottom: 1px solid #343d4c; +} + +.customer-auth-page.is-douyu .customer-douyu-order-field:last-child { + border-bottom: 0; +} + +.customer-auth-page.is-douyu .customer-douyu-order-field > span { + color: #8f9aaa; + font-size: 13px; + line-height: 1.5; +} + +.customer-auth-page.is-douyu .customer-douyu-order-field > strong { + min-width: 0; + color: #f1f5f9; + font-size: 14px; + font-weight: 600; + line-height: 1.5; + text-align: right; + overflow-wrap: anywhere; +} + +.customer-auth-page.is-douyu .customer-douyu-order-status { + flex: 0 0 auto; + padding: 2px 10px; + border-color: rgba(96, 165, 250, 0.36); + color: #dbeafe; + font-size: 12px; + font-weight: 600; + background: rgba(47, 111, 237, 0.22); +} + +.customer-auth-page.is-douyu .customer-douyu-order-status.is-cancelled { + border-color: rgba(245, 158, 11, 0.38); + color: #f8d28a; + background: rgba(245, 158, 11, 0.14); +} + +.customer-auth-page.is-douyu .customer-douyu-order-status.is-completed { + border-color: rgba(52, 211, 153, 0.38); + color: #a7f3d0; + background: rgba(6, 95, 70, 0.24); +} + +.customer-auth-page.is-douyu .customer-douyu-order-status.is-failed { + border-color: rgba(248, 113, 113, 0.38); + color: #fecaca; + background: rgba(127, 29, 29, 0.24); +} + .customer-choice-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));