250 行
7.9 KiB
HTML
250 行
7.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
html, body {
|
|
width: 1404px;
|
|
height: 560px;
|
|
overflow: hidden;
|
|
background: #ffffff;
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
}
|
|
.banner-stage {
|
|
width: 1404px;
|
|
height: 560px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 80px;
|
|
background: linear-gradient(135deg, #E6FBF0 0%, #D8F7E7 50%, #C4F3DC 100%);
|
|
}
|
|
.glow-circle {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
filter: blur(60px);
|
|
pointer-events: none;
|
|
}
|
|
.glow-1 {
|
|
width: 520px;
|
|
height: 520px;
|
|
background: rgba(0, 224, 112, 0.35);
|
|
right: -40px;
|
|
top: -60px;
|
|
}
|
|
.glow-2 {
|
|
width: 420px;
|
|
height: 420px;
|
|
background: rgba(245, 166, 35, 0.22);
|
|
right: 320px;
|
|
bottom: -80px;
|
|
}
|
|
.glow-subtle {
|
|
width: 360px;
|
|
height: 360px;
|
|
background: rgba(255, 255, 255, 0.65);
|
|
left: 80px;
|
|
top: -60px;
|
|
}
|
|
.content {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 780px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
.tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 26px;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
border: 2px solid rgba(0, 210, 106, 0.45);
|
|
border-radius: 100px;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: #00A854;
|
|
box-shadow: 0 6px 20px rgba(0, 168, 84, 0.08);
|
|
margin-bottom: 24px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.tag .dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: #00D26A;
|
|
border-radius: 50%;
|
|
}
|
|
.title {
|
|
font-size: 64px;
|
|
font-weight: 900;
|
|
line-height: 1.18;
|
|
color: #1E293B;
|
|
letter-spacing: -0.5px;
|
|
margin-bottom: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
.title span.highlight {
|
|
background: linear-gradient(135deg, #00A854 0%, #00D26A 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
.subtitle {
|
|
font-size: 28px;
|
|
font-weight: 500;
|
|
color: #475569;
|
|
line-height: 1.4;
|
|
margin-bottom: 34px;
|
|
}
|
|
.action-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24px;
|
|
}
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px 42px;
|
|
background: linear-gradient(135deg, #00E070 0%, #00B85C 100%);
|
|
border-radius: 100px;
|
|
color: #FFFFFF;
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
box-shadow: 0 10px 24px rgba(0, 184, 92, 0.32);
|
|
letter-spacing: 1px;
|
|
}
|
|
.btn-arrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
background: rgba(255, 255, 255, 0.28);
|
|
border-radius: 50%;
|
|
font-size: 20px;
|
|
}
|
|
.badge-hot {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 24px;
|
|
background: rgba(254, 243, 199, 0.95);
|
|
border: 2px solid #FCD34D;
|
|
border-radius: 100px;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #B45309;
|
|
}
|
|
.badge-hot .fire {
|
|
color: #F59E0B;
|
|
font-size: 24px;
|
|
}
|
|
.visual {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 440px;
|
|
height: 440px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.visual svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
filter: drop-shadow(0 20px 32px rgba(0, 168, 84, 0.16));
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="banner-stage">
|
|
<div class="glow-circle glow-1"></div>
|
|
<div class="glow-circle glow-2"></div>
|
|
<div class="glow-circle glow-subtle"></div>
|
|
|
|
<div class="content">
|
|
<div class="tag"><span class="dot"></span>同城优选 · 真实验货</div>
|
|
<div class="title">同城好物节 <span class="highlight">二手直降</span></div>
|
|
<div class="subtitle">闲置数码家居 · 当面验货超省心 · 邻里自提</div>
|
|
<div class="action-row">
|
|
<div class="btn">立即捡漏 <span class="btn-arrow">→</span></div>
|
|
<div class="badge-hot"><span class="fire">★</span> 爆款 3 折起</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="visual">
|
|
<svg viewBox="0 0 440 440" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<ellipse cx="220" cy="380" rx="160" ry="24" fill="rgba(0,168,84,0.12)"/>
|
|
<path d="M140 210 L280 160 L360 210 L220 260 Z" fill="url(#boxTop)" stroke="#FFFFFF" stroke-width="3"/>
|
|
<path d="M140 210 L220 260 L220 370 L140 320 Z" fill="url(#boxLeft)"/>
|
|
<path d="M220 260 L360 210 L360 320 L220 370 Z" fill="url(#boxRight)"/>
|
|
<path d="M200 188 L300 224 L300 342 L200 306 Z" fill="url(#tapeGrad)" opacity="0.95"/>
|
|
<path d="M246 172 L184 194 L184 312 L246 290 Z" fill="url(#tapeGrad2)" opacity="0.92"/>
|
|
<g transform="translate(60, 110) scale(0.95)">
|
|
<rect x="20" y="50" width="160" height="110" rx="24" fill="url(#camBody)" stroke="#FFFFFF" stroke-width="4"/>
|
|
<rect x="50" y="30" width="50" height="24" rx="8" fill="#00D26A"/>
|
|
<circle cx="100" cy="105" r="42" fill="url(#camLensBg)" stroke="#FFFFFF" stroke-width="6"/>
|
|
<circle cx="100" cy="105" r="26" fill="url(#camLensGlass)"/>
|
|
<circle cx="86" cy="92" r="8" fill="#FFFFFF" opacity="0.8"/>
|
|
<circle cx="150" cy="65" r="14" fill="#F5A623"/>
|
|
<circle cx="150" cy="65" r="6" fill="#FFF"/>
|
|
</g>
|
|
<g transform="translate(290, 80) rotate(15)">
|
|
<ellipse cx="40" cy="40" rx="36" ry="36" fill="url(#goldGrad)" stroke="#FFE082" stroke-width="4"/>
|
|
<text x="40" y="49" font-size="28" font-weight="900" fill="#B45309" text-anchor="middle">¥</text>
|
|
</g>
|
|
<g transform="translate(330, 240) rotate(-12)">
|
|
<ellipse cx="26" cy="26" rx="24" ry="24" fill="url(#goldGrad)" stroke="#FFE082" stroke-width="3"/>
|
|
<text x="26" y="33" font-size="20" font-weight="900" fill="#B45309" text-anchor="middle">%</text>
|
|
</g>
|
|
<defs>
|
|
<linearGradient id="boxTop" x1="140" y1="160" x2="360" y2="260" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#FFFFFF"/>
|
|
<stop offset="1" stop-color="#E2F7EB"/>
|
|
</linearGradient>
|
|
<linearGradient id="boxLeft" x1="140" y1="210" x2="220" y2="370" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#00D26A"/>
|
|
<stop offset="1" stop-color="#009A4E"/>
|
|
</linearGradient>
|
|
<linearGradient id="boxRight" x1="220" y1="210" x2="360" y2="370" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#00BA5E"/>
|
|
<stop offset="1" stop-color="#007B3E"/>
|
|
</linearGradient>
|
|
<linearGradient id="tapeGrad" x1="200" y1="188" x2="300" y2="342" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#FCD34D"/>
|
|
<stop offset="1" stop-color="#F59E0B"/>
|
|
</linearGradient>
|
|
<linearGradient id="tapeGrad2" x1="184" y1="172" x2="246" y2="312" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#FDE68A"/>
|
|
<stop offset="1" stop-color="#D97706"/>
|
|
</linearGradient>
|
|
<linearGradient id="camBody" x1="20" y1="50" x2="180" y2="160" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#334155"/>
|
|
<stop offset="1" stop-color="#0F172A"/>
|
|
</linearGradient>
|
|
<linearGradient id="camLensBg" x1="58" y1="63" x2="142" y2="147" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#00D26A"/>
|
|
<stop offset="1" stop-color="#059669"/>
|
|
</linearGradient>
|
|
<linearGradient id="camLensGlass" x1="74" y1="79" x2="126" y2="131" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#064E3B"/>
|
|
<stop offset="1" stop-color="#022C22"/>
|
|
</linearGradient>
|
|
<linearGradient id="goldGrad" x1="4" y1="4" x2="76" y2="76" gradientUnits="userSpaceOnUse">
|
|
<stop stop-color="#FDE047"/>
|
|
<stop offset="1" stop-color="#F59E0B"/>
|
|
</linearGradient>
|
|
</defs>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|