AndroidCode / code /10145 /10145_7.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
7.22 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Share Sheet Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #000000;
color: #EDEDED;
font-family: "Segoe UI", Roboto, Arial, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 110px;
color: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
box-sizing: border-box;
}
.status-left { font-weight: 600; letter-spacing: 1px; }
.status-right {
display: flex; align-items: center; gap: 22px;
opacity: 0.9;
}
.sb-icon svg { width: 34px; height: 34px; fill: #ffffff; }
/* App header */
.app-header {
position: absolute;
top: 130px; left: 26px; right: 26px;
display: flex; align-items: center; gap: 24px;
color: #cfcfcf;
}
.menu-btn {
width: 92px; height: 92px; border-radius: 50%;
background: rgba(255,255,255,0.06);
display: flex; align-items: center; justify-content: center;
}
.menu-btn svg { width: 48px; height: 48px; fill: #cfcfcf; }
.title { font-size: 48px; font-weight: 600; }
/* Product image placeholder (content behind sheet) */
.product-hero {
position: absolute;
top: 280px; left: 30px; right: 30px;
height: 930px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 40px;
}
.pill-watch {
position: absolute;
top: 360px; left: 46px;
background: #6b0f1b;
color: #f4c8cf;
padding: 18px 28px;
font-size: 34px;
border-radius: 22px;
letter-spacing: 0.2px;
}
.pill-count {
position: absolute;
top: 360px; right: 46px;
background: rgba(0,0,0,0.55);
color: #e6e6e6;
padding: 16px 22px;
font-size: 34px;
border-radius: 20px;
}
/* Share sheet */
.sheet {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 1120px;
background: #1f1b21;
border-top-left-radius: 36px;
border-top-right-radius: 36px;
box-shadow: 0 -18px 50px rgba(0,0,0,0.6);
}
.sheet .grabber {
width: 130px; height: 10px; border-radius: 6px;
background: #6e6a73;
margin: 18px auto 26px auto;
opacity: 0.8;
}
.sheet .link {
padding: 10px 44px 0 44px; box-sizing: border-box;
font-size: 34px; line-height: 1.4;
color: #e8e4ee;
opacity: 0.95;
}
.btn-row {
display: flex; gap: 28px;
padding: 28px 44px 14px 44px;
}
.btn {
flex: 0 0 auto;
display: inline-flex; align-items: center; gap: 16px;
border: 2px solid #b48cff;
color: #b48cff;
padding: 18px 28px; border-radius: 18px;
font-size: 36px; font-weight: 600;
background: transparent;
}
.btn svg { width: 40px; height: 40px; fill: #b48cff; }
/* Account row */
.account {
display: flex; align-items: center; gap: 26px;
padding: 36px 44px 18px 44px;
}
.avatar {
position: relative;
width: 120px; height: 120px; border-radius: 50%;
background: #2e7bd1; color: #ffffff;
display: flex; align-items: center; justify-content: center;
font-weight: 700; font-size: 54px;
}
.badge {
position: absolute; right: -6px; bottom: -6px;
width: 44px; height: 44px; border-radius: 50%;
background: #E0E0E0; border: 2px solid #1f1b21;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 22px;
}
.acc-text .name { font-size: 40px; font-weight: 600; color: #ffffff; }
.acc-text .email { font-size: 34px; color: #c9c5cf; margin-top: 8px; }
/* App grid */
.app-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
row-gap: 36px;
padding: 40px 44px 0 44px;
}
.app {
display: flex; flex-direction: column; align-items: center; gap: 18px;
color: #dfdbe6; font-size: 30px;
}
.app .icon {
width: 128px; height: 128px; border-radius: 32px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 28px; text-align: center; padding: 8px;
}
/* Bottom gesture bar */
.home-bar {
position: absolute;
left: 50%; transform: translateX(-50%);
bottom: 26px;
width: 330px; height: 12px; border-radius: 10px;
background: rgba(255,255,255,0.8);
}
</style>
</head>
<body>
<div id="render-target">
<!-- Simulated status bar -->
<div class="status-bar">
<div class="status-left">8:27</div>
<div class="status-right">
<span class="sb-icon">
<svg viewBox="0 0 24 24"><path d="M3 18h18v2H3z"/></svg>
</span>
<span class="sb-icon">
<svg viewBox="0 0 24 24"><path d="M2 18h2a8 8 0 0 1 8-8v-2A10 10 0 0 0 2 18z"/></svg>
</span>
<span class="sb-icon">
<svg viewBox="0 0 24 24"><path d="M7 4v16l10-8z"/></svg>
</span>
<span class="sb-icon">
<svg viewBox="0 0 24 24"><path d="M20 8v11H4V8h16m1-2H3v15h18V6z"/></svg>
</span>
</div>
</div>
<!-- App header -->
<div class="app-header">
<div class="menu-btn">
<svg viewBox="0 0 24 24">
<path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/>
</svg>
</div>
<div class="title">Item</div>
</div>
<!-- Product hero image placeholder -->
<div class="product-hero">[IMG: Product Photo - Smartphone]</div>
<!-- Overlaid pills -->
<div class="pill-watch">19 watched in the last 24 hours</div>
<div class="pill-count">1 of 2</div>
<!-- Share sheet modal -->
<div class="sheet">
<div class="grabber"></div>
<div class="link">
https://www.ebay.com/itm/iPhone-14-Pro-Max-Unlocked-128GB-Black-Excellent-/275550774521?mkcid=16&amp;mke...
</div>
<div class="btn-row">
<div class="btn">
<svg viewBox="0 0 24 24"><path d="M16 1H4a2 2 0 0 0-2 2v12h2V3h12V1zm3 4H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm0 16H8V7h11v14z"/></svg>
Copy
</div>
<div class="btn">
<svg viewBox="0 0 24 24"><path d="M12 3l2.5 4H9.5L12 3zm0 18l-2.5-4h5L12 21zM3 12l4-2.5v5L3 12zm18 0l-4 2.5v-5L21 12z"/></svg>
Nearby
</div>
</div>
<div class="account">
<div class="avatar">C
<div class="badge">@</div>
</div>
<div class="acc-text">
<div class="name">dbwscratch</div>
<div class="email">test.id4@g...</div>
</div>
</div>
<div class="app-grid">
<div class="app">
<div class="icon">Drive</div>
<div>Drive</div>
</div>
<div class="app">
<div class="icon">Messages</div>
<div>Messages</div>
</div>
<div class="app">
<div class="icon">Gmail</div>
<div>Gmail</div>
</div>
<div class="app">
<div class="icon">Chrome</div>
<div>Chrome</div>
</div>
</div>
</div>
<!-- System gesture bar -->
<div class="home-bar"></div>
</div>
</body>
</html>