AndroidCode / code /10065 /10065_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="utf-8">
<title>Amazon Search UI - Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: linear-gradient(90deg, #a8dde0, #c2ebcc);
}
/* Status bar */
.status-bar {
position: absolute;
top: 18px;
left: 30px;
right: 30px;
height: 60px;
display: flex;
align-items: center;
color: #1f2e26;
font-weight: 600;
font-size: 34px;
}
.status-left {
display: flex;
align-items: center;
gap: 22px;
}
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 24px;
}
.status-dot {
width: 10px; height: 10px; background: #1f2e26; border-radius: 50%;
}
.icon-svg { width: 40px; height: 40px; }
/* Back + Search bar */
.top-bar {
position: absolute;
top: 96px;
left: 24px;
right: 24px;
height: 120px;
display: flex;
align-items: center;
gap: 26px;
}
.back-btn {
width: 78px;
height: 78px;
border-radius: 40px;
display: flex;
justify-content: center;
align-items: center;
}
.search-bar {
flex: 1;
height: 110px;
background: #ffffff;
border-radius: 28px;
box-shadow: 0 6px 16px rgba(0,0,0,0.08);
display: flex;
align-items: center;
padding: 0 30px;
gap: 22px;
border: 1px solid #e3e3e3;
}
.search-text {
color: #6f7c78;
font-size: 40px;
}
/* Content area below header */
.content-panel {
position: absolute;
top: 280px;
left: 0;
right: 0;
bottom: 760px; /* leave room for keyboard */
background: #ffffff;
}
/* Dual buttons */
.action-row {
position: absolute;
top: 1080px;
left: 60px;
right: 60px;
display: flex;
gap: 50px;
justify-content: center;
}
.pill-btn {
flex: 1;
height: 140px;
background: #f3f3f5;
border-radius: 26px;
border: 1px solid #d8d9dd;
display: flex;
align-items: center;
gap: 26px;
padding: 0 40px;
color: #2b2b2b;
font-size: 44px;
box-sizing: border-box;
}
.pill-icon {
width: 72px; height: 72px;
border-radius: 18px;
background: #ffffff;
border: 1px solid #d5d5d5;
display: flex; justify-content: center; align-items: center;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 780px;
background: #0f1a15;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-shadow: 0 -10px 20px rgba(0,0,0,0.25);
}
.kb-toolbar {
height: 110px;
display: flex;
align-items: center;
gap: 40px;
padding: 20px 34px;
color: #cfe3d5;
font-size: 34px;
}
.kb-row {
display: flex;
justify-content: space-between;
padding: 18px 28px;
}
.key {
width: 92px;
height: 116px;
margin: 6px;
background: #1a2620;
color: #d8e6dc;
border-radius: 22px;
display: flex;
justify-content: center;
align-items: center;
font-size: 48px;
border: 1px solid rgba(255,255,255,0.06);
box-sizing: border-box;
}
.key.wide { width: 140px; }
.key.xwide { width: 420px; }
.key.special { background: #202e28; color: #cfe0d6; }
.enter-key {
width: 128px; height: 128px;
background: #75ff9a;
color: #0f1a15;
border-radius: 80px;
display: flex; justify-content: center; align-items: center;
font-weight: bold;
border: 2px solid #67e68c;
}
.kb-bottom {
display: flex;
align-items: center;
padding: 12px 24px 28px;
gap: 18px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div>5:44</div>
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
</div>
<div class="status-right">
<!-- Wi-Fi icon -->
<svg class="icon-svg" viewBox="0 0 24 24" fill="#1f2e26">
<path d="M12 18.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm-6.9-6.3a12 12 0 0 1 13.8 0l-1.5 1.5a9.5 9.5 0 0 0-10.8 0l-1.5-1.5zm-3.1-3.6a17 17 0 0 1 20 0l-1.6 1.6a14.3 14.3 0 0 0-16.8 0L2 8.6z"/>
</svg>
<!-- Battery icon -->
<svg class="icon-svg" viewBox="0 0 36 24" fill="#1f2e26">
<rect x="1" y="5" width="28" height="14" rx="3" ry="3" stroke="#1f2e26" stroke-width="2" fill="none"/>
<rect x="3" y="7" width="22" height="10" rx="2" fill="#1f2e26"/>
<rect x="30" y="9" width="5" height="6" rx="1" fill="#1f2e26"/>
</svg>
</div>
</div>
<!-- Back + Search -->
<div class="top-bar">
<div class="back-btn">
<svg class="icon-svg" viewBox="0 0 24 24" fill="#1c2b24">
<path d="M15.5 4.5 7 12l8.5 7.5-1.8 2L3.5 12 13.7 2.5z"/>
</svg>
</div>
<div class="search-bar">
<svg class="icon-svg" viewBox="0 0 24 24" fill="#6f7c78">
<path d="M10 2a8 8 0 1 1 0 16A8 8 0 0 1 10 2zm11.5 18.5-5.2-5.2 1.4-1.4 5.2 5.2-1.4 1.4z"/>
</svg>
<div class="search-text">Search Amazon.in</div>
</div>
</div>
<!-- White content panel -->
<div class="content-panel"></div>
<!-- Action buttons -->
<div class="action-row">
<div class="pill-btn">
<div class="pill-icon">
<!-- hanger icon -->
<svg viewBox="0 0 24 24" width="54" height="54" fill="#616b66">
<path d="M12 5a2 2 0 1 1 2 2h-1l1.3 1-7.8 4.3L2 16l1.5 2 8.5-4.8L20 18l2-2-8.2-4.7L11 9.2A3 3 0 0 0 12 5z"/>
</svg>
</div>
<div>Find the look</div>
</div>
<div class="pill-btn">
<div class="pill-icon">
<!-- camera icon -->
<svg viewBox="0 0 24 24" width="54" height="54" fill="#616b66">
<path d="M7 5h4l1.5 2H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3l0-2zm5 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10z"/>
</svg>
</div>
<div>Scan products</div>
</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<div class="kb-toolbar">
<div class="key special" style="width:92px;height:72px;"></div>
<div class="key special" style="width:92px;height:72px;">🙂</div>
<div class="key special" style="width:92px;height:72px;">GIF</div>
<div class="key special" style="width:92px;height:72px;">⚙️</div>
<div class="key special" style="width:92px;height:72px;">G↔︎</div>
<div class="key special" style="width:92px;height:72px;">🎨</div>
<div style="margin-left:auto;" class="key special" style="width:92px;height:72px;">🎤</div>
</div>
<!-- Row 1 -->
<div class="kb-row" style="padding-top: 8px;">
<div class="key">q</div><div class="key">w</div><div class="key">e</div><div class="key">r</div>
<div class="key">t</div><div class="key">y</div><div class="key">u</div><div class="key">i</div>
<div class="key">o</div><div class="key">p</div>
</div>
<!-- Row 2 -->
<div class="kb-row">
<div style="width:40px;"></div>
<div class="key">a</div><div class="key">s</div><div class="key">d</div><div class="key">f</div>
<div class="key">g</div><div class="key">h</div><div class="key">j</div><div class="key">k</div>
<div class="key">l</div>
<div style="width:40px;"></div>
</div>
<!-- Row 3 -->
<div class="kb-row">
<div class="key special wide"></div>
<div class="key">z</div><div class="key">x</div><div class="key">c</div><div class="key">v</div>
<div class="key">b</div><div class="key">n</div><div class="key">m</div>
<div class="key special wide"></div>
</div>
<!-- Bottom controls -->
<div class="kb-bottom">
<div class="key special wide">?123</div>
<div class="key special">,</div>
<div class="key special">🙂</div>
<div class="key xwide">space</div>
<div class="key special">.</div>
<div class="enter-key">
<svg viewBox="0 0 24 24" width="70" height="70" fill="#0f1a15">
<path d="M6 12h9V8l5 4-5 4v-4H6z"/>
</svg>
</div>
</div>
</div>
</div>
</body>
</html>