style(components): 优惠券相关组件样式调整

- 调整了 CouponCard、CouponList 和 orderConfirm 组件中的字体大小、间距等样式
- 优化了标题、金额、条件等元素的视觉效果
- 统一了按钮和状态文本的样式
-调整了部分布局和对齐方式
This commit is contained in:
2025-08-11 18:25:26 +08:00
parent 6f76be4da4
commit 87b83b4d2c
4 changed files with 17 additions and 17 deletions

View File

@@ -34,12 +34,12 @@ const CouponList: React.FC<CouponListProps> = ({
return (
<View className="p-4">
{title && (
<View className="text-lg font-semibold text-gray-800 mb-4">{title}</View>
<View className="font-semibold text-gray-800 mb-4">{title}</View>
)}
{coupons.length === 0 ? (
showEmpty && (
<View className="text-center py-10 px-5 text-gray-500 text-sm">
<View className="text-center py-10 px-5 text-gray-500">
{emptyText}
</View>
)
@@ -61,14 +61,14 @@ const CouponList: React.FC<CouponListProps> = ({
return (
<View>
{title && (
<View className="text-lg font-semibold text-gray-800 mb-4 pl-4">
<View className="font-semibold text-gray-800 mb-4 pl-4">
{title}
</View>
)}
{coupons.length === 0 ? (
showEmpty && (
<View className="text-center py-10 px-5 text-gray-500 text-sm">
<View className="text-center py-10 px-5 text-gray-500">
{emptyText}
</View>
)