探索创新科技产品
发现最新颖的科技产品,提升您的生活品质和工作效率
热门产品
我们最受欢迎的科技产品
热卖中
高品质无线耳机
沉浸式音效,舒适佩戴体验,长达30小时续航
¥1299
智能健康手表
监测心率、睡眠质量,接收通知,7天电池续航
新品
便携蓝牙音箱
360度环绕音效,防水设计,20小时播放时间
¥899
超薄无线键盘
舒适打字体验,多设备切换,2年电池寿命
为什么选择我们
我们致力于提供最优质的科技产品和服务
免费快速配送
订单满299元享受免费配送,大部分地区1-2天送达
30天无忧退货
对产品不满意?30天内无理由退货
两年质量保障
所有产品提供两年制造商保修服务
专业客户支持
我们的专家团队7×24小时为您提供支持
/* 基础样式重置 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: ‘Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f8f9fa;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* 头部样式 */
.site-header {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
.site-header .container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
}
.logo {
font-size: 1.8rem;
font-weight: 700;
color: #3498db;
}
.main-nav ul {
display: flex;
list-style: none;
gap: 30px;
}
.main-nav a {
text-decoration: none;
color: #333;
font-weight: 500;
transition: color 0.3s;
}
.main-nav a:hover {
color: #3498db;
}
.header-actions {
display: flex;
gap: 15px;
}
.search-btn, .cart-btn {
background: none;
border: none;
font-size: 1.2rem;
cursor: pointer;
position: relative;
color: #555;
transition: color 0.3s;
}
.search-btn:hover, .cart-btn:hover {
color: #3498db;
}
.cart-count {
position: absolute;
top: -8px;
right: -8px;
background-color: #e74c3c;
color: white;
font-size: 0.7rem;
width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
/* 主内容区域 */
.main-content {
padding: 40px 0;
}
/* 英雄区域 */
.hero-section {
background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
color: white;
padding: 80px 0;
text-align: center;
margin-bottom: 60px;
}
.hero-content h2 {
font-size: 2.5rem;
margin-bottom: 20px;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 30px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.cta-button {
background-color: #e74c3c;
color: white;
border: none;
padding: 12px 30px;
font-size: 1.1rem;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #c0392b;
}
/* 区域标题 */
.section-header {
text-align: center;
margin-bottom: 50px;
}
.section-header h2 {
font-size: 2.2rem;
color: #2c3e50;
margin-bottom: 15px;
}
.section-header p {
color: #7f8c8d;
font-size: 1.1rem;
}
/* 产品网格 */
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
margin-bottom: 80px;
}
.product-card {
background-color: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.product-image {
position: relative;
height: 200px;
overflow: hidden;
}
.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.product-card:hover .product-image img {
transform: scale(1.05);
}
.product-badge {
position: absolute;
top: 15px;
left: 15px;
background-color: #e74c3c;
color: white;
padding: 5px 10px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 600;
}
.wishlist-btn {
position: absolute;
top: 15px;
right: 15px;
background-color: white;
border: none;
width: 35px;
height: 35px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: background-color 0.3s;
}
.wishlist-btn:hover {
background-color: #f8f9fa;
}
.product-info {
padding: 20px;
}
.product-title {
font-size: 1.2rem;
margin-bottom: 10px;
color: #2c3e50;
}
.product-description {
color: #7f8c8d;
margin-bottom: 15px;
font-size: 0.9rem;
}
.product-rating {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.stars {
color: #f39c12;
margin-right: 10px;
}
.rating-value {
font-size: 0.9rem;
color: #7f8c8d;
}
.product-price {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.current-price {
font-size: 1.3rem;
font-weight: 700;
color: #2c3e50;
margin-right: 10px;
}
.original-price {
font-size: 1rem;
color: #7f8c8d;
text-decoration: line-through;
}
.add-to-cart-btn {
width: 100%;
background-color: #3498db;
color: white;
border: none;
padding: 12px;
border-radius: 5px;
cursor: pointer;
font-weight: 600;
transition: background-color 0.3s;
}
.add-to-cart-btn:hover {
background-color: #2980b9;
}
/* 特性区域 */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.feature-item {
text-align: center;
padding: 30px 20px;
background-color: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s;
}
.feature-item:hover {
transform: translateY(-5px);
}
.feature-icon {
width: 70px;
height: 70px;
background-color: rgba(52, 152, 219, 0.1);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto 20px;
font-size: 1.8rem;
color: #3498db;
}
.feature-item h3 {
margin-bottom: 15px;
color: #2c3e50;
}
.feature-item p {
color: #7f8c8d;
}
/* 页脚样式 */
.site-footer {
background-color: #2c3e50;
color: white;
padding: 50px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.footer-section h3,
.footer-section h4 {
margin-bottom: 20px;
color: #fff;
}
.footer-section p {
margin-bottom: 20px;
color: #bdc3c7;
}
.footer-section ul {
list-style: none;
}
.footer-section li {
margin-bottom: 10px;
}
.footer-section a {
color: #bdc3c7;
text-decoration: none;
transition: color 0.3s;
}
.footer-section a:hover {
color: #3498db;
}
.social-links {
display: flex;
gap: 15px;
}
.social-links a {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
transition: background-color 0.3s;
}
.social-links a:hover {
background-color: #3498db;
}
.footer-bottom {
text-align: center;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #bdc3c7;
}
/* 响应式设计 */
@media (max-width: 768px) {
.site-header .container {
flex-direction: column;
gap: 15px;
}
.main-nav ul {
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}
.hero-content h2 {
font-size: 2rem;
}
.products-grid {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
}
@media (max-width: 480px) {
.hero-section {
padding: 50px 0;
}
.section-header h2 {
font-size: 1.8rem;
}
.products-grid {
grid-template-columns: 1fr;
}
}