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

Loading…
Cancel
Save