feat: 为亚克力机箱-单生成5张主图及转换脚本

This commit is contained in:
12600k-rog-d4
2026-04-04 22:12:53 +08:00
parent 4277fa4ee5
commit cad20914cc
22 changed files with 3159 additions and 6 deletions

View File

@@ -0,0 +1,153 @@
<!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(135deg, #1a5f2a 0%, #2d8a3e 50%, #1a5f2a 100%);
position: relative;
overflow: hidden;
}
.container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
}
/* 顶部标题 */
.header {
position: absolute;
top: 30px;
left: 0;
right: 0;
text-align: center;
}
.title {
font-size: 48px;
font-weight: bold;
color: #fff;
text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
letter-spacing: 4px;
}
.subtitle {
font-size: 24px;
color: #90ee90;
margin-top: 10px;
letter-spacing: 2px;
}
/* 产品图片区域 */
.product-area {
width: 500px;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
margin-top: 40px;
}
.product-img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}
/* 卖点标签 */
.features {
position: absolute;
bottom: 120px;
display: flex;
gap: 20px;
}
.feature-tag {
background: rgba(255,255,255,0.95);
padding: 12px 24px;
border-radius: 30px;
font-size: 20px;
color: #1a5f2a;
font-weight: bold;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/* 底部信息 */
.footer {
position: absolute;
bottom: 40px;
text-align: center;
}
.brand {
font-size: 32px;
color: #fff;
font-weight: bold;
letter-spacing: 3px;
}
.slogan {
font-size: 18px;
color: #90ee90;
margin-top: 8px;
}
/* 装饰元素 */
.deco-circle {
position: absolute;
border: 3px solid rgba(255,255,255,0.2);
border-radius: 50%;
}
.deco-1 {
width: 600px;
height: 600px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.deco-2 {
width: 700px;
height: 700px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-style: dashed;
}
</style>
</head>
<body>
<div class="container">
<!-- 装饰圆圈 -->
<div class="deco-circle deco-1"></div>
<div class="deco-circle deco-2"></div>
<!-- 顶部标题 -->
<div class="header">
<div class="title">飞牛 NAS 亚克力机箱</div>
<div class="subtitle">单盘位 · 迷你静音 · DIY组装</div>
</div>
<!-- 产品图片 -->
<div class="product-area">
<img src="../image/正面.jpg" alt="亚克力机箱正面" class="product-img">
</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>