fix: 优化主图布局和内容显示

- 主图1: 正面图放大,周围留白统一
- 主图2: 改为竖向排列,标题改为可选CPU和可选内存硬盘
- 主图3: 大图周围留白减少,右侧卖点填充满
- 主图4: 竖向排列,修改文案(包邮、详细教程、标配等)
- 主图5: 调整底部间距,避免重叠
This commit is contained in:
12600k-rog-d4
2026-04-04 22:42:54 +08:00
parent 0109d8e98a
commit c45b8eacd0
12 changed files with 254 additions and 273 deletions

View File

@@ -30,63 +30,63 @@
/* 背景光晕效果 */
.glow {
position: absolute;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(144,238,144,0.15) 0%, transparent 70%);
width: 650px;
height: 650px;
background: radial-gradient(circle, rgba(144,238,144,0.18) 0%, transparent 70%);
top: 50%;
left: 50%;
transform: translate(-50%, -30%);
transform: translate(-50%, -35%);
pointer-events: none;
}
/* 顶部标题 */
.header {
position: absolute;
top: 25px;
top: 20px;
left: 0;
right: 0;
text-align: center;
z-index: 10;
}
.title {
font-size: 44px;
font-size: 40px;
font-weight: bold;
color: #fff;
text-shadow: 0 2px 10px rgba(0,0,0,0.5);
letter-spacing: 4px;
}
.subtitle {
font-size: 22px;
font-size: 20px;
color: #a8e6a8;
margin-top: 8px;
margin-top: 6px;
letter-spacing: 3px;
}
/* 产品展示台 */
/* 产品展示台 - 更大 */
.product-stage {
width: 520px;
height: 420px;
width: 600px;
height: 480px;
background: rgba(255,255,255,0.08);
border-radius: 30px;
border-radius: 25px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
margin-top: 30px;
margin-top: 20px;
backdrop-filter: blur(5px);
border: 1px solid rgba(255,255,255,0.15);
box-shadow:
0 20px 60px rgba(0,0,0,0.3),
inset 0 1px 0 rgba(255,255,255,0.1);
}
/* 产品图片 */
/* 产品图片 - 放大 */
.product-img-wrapper {
position: relative;
padding: 20px;
padding: 15px;
}
.product-img {
max-width: 420px;
max-height: 340px;
max-width: 520px;
max-height: 420px;
object-fit: contain;
border-radius: 15px;
border-radius: 12px;
box-shadow:
0 15px 40px rgba(0,0,0,0.4),
0 0 0 1px rgba(255,255,255,0.1);
@@ -97,10 +97,10 @@
top: 100%;
left: 50%;
transform: translateX(-50%) scaleY(-1);
max-width: 420px;
max-height: 340px;
max-width: 520px;
max-height: 420px;
object-fit: contain;
opacity: 0.15;
opacity: 0.12;
filter: blur(3px);
mask-image: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
@@ -108,16 +108,16 @@
/* 卖点标签 */
.features {
position: absolute;
bottom: 110px;
bottom: 100px;
display: flex;
gap: 15px;
gap: 12px;
z-index: 10;
}
.feature-tag {
background: linear-gradient(135deg, #fff 0%, #f0f8f0 100%);
padding: 10px 20px;
border-radius: 25px;
font-size: 18px;
padding: 8px 18px;
border-radius: 20px;
font-size: 17px;
color: #1a5f2a;
font-weight: bold;
box-shadow: 0 4px 20px rgba(0,0,0,0.25);
@@ -126,21 +126,21 @@
/* 底部信息 */
.footer {
position: absolute;
bottom: 35px;
bottom: 30px;
text-align: center;
z-index: 10;
}
.brand {
font-size: 30px;
font-size: 26px;
color: #fff;
font-weight: bold;
letter-spacing: 3px;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.slogan {
font-size: 16px;
font-size: 14px;
color: #a8e6a8;
margin-top: 5px;
margin-top: 4px;
}
/* 装饰元素 */
.deco-line {
@@ -149,14 +149,14 @@
height: 1px;
}
.deco-1 {
top: 150px;
left: 100px;
right: 100px;
top: 130px;
left: 80px;
right: 80px;
}
.deco-2 {
bottom: 180px;
left: 150px;
right: 150px;
bottom: 160px;
left: 120px;
right: 120px;
}
</style>
</head>