style: 优化主图设计,添加阴影倒影效果增强融合感
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
---
|
||||
name: sku设计
|
||||
description:
|
||||
description: 设计电商产品的 SKU 配置。当用户需要为产品生成 SKU 配置时使用此技能。
|
||||
---
|
||||
|
||||
# SKU 设计
|
||||
|
||||
## Overview
|
||||
|
||||
[TODO: 描述此技能的作用和使用场景]
|
||||
- 为每个产品生成 SKU 配置
|
||||
- 将 SKU 配置放到每个产品对应的 `SKU` 目录下
|
||||
|
||||
## SKU 编码规则
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
width: 800px;
|
||||
height: 800px;
|
||||
font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
|
||||
background: linear-gradient(135deg, #1a5f2a 0%, #2d8a3e 50%, #1a5f2a 100%);
|
||||
background: linear-gradient(145deg, #0d2818 0%, #1a5f2a 30%, #2d8a3e 60%, #1a5f2a 100%);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -27,103 +27,147 @@
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
}
|
||||
/* 背景光晕效果 */
|
||||
.glow {
|
||||
position: absolute;
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
background: radial-gradient(circle, rgba(144,238,144,0.15) 0%, transparent 70%);
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -30%);
|
||||
pointer-events: none;
|
||||
}
|
||||
/* 顶部标题 */
|
||||
.header {
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
top: 25px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
z-index: 10;
|
||||
}
|
||||
.title {
|
||||
font-size: 48px;
|
||||
font-size: 44px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
|
||||
text-shadow: 0 2px 10px rgba(0,0,0,0.5);
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
.subtitle {
|
||||
font-size: 24px;
|
||||
color: #90ee90;
|
||||
margin-top: 10px;
|
||||
letter-spacing: 2px;
|
||||
font-size: 22px;
|
||||
color: #a8e6a8;
|
||||
margin-top: 8px;
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
/* 产品图片区域 */
|
||||
.product-area {
|
||||
width: 500px;
|
||||
height: 400px;
|
||||
/* 产品展示台 */
|
||||
.product-stage {
|
||||
width: 520px;
|
||||
height: 420px;
|
||||
background: rgba(255,255,255,0.08);
|
||||
border-radius: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 40px;
|
||||
position: relative;
|
||||
margin-top: 30px;
|
||||
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;
|
||||
}
|
||||
.product-img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
max-width: 420px;
|
||||
max-height: 340px;
|
||||
object-fit: contain;
|
||||
filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
|
||||
border-radius: 15px;
|
||||
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);
|
||||
max-width: 420px;
|
||||
max-height: 340px;
|
||||
object-fit: contain;
|
||||
opacity: 0.15;
|
||||
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: 120px;
|
||||
bottom: 110px;
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
gap: 15px;
|
||||
z-index: 10;
|
||||
}
|
||||
.feature-tag {
|
||||
background: rgba(255,255,255,0.95);
|
||||
padding: 12px 24px;
|
||||
border-radius: 30px;
|
||||
font-size: 20px;
|
||||
background: linear-gradient(135deg, #fff 0%, #f0f8f0 100%);
|
||||
padding: 10px 20px;
|
||||
border-radius: 25px;
|
||||
font-size: 18px;
|
||||
color: #1a5f2a;
|
||||
font-weight: bold;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
|
||||
box-shadow: 0 4px 20px rgba(0,0,0,0.25);
|
||||
border: 1px solid rgba(255,255,255,0.5);
|
||||
}
|
||||
/* 底部信息 */
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 40px;
|
||||
bottom: 35px;
|
||||
text-align: center;
|
||||
z-index: 10;
|
||||
}
|
||||
.brand {
|
||||
font-size: 32px;
|
||||
font-size: 30px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
letter-spacing: 3px;
|
||||
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
|
||||
}
|
||||
.slogan {
|
||||
font-size: 18px;
|
||||
color: #90ee90;
|
||||
margin-top: 8px;
|
||||
font-size: 16px;
|
||||
color: #a8e6a8;
|
||||
margin-top: 5px;
|
||||
}
|
||||
/* 装饰元素 */
|
||||
.deco-circle {
|
||||
.deco-line {
|
||||
position: absolute;
|
||||
border: 3px solid rgba(255,255,255,0.2);
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(90deg, transparent, rgba(144,238,144,0.3), transparent);
|
||||
height: 1px;
|
||||
}
|
||||
.deco-1 {
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
top: 150px;
|
||||
left: 100px;
|
||||
right: 100px;
|
||||
}
|
||||
.deco-2 {
|
||||
width: 700px;
|
||||
height: 700px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
border-style: dashed;
|
||||
bottom: 180px;
|
||||
left: 150px;
|
||||
right: 150px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- 装饰圆圈 -->
|
||||
<div class="deco-circle deco-1"></div>
|
||||
<div class="deco-circle deco-2"></div>
|
||||
<!-- 背景光晕 -->
|
||||
<div class="glow"></div>
|
||||
|
||||
<!-- 装饰线 -->
|
||||
<div class="deco-line deco-1"></div>
|
||||
<div class="deco-line deco-2"></div>
|
||||
|
||||
<!-- 顶部标题 -->
|
||||
<div class="header">
|
||||
@@ -131,9 +175,12 @@
|
||||
<div class="subtitle">单盘位 · 迷你静音 · DIY组装</div>
|
||||
</div>
|
||||
|
||||
<!-- 产品图片 -->
|
||||
<div class="product-area">
|
||||
<!-- 产品展示台 -->
|
||||
<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>
|
||||
|
||||
<!-- 卖点 -->
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 422 KiB After Width: | Height: | Size: 406 KiB |
@@ -14,7 +14,7 @@
|
||||
width: 800px;
|
||||
height: 800px;
|
||||
font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
|
||||
background: #fff;
|
||||
background: linear-gradient(180deg, #f0f8f0 0%, #e0f0e0 50%, #d0e8d0 100%);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -22,68 +22,84 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
padding: 25px;
|
||||
}
|
||||
/* 顶部绿色条 */
|
||||
.top-bar {
|
||||
height: 120px;
|
||||
background: linear-gradient(90deg, #1a5f2a, #2d8a3e);
|
||||
height: 90px;
|
||||
background: linear-gradient(90deg, #1a5f2a, #2d8a3e, #1a5f2a);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 5px 20px rgba(26,95,42,0.3);
|
||||
}
|
||||
.top-title {
|
||||
font-size: 40px;
|
||||
font-size: 36px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
letter-spacing: 4px;
|
||||
text-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
||||
}
|
||||
/* 中间内容区 */
|
||||
.content {
|
||||
display: flex;
|
||||
height: 560px;
|
||||
padding: 30px;
|
||||
gap: 30px;
|
||||
gap: 20px;
|
||||
height: calc(100% - 130px);
|
||||
margin-top: 15px;
|
||||
}
|
||||
/* 左侧图片区 */
|
||||
.image-section {
|
||||
flex: 1.2;
|
||||
flex: 1.3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
gap: 12px;
|
||||
}
|
||||
.main-image {
|
||||
flex: 1;
|
||||
background: #f5f5f5;
|
||||
border-radius: 15px;
|
||||
background: #fff;
|
||||
border-radius: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
border: 3px solid #e0e0e0;
|
||||
box-shadow: 0 8px 30px rgba(0,0,0,0.1);
|
||||
border: 3px solid #fff;
|
||||
position: relative;
|
||||
}
|
||||
.main-image::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 10%;
|
||||
right: 10%;
|
||||
height: 20px;
|
||||
background: radial-gradient(ellipse, rgba(0,0,0,0.15), transparent);
|
||||
}
|
||||
.main-image img {
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
max-width: 95%;
|
||||
max-height: 95%;
|
||||
object-fit: contain;
|
||||
}
|
||||
.sub-images {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
height: 120px;
|
||||
gap: 10px;
|
||||
height: 100px;
|
||||
}
|
||||
.sub-image {
|
||||
flex: 1;
|
||||
background: #f5f5f5;
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
border: 2px solid #e0e0e0;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
|
||||
border: 2px solid #fff;
|
||||
}
|
||||
.sub-image img {
|
||||
max-width: 85%;
|
||||
max-height: 85%;
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
object-fit: contain;
|
||||
}
|
||||
/* 右侧卖点区 */
|
||||
@@ -91,51 +107,69 @@
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
gap: 12px;
|
||||
}
|
||||
.feature-box {
|
||||
background: linear-gradient(135deg, #f8fff8, #e8f5e9);
|
||||
background: #fff;
|
||||
border-radius: 15px;
|
||||
padding: 25px;
|
||||
border-left: 5px solid #2d8a3e;
|
||||
padding: 18px;
|
||||
box-shadow: 0 5px 20px rgba(0,0,0,0.08);
|
||||
border-left: 4px solid #2d8a3e;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.feature-box::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background: linear-gradient(135deg, transparent 50%, rgba(45,138,62,0.05) 50%);
|
||||
}
|
||||
.feature-icon {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: #2d8a3e;
|
||||
border-radius: 50%;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
background: linear-gradient(135deg, #2d8a3e, #1a5f2a);
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
font-size: 24px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.feature-title {
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #1a5f2a;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.feature-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #1a5f2a;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.feature-desc {
|
||||
font-size: 16px;
|
||||
color: #555;
|
||||
line-height: 1.6;
|
||||
font-size: 13px;
|
||||
color: #666;
|
||||
line-height: 1.5;
|
||||
}
|
||||
/* 底部 */
|
||||
.bottom-bar {
|
||||
height: 120px;
|
||||
background: #f8f8f8;
|
||||
position: absolute;
|
||||
bottom: 25px;
|
||||
left: 25px;
|
||||
right: 25px;
|
||||
height: 60px;
|
||||
background: linear-gradient(90deg, #1a5f2a, #2d8a3e);
|
||||
border-radius: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-top: 3px solid #2d8a3e;
|
||||
box-shadow: 0 5px 20px rgba(26,95,42,0.3);
|
||||
}
|
||||
.bottom-text {
|
||||
font-size: 28px;
|
||||
color: #1a5f2a;
|
||||
font-size: 22px;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 274 KiB After Width: | Height: | Size: 295 KiB |
@@ -14,7 +14,7 @@
|
||||
width: 800px;
|
||||
height: 800px;
|
||||
font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
|
||||
background: linear-gradient(180deg, #1a5f2a 0%, #2d8a3e 40%, #f8fff8 40%, #f8fff8 100%);
|
||||
background: linear-gradient(180deg, #1a5f2a 0%, #2d8a3e 35%, #e8f5e9 35%, #fff 100%);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -22,37 +22,37 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
padding: 40px;
|
||||
padding: 30px;
|
||||
}
|
||||
/* 顶部标题区 */
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.title {
|
||||
font-size: 44px;
|
||||
font-size: 40px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
|
||||
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
.subtitle {
|
||||
font-size: 24px;
|
||||
color: #90ee90;
|
||||
margin-top: 10px;
|
||||
font-size: 20px;
|
||||
color: #c8e6c9;
|
||||
margin-top: 8px;
|
||||
}
|
||||
/* 包装内容区 */
|
||||
.package-section {
|
||||
display: flex;
|
||||
gap: 30px;
|
||||
margin-top: 20px;
|
||||
gap: 20px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
/* 左侧包装图 */
|
||||
.package-image {
|
||||
flex: 1;
|
||||
background: #fff;
|
||||
border-radius: 20px;
|
||||
padding: 25px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 10px 40px rgba(0,0,0,0.15);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -60,14 +60,15 @@
|
||||
}
|
||||
.package-img-container {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
background: #f5f5f5;
|
||||
height: 220px;
|
||||
background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
|
||||
border-radius: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 15px;
|
||||
box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
|
||||
}
|
||||
.package-img-container img {
|
||||
max-width: 90%;
|
||||
@@ -75,7 +76,7 @@
|
||||
object-fit: contain;
|
||||
}
|
||||
.package-label {
|
||||
font-size: 24px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #1a5f2a;
|
||||
}
|
||||
@@ -84,65 +85,80 @@
|
||||
flex: 1;
|
||||
background: #fff;
|
||||
border-radius: 20px;
|
||||
padding: 30px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 10px 40px rgba(0,0,0,0.15);
|
||||
}
|
||||
.checklist-title {
|
||||
font-size: 28px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #1a5f2a;
|
||||
text-align: center;
|
||||
margin-bottom: 25px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 3px solid #90ee90;
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 2px solid #90ee90;
|
||||
}
|
||||
.checklist-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
font-size: 22px;
|
||||
margin-bottom: 12px;
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
}
|
||||
.check-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: #2d8a3e;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background: linear-gradient(135deg, #2d8a3e, #1a5f2a);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
margin-right: 15px;
|
||||
font-size: 18px;
|
||||
margin-right: 10px;
|
||||
font-size: 14px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
/* 底部保障 */
|
||||
.guarantee {
|
||||
position: absolute;
|
||||
bottom: 40px;
|
||||
left: 40px;
|
||||
right: 40px;
|
||||
bottom: 30px;
|
||||
left: 30px;
|
||||
right: 30px;
|
||||
background: linear-gradient(90deg, #1a5f2a, #2d8a3e);
|
||||
border-radius: 15px;
|
||||
padding: 25px;
|
||||
padding: 18px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
box-shadow: 0 5px 25px rgba(26,95,42,0.4);
|
||||
}
|
||||
.guarantee-item {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
}
|
||||
.guarantee-icon {
|
||||
font-size: 36px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 28px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.guarantee-text {
|
||||
font-size: 18px;
|
||||
font-size: 14px;
|
||||
}
|
||||
/* 装饰 */
|
||||
.wave {
|
||||
position: absolute;
|
||||
top: 28%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 20px;
|
||||
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%23e8f5e9' d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120 Z'/%3E%3C/svg%3E");
|
||||
background-size: cover;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- 波浪分隔 -->
|
||||
<div class="wave"></div>
|
||||
|
||||
<!-- 顶部标题 -->
|
||||
<div class="header">
|
||||
<div class="title">专业包装 · 安全送达</div>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 180 KiB After Width: | Height: | Size: 178 KiB |
Reference in New Issue
Block a user