.order-details.data-v-2e2c92b9 { padding: 10px; background-color: #ece8ea; } .order-details-center.data-v-2e2c92b9 { padding: 10px; background-color: #fff; border-radius: 2%; } .header.data-v-2e2c92b9 { display: flex; flex-direction: column; /* 子元素垂直排列 */ align-items: center; /* 子元素水平居中 */ justify-content: center; /* 子元素垂直居中 */ padding: 20px 0; background-color: #4095e5; width: 100%; height: 200px; position: relative; top: 0; } .Lookbackground.data-v-2e2c92b9 { width: 250px; height: 100px; margin-bottom: 10px; background: #f5f5f5; border-radius: 8px; overflow: hidden; display: flex; justify-content: center; align-items: center; } .header text.data-v-2e2c92b9 { color: #fff; font-size: 14px; margin-top: 10px; margin-top: 5px; text-decoration: underline; } .order.data-v-2e2c92b9 { padding: 20px; background-color: #f9f9f9; width: 85%; border-radius: 5%; } .order-number-container.data-v-2e2c92b9 { display: flex; flex-direction: column; /* 子元素垂直排列 */ align-items: center; /* 子元素水平居中 */ } .order-number.data-v-2e2c92b9 { font-size: 24px; font-weight: bold; margin-bottom: 10px; /* 添加底部间距 */ } .order-number-value.data-v-2e2c92b9 { font-size: 48px; font-weight: bold; margin-bottom: 20px; } .status-bar.data-v-2e2c92b9 { display: flex; justify-content: space-around; padding: 20px 0; } .status-item.data-v-2e2c92b9 { display: flex; align-items: center; } .status-icon.data-v-2e2c92b9 { width: 24px; height: 24px; margin-right: 10px; } .restaurant-info.data-v-2e2c92b9 { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; background-color: #fff; border-bottom: 1px solid #dedede; } .restaurant-name.data-v-2e2c92b9 { font-size: 18px; font-weight: bold; } .restaurant-address.data-v-2e2c92b9 { font-size: 14px; color: #666; } .contact.data-v-2e2c92b9 { display: flex; align-items: center; } .contact-icon.data-v-2e2c92b9 { width: 24px; height: 24px; margin-right: 10px; } .order-items.data-v-2e2c92b9 { padding: 20px 0; background-color: #fff; border-bottom: 1px solid #dedede; } .order-item.data-v-2e2c92b9 { display: flex; align-items: center; padding: 10px 0; } .item-image.data-v-2e2c92b9 { width: 80px; height: 80px; margin-right: 20px; } .item-info.data-v-2e2c92b9 { flex: 1; } .item-name.data-v-2e2c92b9 { font-size: 18px; font-weight: bold; } .item-description.data-v-2e2c92b9 { font-size: 14px; color: #666; } .item-price.data-v-2e2c92b9 { font-size: 18px; font-weight: bold; text-align: right; } .order-summary.data-v-2e2c92b9 { padding: 20px 0; } .summary-item.data-v-2e2c92b9 { display: flex; justify-content: space-between; padding: 10px 0; } .order-info.data-v-2e2c92b9 { padding: 20px 0; background-color: #fff; border-bottom: 1px solid #dedede; } .order-label.data-v-2e2c92b9 { font-size: 18px; font-weight: bold; padding-bottom: 10px; } .order-detail.data-v-2e2c92b9 { display: flex; flex-direction: column; } .detail-item.data-v-2e2c92b9 { display: flex; justify-content: space-between; padding: 10px 0; } .image-box.data-v-2e2c92b9 { width: 250rpx; height: 250rpx; display: block; /* 确保img作为块级元素,以便margin auto生效 */ margin: 40px auto 0; /* 上边距40px,左右自动居中 */ }