Add Douyin share card cover assets (840x474, no text).
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
bbb0000943
commit
b2851c210c
113
apps/miniprogram/tt/assets/share/douyin-share-cover.html
Normal file
113
apps/miniprogram/tt/assets/share/douyin-share-cover.html
Normal file
@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>douyin share cover</title>
|
||||
<style>
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
html, body {
|
||||
width: 840px;
|
||||
height: 474px;
|
||||
overflow: hidden;
|
||||
background: #0b1220;
|
||||
}
|
||||
.stage {
|
||||
position: relative;
|
||||
width: 840px;
|
||||
height: 474px;
|
||||
background:
|
||||
radial-gradient(ellipse 70% 80% at 55% 48%, rgba(78, 205, 196, 0.14) 0%, transparent 55%),
|
||||
radial-gradient(ellipse 50% 60% at 28% 70%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
|
||||
radial-gradient(ellipse 40% 50% at 78% 22%, rgba(255, 230, 109, 0.08) 0%, transparent 45%),
|
||||
linear-gradient(145deg, #0a0f1a 0%, #0c1628 45%, #0b1220 100%);
|
||||
}
|
||||
.mesh {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0.35;
|
||||
background-image:
|
||||
linear-gradient(rgba(78, 205, 196, 0.06) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(78, 205, 196, 0.06) 1px, transparent 1px);
|
||||
background-size: 48px 48px;
|
||||
mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 20%, transparent 75%);
|
||||
}
|
||||
.orb {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
filter: blur(40px);
|
||||
pointer-events: none;
|
||||
}
|
||||
.orb-1 {
|
||||
width: 220px; height: 220px;
|
||||
left: 8%; top: 12%;
|
||||
background: rgba(78, 205, 196, 0.22);
|
||||
}
|
||||
.orb-2 {
|
||||
width: 180px; height: 180px;
|
||||
right: 10%; bottom: 8%;
|
||||
background: rgba(255, 107, 107, 0.18);
|
||||
}
|
||||
.orb-3 {
|
||||
width: 140px; height: 140px;
|
||||
right: 22%; top: 10%;
|
||||
background: rgba(255, 230, 109, 0.12);
|
||||
}
|
||||
.globe-wrap {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 380px;
|
||||
height: 380px;
|
||||
transform: translate(-50%, -52%);
|
||||
}
|
||||
.globe-wrap svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="stage" id="stage">
|
||||
<div class="mesh"></div>
|
||||
<div class="orb orb-1"></div>
|
||||
<div class="orb orb-2"></div>
|
||||
<div class="orb orb-3"></div>
|
||||
<div class="globe-wrap">
|
||||
<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
||||
<defs>
|
||||
<radialGradient id="hubGlobeGlow" cx="50%" cy="50%" r="50%">
|
||||
<stop offset="0%" stop-color="#4ECDC4" stop-opacity="0.35"/>
|
||||
<stop offset="100%" stop-color="#4ECDC4" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="hubOrbitGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#FF6B6B"/>
|
||||
<stop offset="100%" stop-color="#4ECDC4"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="coreFill" cx="38%" cy="32%" r="65%">
|
||||
<stop offset="0%" stop-color="#1a3a45" stop-opacity="0.9"/>
|
||||
<stop offset="55%" stop-color="#0f2430" stop-opacity="0.85"/>
|
||||
<stop offset="100%" stop-color="#0b1220" stop-opacity="0.7"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
<circle cx="200" cy="200" r="168" fill="url(#hubGlobeGlow)"/>
|
||||
<circle cx="200" cy="200" r="118" fill="url(#coreFill)" stroke="rgba(78,205,196,0.35)" stroke-width="1.5"/>
|
||||
<circle cx="200" cy="200" r="120" fill="none" stroke="rgba(78,205,196,0.22)" stroke-width="1"/>
|
||||
<circle cx="200" cy="200" r="90" fill="none" stroke="rgba(78,205,196,0.16)" stroke-width="1"/>
|
||||
<ellipse cx="200" cy="200" rx="120" ry="40" fill="none" stroke="rgba(78,205,196,0.45)" stroke-width="1.8" transform="rotate(-18 200 200)"/>
|
||||
<ellipse cx="200" cy="200" rx="40" ry="120" fill="none" stroke="rgba(255,107,107,0.4)" stroke-width="1.8" transform="rotate(12 200 200)"/>
|
||||
<path d="M160 140 Q180 130 200 135 Q220 128 240 140 Q250 155 245 170 Q235 185 220 190 Q200 195 185 188 Q165 180 160 165 Z" fill="rgba(78,205,196,0.45)"/>
|
||||
<path d="M130 210 Q145 200 160 215 Q155 235 140 240 Q125 235 130 210 Z" fill="rgba(78,205,196,0.35)"/>
|
||||
<path d="M250 200 Q270 195 280 210 Q275 230 260 235 Q245 228 250 200 Z" fill="rgba(78,205,196,0.4)"/>
|
||||
<circle cx="180" cy="155" r="6" fill="#FF6B6B"/>
|
||||
<circle cx="180" cy="155" r="11" fill="none" stroke="#FF6B6B" stroke-opacity="0.35" stroke-width="2"/>
|
||||
<circle cx="260" cy="215" r="6" fill="#FFE66D"/>
|
||||
<circle cx="260" cy="215" r="11" fill="none" stroke="#FFE66D" stroke-opacity="0.35" stroke-width="2"/>
|
||||
<circle cx="145" cy="225" r="6" fill="#4ECDC4"/>
|
||||
<circle cx="145" cy="225" r="11" fill="none" stroke="#4ECDC4" stroke-opacity="0.35" stroke-width="2"/>
|
||||
<path d="M180 155 Q220 140 260 215" fill="none" stroke="url(#hubOrbitGrad)" stroke-width="2.2" stroke-dasharray="6 4" stroke-linecap="round"/>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
apps/miniprogram/tt/assets/share/douyin-share-cover.jpg
Normal file
BIN
apps/miniprogram/tt/assets/share/douyin-share-cover.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
apps/miniprogram/tt/assets/share/douyin-share-cover.png
Normal file
BIN
apps/miniprogram/tt/assets/share/douyin-share-cover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 308 KiB |
Loading…
Reference in New Issue
Block a user