AndroidCode / code /1017 /1017_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
10.5 kB
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Item Screen Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff; color: #111;
}
.status-bar {
height: 80px; padding: 0 40px;
display: flex; align-items: center; justify-content: space-between;
color: #3c3c3c; font-weight: 600; font-size: 36px;
}
.status-icons { display: flex; gap: 24px; align-items: center; }
/* Header */
.header {
display: flex; align-items: center; justify-content: space-between;
padding: 0 32px; height: 120px;
}
.header-title { font-size: 52px; font-weight: 700; }
.icon-btns { display: flex; gap: 24px; align-items: center; }
.circle {
width: 96px; height: 96px; border-radius: 48px;
background: #F1F3F5; display: flex; align-items: center; justify-content: center;
}
/* Icons */
.icon { width: 48px; height: 48px; }
.back { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.thin-blue-line { height: 6px; background: #3E6CF3; width: 92%; margin: 6px auto 12px; border-radius: 3px; }
/* Large action buttons */
.pill-btn {
margin: 24px 32px;
border: 4px solid #3E6CF3; color: #2C5AF0;
border-radius: 60px; height: 120px;
display: flex; align-items: center; justify-content: center;
font-size: 44px; font-weight: 700;
gap: 24px; background: #ffffff;
}
.heart-icon { width: 56px; height: 56px; }
/* Sections */
.section-title { font-size: 56px; font-weight: 800; padding: 32px; padding-top: 28px; }
.about-list { padding: 0 32px; }
.row {
display: flex; align-items: center;
padding: 24px 0; border-bottom: 1px solid #eee; font-size: 40px;
}
.label { width: 360px; color: #6f6f6f; }
.value { flex: 1; }
.chev { width: 36px; height: 36px; }
.desc-wrap { padding: 24px 32px; }
.desc-title { font-size: 56px; font-weight: 800; margin-bottom: 24px; }
.desc-text { font-size: 40px; line-height: 56px; color: #2f2f2f; }
.link { font-size: 42px; color: #2C5AF0; margin: 28px 32px; text-decoration: none; font-weight: 700; }
/* More like this */
.more-wrap { padding: 24px 32px; }
.more-head { display: flex; align-items: center; justify-content: space-between; }
.more-title { font-size: 56px; font-weight: 800; }
.see-all {
padding: 22px 36px; border: 2px solid #dcdcdc; border-radius: 60px;
font-size: 40px; color: #111; background: #f7f7f7;
}
.subtle { color: #6f6f6f; font-size: 40px; margin-top: 8px; }
.cards { display: flex; gap: 24px; margin-top: 24px; }
.card {
width: 492px; height: 420px; border-radius: 36px; overflow: hidden;
background: #fff; border: 1px solid #E4E4E4;
}
.img {
width: 100%; height: 100%; background: #E0E0E0; border-bottom: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 36px;
}
/* Bottom nav */
.bottom-nav {
position: absolute; bottom: 0; left: 0; right: 0;
height: 180px; border-top: 1px solid #e6e6e6; background: #ffffff;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 34px; color: #333; }
.nav-icon { width: 64px; height: 64px; }
.nav-active .nav-icon-wrap {
width: 120px; height: 120px; border-radius: 60px; background: #E9F0FF;
display: flex; align-items: center; justify-content: center;
}
.gesture {
position: absolute; bottom: 192px; left: 50%; transform: translateX(-50%);
width: 360px; height: 14px; background: #bbb; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>10:47</div>
<div class="status-icons">
<!-- Simple wifi icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 18c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm-7-7c4.7-3.5 12.3-3.5 17 0l-2 2c-3.9-2.9-9.1-2.9-13 0l-2-2zm3.5 3.5c3.1-2.3 7.9-2.3 11 0l-2 2c-2.3-1.7-4.7-1.7-7 0l-2-2z" fill="#333"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" ry="2" fill="#4a4a4a"></rect>
<rect x="4" y="8" width="12" height="8" fill="#9ad16f"></rect>
<rect x="20" y="10" width="2" height="6" fill="#4a4a4a"></rect>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div style="display:flex; align-items:center; gap:16px;">
<div class="back">
<svg class="icon" viewBox="0 0 24 24">
<path d="M15.5 6l-7 6 7 6" stroke="#111" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="header-title">Item</div>
</div>
<div class="icon-btns">
<div class="circle">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7" stroke="#111" stroke-width="2" fill="none"></circle>
<line x1="15" y1="15" x2="21" y2="21" stroke="#111" stroke-width="2" stroke-linecap="round"></line>
</svg>
</div>
<div class="circle">
<svg class="icon" viewBox="0 0 24 24">
<path d="M7 6h14l-2 10H9L7 6zm2 16a2 2 0 002-2H7a2 2 0 002 2z" fill="#111"></path>
</svg>
</div>
<div class="circle">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2" fill="#111"></circle>
<circle cx="12" cy="6" r="2" fill="#111"></circle>
<circle cx="18" cy="16" r="2" fill="#111"></circle>
<path d="M7.8 10.4l3.6-3.2M13.8 7.8l3.6 6.2" stroke="#111" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="circle">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="5" cy="12" r="2" fill="#111"></circle>
<circle cx="12" cy="12" r="2" fill="#111"></circle>
<circle cx="19" cy="12" r="2" fill="#111"></circle>
</svg>
</div>
</div>
</div>
<div class="thin-blue-line"></div>
<!-- Action Buttons -->
<div class="pill-btn">Add to cart</div>
<div class="pill-btn">Make offer</div>
<div class="pill-btn">
<svg class="heart-icon" viewBox="0 0 24 24">
<path d="M12 21s-7-4.6-9-8.5C1.7 9.1 3.6 7 6 7c1.7 0 3 .9 4 2.2C11 7.9 12.3 7 14 7c2.4 0 4.3 2.1 3 5.5-2 3.9-9 8.5-9 8.5z" fill="none" stroke="#2C5AF0" stroke-width="2"/>
</svg>
Add to watchlist
</div>
<!-- About -->
<div class="section-title">About this item</div>
<div class="about-list">
<div class="row">
<div class="label">Condition</div>
<div class="value">Used</div>
</div>
<div class="row">
<div class="label">Quantity</div>
<div class="value">1 available</div>
</div>
<div class="row">
<div class="label">Item Number</div>
<div class="value" style="display:flex; align-items:center; justify-content:space-between;">
<span>304796314833</span>
<svg class="chev" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#777" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="row">
<div class="label">UK Shoe Size</div>
<div class="value">7</div>
</div>
<div class="row" style="border-bottom:none;">
<div class="label">Shoe Shaft Style</div>
<div class="value">Low Top</div>
</div>
</div>
<!-- Description -->
<div class="desc-wrap">
<div class="desc-title">Item description from the seller</div>
<div class="desc-text">
New Balance 420 Size 9 Athletic shoes for women WL420DFU Mint. Good pre-owned conditions, look at all over the pictures for details.
</div>
<div style="display:flex; align-items:center; justify-content:space-between; margin-top:18px;">
<a class="link" href="#">See full description</a>
<svg class="chev" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#777" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- More like this -->
<div class="more-wrap">
<div class="more-head">
<div>
<div class="more-title">More like this</div>
<div class="subtle">Sponsored · UK Shoe Size 7 an...</div>
</div>
<div class="see-all">See all →</div>
</div>
<div class="cards">
<div class="card">
<div class="img">[IMG: Similar shoe listing thumbnail]</div>
</div>
<div class="card">
<div class="img">[IMG: Similar shoe listing thumbnail]</div>
</div>
</div>
</div>
<!-- Bottom Navigation -->
<div class="gesture"></div>
<div class="bottom-nav">
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M3 11l9-7 9 7v9H3v-9z" fill="none" stroke="#333" stroke-width="2"></path>
</svg>
<div>Home</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" stroke="#333" stroke-width="2" fill="none"></circle>
<path d="M4 22c0-5 4-8 8-8s8 3 8 8" stroke="#333" stroke-width="2" fill="none"></path>
</svg>
<div>My eBay</div>
</div>
<div class="nav-item nav-active">
<div class="nav-icon-wrap">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7" stroke="#2C5AF0" stroke-width="2" fill="none"></circle>
<line x1="15" y1="15" x2="21" y2="21" stroke="#2C5AF0" stroke-width="2" stroke-linecap="round"></line>
</svg>
</div>
<div style="color:#2C5AF0;">Search</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M4 5h16v14H4z" fill="none" stroke="#333" stroke-width="2"></path>
<path d="M4 9h16" stroke="#333" stroke-width="2"></path>
</svg>
<div>Inbox</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M3 6h18v4H3zM3 12h18v7H3z" fill="none" stroke="#333" stroke-width="2"></path>
<path d="M7 12v7M12 12v7M17 12v7" stroke="#333" stroke-width="2"></path>
</svg>
<div>Selling</div>
</div>
</div>
</div>
</body>
</html>