fix(order): 修复订单详情页面样式和文本显示问题
- 修正时间轴线条宽度样式,使用rpx单位确保正确显示 - 将需求ID文本更改为订单号以匹配实际业务含义 - 移除多余空行优化代码结构
This commit is contained in:
@@ -233,7 +233,7 @@ export default function CreditMyOrderDetailPage() {
|
|||||||
<View key={`${n.title}-${idx}`} className="flex items-stretch">
|
<View key={`${n.title}-${idx}`} className="flex items-stretch">
|
||||||
<View className="w-6 flex flex-col items-center">
|
<View className="w-6 flex flex-col items-center">
|
||||||
<View className={`w-3 h-3 rounded-full mt-1 ${circleClass}`} />
|
<View className={`w-3 h-3 rounded-full mt-1 ${circleClass}`} />
|
||||||
{!isLast && <View className={`flex-1 w-[2px] ${lineClass}`} />}
|
{!isLast && <View className={`flex-1 ${lineClass}`} style={{ width: '2rpx' }} />}
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View className="flex-1 pb-4">
|
<View className="flex-1 pb-4">
|
||||||
@@ -314,4 +314,3 @@ export default function CreditMyOrderDetailPage() {
|
|||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ export default function CreditMyOrderPage() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<View className="mt-2 text-xs text-gray-500 flex items-center justify-between">
|
<View className="mt-2 text-xs text-gray-500 flex items-center justify-between">
|
||||||
<Text>需求ID:{row.id ?? '-'}</Text>
|
<Text>订单号:{row.id ?? '-'}</Text>
|
||||||
<Text>{time || ''}</Text>
|
<Text>{time || ''}</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user