AndroidCode / code /10097 /10097_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Share Sheet UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
color: #212121;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; width: 100%; height: 140px;
background: #000;
color: #fff;
display: flex; align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-size: 44px;
}
.status-time { font-weight: 600; }
.status-icons { margin-left: auto; display: flex; gap: 28px; align-items: center; }
.sb-icon { width: 36px; height: 36px; opacity: 0.9; }
/* Header */
.header {
position: absolute; top: 140px; left: 0; width: 100%; height: 170px;
background: #fff;
display: flex; align-items: center;
padding: 0 40px;
box-sizing: border-box;
border-bottom: 1px solid #eee;
}
.back-btn { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin-right: 12px; }
.header-title { font-size: 58px; font-weight: 600; letter-spacing: 0.2px; }
.header-action {
margin-left: auto;
font-size: 44px; font-weight: 700; color: #6C4BFF;
}
/* Toast banner */
.toast {
position: absolute; top: 310px; left: 0; width: 100%; height: 92px;
background: #2F7A76; color: #fff;
display: flex; align-items: center; box-sizing: border-box; padding: 0 40px;
}
.toast .close {
width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
margin-right: 24px;
}
.toast .msg { font-size: 36px; font-weight: 500; }
/* List */
.list { position: absolute; top: 412px; left: 0; width: 100%; }
.item {
height: 170px; display: flex; align-items: center;
padding: 0 40px; box-sizing: border-box;
border-bottom: 1px solid #eee;
}
.icon-circle {
width: 110px; height: 110px; border-radius: 55px;
display: flex; align-items: center; justify-content: center;
color: #fff; font-weight: 700;
font-size: 48px;
}
.label { margin-left: 36px; font-size: 44px; font-weight: 500; color: #222; }
.spacer { margin-left: auto; }
.chev { width: 32px; height: 32px; }
.divider { height: 1px; background: #eee; margin: 0 40px; }
/* Brand icon fills */
.pinterest { background: #D64B40; }
.photos { background: #5B3BFF; }
.instagram {
background: radial-gradient(circle at 70% 30%, #FFD54F 0%, #FF7043 35%, #E64A19 55%, #8E24AA 85%, #5C6BC0 100%);
}
.snapchat { background: #FFD600; color: #fff; }
.more { background: #BDBDBD; color: #fff; }
/* Inline icon sizing */
.icon-svg { width: 54px; height: 54px; }
/* Ad banner */
.ad-banner {
position: absolute; left: 30px; bottom: 120px;
width: 1020px; height: 220px;
background: #fff; border: 1px solid #DADADA;
border-radius: 18px;
box-shadow: 0 3px 12px rgba(0,0,0,0.12);
display: flex; align-items: center; gap: 24px;
padding: 20px; box-sizing: border-box;
}
.ad-img {
width: 320px; height: 180px; background: #E0E0E0;
border: 1px solid #BDBDBD; display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 30px; text-align: center;
}
.ad-content { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.ad-text { display: flex; flex-direction: column; gap: 10px; }
.ad-title { font-size: 42px; font-weight: 700; }
.ad-by { font-size: 32px; color: #616161; }
.ad-cta {
background: #2E7DFF; color: #fff; font-weight: 700; font-size: 36px;
padding: 18px 28px; border-radius: 12px;
}
/* Home bar */
.home-bar {
position: absolute; bottom: 0; left: 0; width: 100%; height: 120px; background: #000;
}
.home-indicator {
position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
width: 220px; height: 16px; border-radius: 12px;
background: rgba(255,255,255,0.75);
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-time">4:18</div>
<div class="status-icons">
<!-- Signal -->
<svg class="sb-icon" viewBox="0 0 24 24">
<path fill="#fff" d="M2 18h2v2H2v-2zm4-4h2v6H6v-6zm4-4h2v10h-2V10zm4-4h2v14h-2V6zm4-2h2v16h-2V4z"/>
</svg>
<!-- WiFi -->
<svg class="sb-icon" viewBox="0 0 24 24">
<path fill="#fff" d="M12 18.5l2.5 2.5-2.5 2.5-2.5-2.5L12 18.5z" opacity="0"/>
<path fill="#fff" d="M12 17c.8 0 1.5.7 1.5 1.5S12.8 20 12 20s-1.5-.7-1.5-1.5S11.2 17 12 17z"/>
<path fill="none" stroke="#fff" stroke-width="2" d="M4.5 11.5C7.5 9 10.5 8 12 8s4.5 1 7.5 3.5"/>
<path fill="none" stroke="#fff" stroke-width="2" d="M2 8c3.7-3 7.5-4.5 10-4.5S18.3 5 22 8"/>
</svg>
<!-- Battery -->
<svg class="sb-icon" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" ry="2" fill="none" stroke="#fff" stroke-width="2"/>
<rect x="4" y="8" width="14" height="8" fill="#fff"/>
<rect x="20" y="10" width="2" height="4" fill="#fff"/>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="back-btn">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" fill="none" stroke="#424242" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="header-title">Also Share To</div>
<div class="header-action">DONE</div>
</div>
<!-- Toast -->
<div class="toast">
<div class="close">
<svg width="36" height="36" viewBox="0 0 24 24">
<path d="M6 6l12 12M18 6L6 18" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="msg">Saved to your photo Gallery</div>
</div>
<!-- Share list -->
<div class="list">
<!-- Pinterest -->
<div class="item">
<div class="icon-circle pinterest">
<span style="font-size:54px; line-height:1;">P</span>
</div>
<div class="label">Pinterest</div>
<div class="spacer"></div>
<svg class="chev" viewBox="0 0 24 24">
<path d="M8 4l8 8-8 8" fill="none" stroke="#BDBDBD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Photos -->
<div class="item">
<div class="icon-circle photos">
<svg class="icon-svg" viewBox="0 0 24 24">
<path d="M12 5v10" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
<path d="M8 11l4 4 4-4" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="5" y="19" width="14" height="2" fill="#fff"/>
</svg>
</div>
<div class="label">Photos</div>
<div class="spacer"></div>
<svg class="chev" viewBox="0 0 24 24">
<path d="M8 4l8 8-8 8" fill="none" stroke="#BDBDBD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Instagram -->
<div class="item">
<div class="icon-circle instagram">
<svg class="icon-svg" viewBox="0 0 24 24">
<rect x="5" y="5" width="14" height="14" rx="3" ry="3" fill="none" stroke="#fff" stroke-width="2"/>
<circle cx="12" cy="12" r="4" fill="none" stroke="#fff" stroke-width="2"/>
<circle cx="17" cy="7.5" r="1.5" fill="#fff"/>
</svg>
</div>
<div class="label">Instagram</div>
<div class="spacer"></div>
<svg class="chev" viewBox="0 0 24 24">
<path d="M8 4l8 8-8 8" fill="none" stroke="#BDBDBD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Snapchat -->
<div class="item">
<div class="icon-circle snapchat">
<span style="font-size:52px; line-height:1;">👻</span>
</div>
<div class="label">Snapchat</div>
<div class="spacer"></div>
<svg class="chev" viewBox="0 0 24 24">
<path d="M8 4l8 8-8 8" fill="none" stroke="#BDBDBD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- More -->
<div class="item">
<div class="icon-circle more">
<svg class="icon-svg" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2.2" fill="#fff"/>
<circle cx="12" cy="12" r="2.2" fill="#fff"/>
<circle cx="18" cy="12" r="2.2" fill="#fff"/>
</svg>
</div>
<div class="label">More</div>
<div class="spacer"></div>
<svg class="chev" viewBox="0 0 24 24">
<path d="M8 4l8 8-8 8" fill="none" stroke="#BDBDBD" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Ad banner -->
<div class="ad-banner">
<div class="ad-img">[IMG: Sports Promo]</div>
<div class="ad-content">
<div class="ad-text">
<div class="ad-title">Make your team and win big!</div>
<div class="ad-by">Ad by Dream11</div>
</div>
<div class="ad-cta">Play Now</div>
</div>
</div>
<!-- Bottom home bar -->
<div class="home-bar">
<div class="home-indicator"></div>
</div>
</div>
</body>
</html>