文件
fenleixinxi/tools/banner3.html

237 行
7.0 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, #ECFAF2 0%, #DCF6E8 50%, #C4F1D9 100%);
}
.glow-circle {
position: absolute;
border-radius: 50%;
filter: blur(60px);
pointer-events: none;
}
.glow-1 {
width: 520px;
height: 520px;
background: rgba(0, 210, 106, 0.32);
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> 新人立减 20元</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="M120 230 L230 140 L340 230 L340 360 L120 360 Z" fill="url(#houseFront)" stroke="#FFFFFF" stroke-width="4"/>
<!-- 立体坡屋顶 -->
<path d="M230 140 L340 230 L310 230 L230 160 Z" fill="#00A854"/>
<path d="M100 230 L230 120 L360 230" stroke="#00D26A" stroke-width="20" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
<!-- 暖阳发光窗户 -->
<rect x="150" y="245" width="60" height="60" rx="14" fill="#FEF3C7" stroke="#FFFFFF" stroke-width="4"/>
<line x1="180" y1="245" x2="180" y2="305" stroke="#F59E0B" stroke-width="3"/>
<line x1="150" y1="275" x2="210" y2="275" stroke="#F59E0B" stroke-width="3"/>
<!-- 翠绿入户大门 -->
<rect x="245" y="255" width="65" height="105" rx="12" fill="#047857" stroke="#FFFFFF" stroke-width="4"/>
<circle cx="295" cy="305" r="6" fill="#FCD34D"/>
<!-- 立体便民工具箱 -->
<g transform="translate(60, 260)">
<rect x="0" y="30" width="115" height="80" rx="16" fill="url(#goldGrad)" stroke="#FFFFFF" stroke-width="3"/>
<path d="M30 30 C30 10, 85 10, 85 30" stroke="#B45309" stroke-width="8" stroke-linecap="round" fill="none"/>
<line x1="0" y1="68" x2="115" y2="68" stroke="#FFFFFF" stroke-width="3"/>
<rect x="46" y="62" width="24" height="16" rx="4" fill="#78350F"/>
<!-- 扳手小图标 -->
<circle cx="90" cy="50" r="10" fill="rgba(255,255,255,0.4)"/>
</g>
<!-- 官方认证绿色品质盾牌 -->
<g transform="translate(315, 175)">
<path d="M45 0 C68 0, 90 16, 90 50 C90 85, 45 105, 45 105 C45 105, 0 85, 0 50 C0 16, 22 0, 45 0 Z" fill="url(#shieldGrad)" stroke="#FFFFFF" stroke-width="4"/>
<path d="M28 50 L40 62 L64 38" stroke="#FFFFFF" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
</g>
<defs>
<linearGradient id="houseFront" x1="120" y1="140" x2="340" y2="360" gradientUnits="userSpaceOnUse">
<stop stop-color="#FFFFFF"/>
<stop offset="0.6" stop-color="#F0FDF4"/>
<stop offset="1" stop-color="#DCFCE7"/>
</linearGradient>
<linearGradient id="shieldGrad" x1="0" y1="0" x2="90" y2="105" gradientUnits="userSpaceOnUse">
<stop stop-color="#00E070"/>
<stop offset="1" stop-color="#059669"/>
</linearGradient>
<linearGradient id="goldGrad" x1="0" y1="10" x2="115" y2="110" gradientUnits="userSpaceOnUse">
<stop stop-color="#FDE047"/>
<stop offset="1" stop-color="#F59E0B"/>
</linearGradient>
</defs>
</svg>
</div>
</div>
</body>
</html>