207 lines
6.1 KiB
HTML
207 lines
6.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>亚克力机箱-单 - 正面展示</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
width: 800px;
|
|
height: 800px;
|
|
font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
|
|
background: linear-gradient(145deg, #0d2818 0%, #1a5f2a 30%, #2d8a3e 60%, #1a5f2a 100%);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
/* 背景光晕效果 */
|
|
.glow {
|
|
position: absolute;
|
|
width: 650px;
|
|
height: 650px;
|
|
background: radial-gradient(circle, rgba(144,238,144,0.18) 0%, transparent 70%);
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -35%);
|
|
pointer-events: none;
|
|
}
|
|
/* 顶部标题 */
|
|
.header {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
z-index: 10;
|
|
}
|
|
.title {
|
|
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: 20px;
|
|
color: #a8e6a8;
|
|
margin-top: 6px;
|
|
letter-spacing: 3px;
|
|
}
|
|
/* 产品展示台 */
|
|
.product-stage {
|
|
width: 600px;
|
|
height: 500px;
|
|
background: rgba(255,255,255,0.08);
|
|
border-radius: 25px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
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);
|
|
overflow: hidden;
|
|
}
|
|
/* 产品图片 - 放大并裁剪 */
|
|
.product-img-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.product-img {
|
|
width: 580px;
|
|
height: 480px;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
border-radius: 10px;
|
|
box-shadow:
|
|
0 15px 40px rgba(0,0,0,0.4),
|
|
0 0 0 1px rgba(255,255,255,0.1);
|
|
}
|
|
/* 倒影效果 */
|
|
.product-reflection {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%) scaleY(-1);
|
|
width: 580px;
|
|
height: 100px;
|
|
object-fit: cover;
|
|
object-position: center bottom;
|
|
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);
|
|
}
|
|
/* 卖点标签 */
|
|
.features {
|
|
position: absolute;
|
|
bottom: 100px;
|
|
display: flex;
|
|
gap: 12px;
|
|
z-index: 10;
|
|
}
|
|
.feature-tag {
|
|
background: linear-gradient(135deg, #fff 0%, #f0f8f0 100%);
|
|
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);
|
|
border: 1px solid rgba(255,255,255,0.5);
|
|
}
|
|
/* 底部信息 */
|
|
.footer {
|
|
position: absolute;
|
|
bottom: 30px;
|
|
text-align: center;
|
|
z-index: 10;
|
|
}
|
|
.brand {
|
|
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: 14px;
|
|
color: #a8e6a8;
|
|
margin-top: 4px;
|
|
}
|
|
/* 装饰元素 */
|
|
.deco-line {
|
|
position: absolute;
|
|
background: linear-gradient(90deg, transparent, rgba(144,238,144,0.3), transparent);
|
|
height: 1px;
|
|
}
|
|
.deco-1 {
|
|
top: 130px;
|
|
left: 80px;
|
|
right: 80px;
|
|
}
|
|
.deco-2 {
|
|
bottom: 160px;
|
|
left: 120px;
|
|
right: 120px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<!-- 背景光晕 -->
|
|
<div class="glow"></div>
|
|
|
|
<!-- 装饰线 -->
|
|
<div class="deco-line deco-1"></div>
|
|
<div class="deco-line deco-2"></div>
|
|
|
|
<!-- 顶部标题 -->
|
|
<div class="header">
|
|
<div class="title">飞牛 NAS 亚克力机箱</div>
|
|
<div class="subtitle">单盘位 · 迷你静音 · DIY组装</div>
|
|
</div>
|
|
|
|
<!-- 产品展示台 -->
|
|
<div class="product-stage">
|
|
<div class="product-img-wrapper">
|
|
<img src="../image/正面.jpg" alt="亚克力机箱正面" class="product-img">
|
|
<img src="../image/正面.jpg" alt="" class="product-reflection">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 卖点 -->
|
|
<div class="features">
|
|
<div class="feature-tag">亚克力透明</div>
|
|
<div class="feature-tag">迷你便携</div>
|
|
<div class="feature-tag">静音散热</div>
|
|
</div>
|
|
|
|
<!-- 底部品牌 -->
|
|
<div class="footer">
|
|
<div class="brand">飞牛 NAS</div>
|
|
<div class="slogan">专业NAS存储解决方案</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |