feat: 为亚克力机箱-单生成5张主图及转换脚本
This commit is contained in:
195
产品/飞牛 NAS/fyd-亚克力机箱 - 单/主图/主图3-细节展示.html
Normal file
195
产品/飞牛 NAS/fyd-亚克力机箱 - 单/主图/主图3-细节展示.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!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: #fff;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
/* 顶部绿色条 */
|
||||
.top-bar {
|
||||
height: 120px;
|
||||
background: linear-gradient(90deg, #1a5f2a, #2d8a3e);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.top-title {
|
||||
font-size: 40px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
/* 中间内容区 */
|
||||
.content {
|
||||
display: flex;
|
||||
height: 560px;
|
||||
padding: 30px;
|
||||
gap: 30px;
|
||||
}
|
||||
/* 左侧图片区 */
|
||||
.image-section {
|
||||
flex: 1.2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
.main-image {
|
||||
flex: 1;
|
||||
background: #f5f5f5;
|
||||
border-radius: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
border: 3px solid #e0e0e0;
|
||||
}
|
||||
.main-image img {
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
object-fit: contain;
|
||||
}
|
||||
.sub-images {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
height: 120px;
|
||||
}
|
||||
.sub-image {
|
||||
flex: 1;
|
||||
background: #f5f5f5;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
border: 2px solid #e0e0e0;
|
||||
}
|
||||
.sub-image img {
|
||||
max-width: 85%;
|
||||
max-height: 85%;
|
||||
object-fit: contain;
|
||||
}
|
||||
/* 右侧卖点区 */
|
||||
.features-section {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
.feature-box {
|
||||
background: linear-gradient(135deg, #f8fff8, #e8f5e9);
|
||||
border-radius: 15px;
|
||||
padding: 25px;
|
||||
border-left: 5px solid #2d8a3e;
|
||||
}
|
||||
.feature-icon {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: #2d8a3e;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.feature-title {
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #1a5f2a;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.feature-desc {
|
||||
font-size: 16px;
|
||||
color: #555;
|
||||
line-height: 1.6;
|
||||
}
|
||||
/* 底部 */
|
||||
.bottom-bar {
|
||||
height: 120px;
|
||||
background: #f8f8f8;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-top: 3px solid #2d8a3e;
|
||||
}
|
||||
.bottom-text {
|
||||
font-size: 28px;
|
||||
color: #1a5f2a;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- 顶部标题 -->
|
||||
<div class="top-bar">
|
||||
<div class="top-title">精工细作 · 品质看得见</div>
|
||||
</div>
|
||||
|
||||
<!-- 中间内容 -->
|
||||
<div class="content">
|
||||
<!-- 左侧图片 -->
|
||||
<div class="image-section">
|
||||
<div class="main-image">
|
||||
<img src="../image/侧面.jpg" alt="侧面展示">
|
||||
</div>
|
||||
<div class="sub-images">
|
||||
<div class="sub-image">
|
||||
<img src="../image/俯视图.jpg" alt="俯视图">
|
||||
</div>
|
||||
<div class="sub-image">
|
||||
<img src="../image/底面.jpg" alt="底面">
|
||||
</div>
|
||||
<div class="sub-image">
|
||||
<img src="../image/接口.jpg" alt="接口">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 右侧卖点 -->
|
||||
<div class="features-section">
|
||||
<div class="feature-box">
|
||||
<div class="feature-icon">1</div>
|
||||
<div class="feature-title">透明亚克力材质</div>
|
||||
<div class="feature-desc">高透光率,内部硬件一目了然,科技感十足</div>
|
||||
</div>
|
||||
<div class="feature-box">
|
||||
<div class="feature-icon">2</div>
|
||||
<div class="feature-title">精密开孔设计</div>
|
||||
<div class="feature-desc">接口布局合理,散热孔位科学,使用更便捷</div>
|
||||
</div>
|
||||
<div class="feature-box">
|
||||
<div class="feature-icon">3</div>
|
||||
<div class="feature-title">DIY组装乐趣</div>
|
||||
<div class="feature-desc">附赠安装视频,轻松组装,享受动手乐趣</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 底部 -->
|
||||
<div class="bottom-bar">
|
||||
<div class="bottom-text">飞牛 NAS · 专业品质保障</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user