2025-07-04 19:07:35 +08:00

69 lines
1.1 KiB
CSS

/* 首页样式 */
.product-card {
transition: transform 0.2s;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.category-card {
transition: all 0.2s;
}
.category-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* 欢迎横幅样式 */
.jumbotron {
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}
/* 商品图片样式 */
.product-image {
height: 200px;
object-fit: cover;
}
.product-image-placeholder {
height: 200px;
background-color: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
}
/* 价格样式 */
.price-current {
color: #dc3545;
font-weight: bold;
}
.price-original {
color: #6c757d;
text-decoration: line-through;
font-size: 0.875rem;
}
/* 服务特色卡片 */
.feature-card {
transition: transform 0.2s;
}
.feature-card:hover {
transform: translateY(-3px);
}
/* 用户专区卡片 */
.user-zone-card {
transition: all 0.2s;
}
.user-zone-card:hover {
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}