Browse Source

style: 移除订单详情的卡片边框和样式

main
Your Name (aider) 4 weeks ago
parent
commit
d80ce7a04f
  1. 12
      app/screens/previewOrder/perviewOrder.tsx

12
app/screens/previewOrder/perviewOrder.tsx

@ -207,11 +207,11 @@ const styles = StyleSheet.create({
},
// Card styles for order details
card: {
backgroundColor: "#ffffff", // White background for the card
borderRadius: 12, // Rounded corners
// backgroundColor: "#ffffff", // Removed, will inherit from section or be transparent
// borderRadius: 12, // Removed rounded corners
// marginHorizontal: 15, // Removed to align with parent section padding
marginTop: 20, // Margin from the top element
padding: 18, // Inner padding
marginTop: 10, // Adjusted margin from the top element
// padding: 18, // Removed inner padding, rely on section or detailRow padding
// shadowColor: "#000", // Removed shadow
// shadowOffset: {
// width: 0,
@ -220,8 +220,8 @@ const styles = StyleSheet.create({
// shadowOpacity: 0.1,
// shadowRadius: 3.84,
// elevation: 5, // Removed elevation
borderWidth: 1, // Add a border to define the card area
borderColor: "#e0e0e0", // Light border color
// borderWidth: 1, // Removed border
// borderColor: "#e0e0e0", // Removed border color
},
cardTitle: {
fontSize: 18,

Loading…
Cancel
Save