2025-12-27 16:06:24 +08:00

223 lines
3.4 KiB
CSS

page {
background-color: #F5F7FA;
}
/* 订单详情页面样式 */
.order-detail-container {
display: flex;
flex-direction: column;
padding-bottom: 20rpx;
}
/* 通用区块样式 */
.section {
background-color: #ffffff;
border-radius: 12rpx;
margin: 10rpx 20rpx;
padding: 24rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
}
.section-title {
font-size: 30rpx;
font-weight: 600;
color: #333333;
margin-bottom: 20rpx;
}
/* 商品信息 */
.goods-item {
display: flex;
align-items: center;
padding: 10rpx 0;
}
.goods-image {
width: 140rpx;
height: 140rpx;
border-radius: 8rpx;
margin-right: 20rpx;
}
.goods-info {
flex: 1;
min-width: 0;
}
.goods-name {
font-size: 28rpx;
font-weight: 500;
color: #333333;
margin-bottom: 10rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.goods-quantity {
font-size: 24rpx;
color: #999999;
}
/* 价格信息 */
.price-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16rpx 0;
border-bottom: 1rpx solid #F0F0F0;
}
.price-item:last-child {
border-bottom: none;
}
.price-label {
font-size: 26rpx;
color: #666666;
}
.price-value {
font-size: 26rpx;
color: #333333;
}
.total-price .price-label {
font-weight: 600;
}
.total-price .price-value {
font-weight: 600;
color: #FF5000;
}
/* 收货地址 */
.address-info {
padding: 10rpx 0;
}
.consignee {
font-size: 28rpx;
font-weight: 500;
color: #333333;
margin-bottom: 10rpx;
}
.address-detail {
font-size: 26rpx;
color: #666666;
line-height: 36rpx;
}
/* 订单信息 */
.order-info-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16rpx 0;
border-bottom: 1rpx solid #F0F0F0;
}
.order-info-item:last-child {
border-bottom: none;
}
.info-label {
font-size: 26rpx;
color: #666666;
}
.info-value {
font-size: 26rpx;
color: #333333;
display: flex;
align-items: center;
}
.copy-btn {
background-color: transparent;
border: none;
color: #4A6CF7;
font-size: 24rpx;
margin-left: 16rpx;
padding: 0;
}
/* 门店信息卡片 */
.store-card {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 10rpx 0;
}
.store-info {
flex: 1;
padding-right: 20rpx;
}
.store-name {
font-size: 28rpx;
font-weight: 600;
color: #333333;
margin-bottom: 10rpx;
}
.store-address {
font-size: 24rpx;
color: #666666;
line-height: 36rpx;
}
.nav-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: transparent;
border: none;
color: #ff4d4f;
font-size: 24rpx;
padding: 0;
}
.nav-image {
width: 30rpx;
height: 30rpx;
margin-bottom: 10rpx;
}
/* 响应式设计 */
@media (max-width: 375px) {
.section {
margin: 16rpx;
padding: 20rpx;
}
.section-title {
font-size: 28rpx;
}
.goods-image {
width: 120rpx;
height: 120rpx;
}
.goods-name {
font-size: 26rpx;
}
.price-item,
.order-info-item {
padding: 14rpx 0;
}
.price-label,
.price-value,
.info-label,
.info-value {
font-size: 24rpx;
}
}