Browse Source

style: 移除订单预览卡片阴影并添加边框

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

20
app/screens/previewOrder/perviewOrder.tsx

@ -209,17 +209,19 @@ const styles = StyleSheet.create({
card: {
backgroundColor: "#ffffff", // White background for the card
borderRadius: 12, // Rounded corners
marginHorizontal: 15, // Horizontal margin
// marginHorizontal: 15, // Removed to align with parent section padding
marginTop: 20, // Margin from the top element
padding: 18, // Inner padding
shadowColor: "#000", // Shadow for depth
shadowOffset: {
width: 0,
height: 2,
},
shadowOpacity: 0.1,
shadowRadius: 3.84,
elevation: 5, // Elevation for Android
// shadowColor: "#000", // Removed shadow
// shadowOffset: {
// width: 0,
// height: 2,
// },
// 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
},
cardTitle: {
fontSize: 18,

Loading…
Cancel
Save