From f313ffbb9210119927a41c15640daebdd3492b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9D=B0?= Date: Fri, 12 Sep 2025 15:13:14 +0800 Subject: [PATCH] fix: style --- src/mod_user/orderDetail/index.module.scss | 27 ++++++++++++++++++++++ src/mod_user/orderDetail/index.tsx | 14 +++++++---- 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/src/mod_user/orderDetail/index.module.scss b/src/mod_user/orderDetail/index.module.scss index 3fe44c1..d7aed40 100644 --- a/src/mod_user/orderDetail/index.module.scss +++ b/src/mod_user/orderDetail/index.module.scss @@ -291,6 +291,14 @@ font-style: normal; font-weight: 400; line-height: 24px; + + .location { + display: flex; + flex-direction: column; + align-items: flex-end; + justify-content: center; + gap: 8px; + } } } } @@ -403,5 +411,24 @@ position: fixed; bottom: 40px; left: 12px; + width: 345px; + height: 54px; width: calc(100vw - 24px); + border-radius: 16px; + border: 1px solid rgba(0, 0, 0, 0.06); + display: flex; + align-items: center; + justify-content: center; + color: #fff; + background: #000; + box-shadow: 0 8px 64px 0 rgba(0, 0, 0, 0.1); + backdrop-filter: blur(16px); + font-feature-settings: + "liga" off, + "clig" off; + font-family: "PingFang SC"; + font-size: 16px; + font-style: normal; + font-weight: 600; + line-height: normal; } diff --git a/src/mod_user/orderDetail/index.tsx b/src/mod_user/orderDetail/index.tsx index b5c4b24..0423eae 100644 --- a/src/mod_user/orderDetail/index.tsx +++ b/src/mod_user/orderDetail/index.tsx @@ -152,7 +152,12 @@ function OrderMsg(props) { }, { title: "地址", - content: `${location} ${location_name}`, + content: ( + + {location} + {location_name} + + ), }, { title: "组织者昵称", @@ -177,7 +182,7 @@ function OrderMsg(props) { {summary.map((item, index) => ( {item.title} - {item.content} + {item.content} ))} @@ -342,8 +347,9 @@ const OrderCheck = () => { {/* Disclaimer */} {(!id || orderDetail.order_status === OrderStatus.PENDING) && ( - )}