fix: style

This commit is contained in:
2025-09-12 15:13:14 +08:00
parent 8464978e83
commit f313ffbb92
2 changed files with 37 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -152,7 +152,12 @@ function OrderMsg(props) {
},
{
title: "地址",
content: `${location} ${location_name}`,
content: (
<View className={styles.location}>
<Text>{location}</Text>
<Text>{location_name}</Text>
</View>
),
},
{
title: "组织者昵称",
@@ -177,7 +182,7 @@ function OrderMsg(props) {
{summary.map((item, index) => (
<View key={index} className={styles.summaryItem}>
<Text className={styles.title}>{item.title}</Text>
<Text className={styles.content}>{item.content}</Text>
<View className={styles.content}>{item.content}</View>
</View>
))}
</View>
@@ -342,8 +347,9 @@ const OrderCheck = () => {
{/* Disclaimer */}
<Disclaimer />
{(!id || orderDetail.order_status === OrderStatus.PENDING) && (
<Button className={styles.payButton} type="primary" onClick={handlePay}>
{orderDetail.order_status === OrderStatus.PENDING ? "继续" : ""}
<Button className={styles.payButton} onClick={handlePay}>
{orderDetail.order_status === OrderStatus.PENDING ? "继续" : "确认"}
</Button>
)}
</View>