AndroidCode / code /10132 /10132_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
11.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Store Search UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: "Segoe UI", Arial, Helvetica, sans-serif;
color: #222;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 110px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 28px;
color: #333;
font-size: 40px;
}
.status-icons {
display: flex;
align-items: center;
gap: 26px;
}
.icon { display: inline-block; vertical-align: middle; }
/* Search header */
.search-header {
position: absolute;
top: 110px;
left: 0;
width: 100%;
height: 170px;
display: flex;
align-items: center;
padding: 0 24px;
box-sizing: border-box;
}
.back-btn {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 14px;
}
.search-input {
flex: 1;
display: flex;
align-items: center;
color: #646464;
font-size: 56px;
line-height: 1;
}
.caret {
width: 6px;
height: 58px;
background: #FF6D00;
border-radius: 2px;
margin-right: 16px;
}
.scan-btn {
width: 82px;
height: 82px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 10px;
}
/* Category / Find stores row */
.utility-row {
position: absolute;
top: 280px;
left: 0;
width: 100%;
height: 120px;
background: #F0F0F0;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 24px;
column-gap: 24px;
}
.utility-item {
flex: 1;
display: flex;
align-items: center;
gap: 18px;
color: #333;
font-size: 40px;
}
.divider {
width: 2px;
height: 60px;
background: #C9C9C9;
}
/* Promo banner */
.promo {
position: absolute;
top: 400px;
left: 24px;
width: 1032px;
height: 420px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-size: 40px;
box-sizing: border-box;
}
.promo .badge {
position: absolute;
top: 18px;
right: 18px;
background: #FF8A00;
color: #fff;
padding: 12px 18px;
font-size: 34px;
font-weight: 700;
border-radius: 8px;
}
.promo-caption {
position: absolute;
top: 840px;
left: 24px;
width: 1032px;
font-size: 44px;
font-weight: 700;
color: #3a3a3a;
}
/* Offers header */
.offers-header {
position: absolute;
top: 920px;
left: 24px;
width: 1032px;
display: flex;
justify-content: space-between;
align-items: center;
}
.offers-title {
font-size: 54px;
font-weight: 700;
color: #2a2a2a;
}
.offers-link {
font-size: 40px;
color: #FF6D00;
font-weight: 600;
}
.offers-sub {
position: absolute;
top: 990px;
left: 24px;
font-size: 36px;
color: #8a8a8a;
}
/* Product cards */
.product-grid {
position: absolute;
top: 1070px;
left: 24px;
width: 1032px;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.card {
background: #fff;
border: 1px solid #E3E3E3;
border-radius: 24px;
overflow: hidden;
position: relative;
box-shadow: 0 1px 2px rgba(0,0,0,0.06);
height: 420px;
}
.card-img {
width: 100%;
height: 320px;
background: #E0E0E0;
border-bottom: 1px solid #D0D0D0;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-size: 32px;
}
.card .add-list {
position: absolute;
top: 16px;
right: 16px;
width: 70px;
height: 70px;
border-radius: 16px;
background: #ffffff;
border: 1px solid #D5D5D5;
display: flex;
align-items: center;
justify-content: center;
}
.hit-tag {
position: absolute;
bottom: 0;
left: 0;
background: #FF8A00;
color: #fff;
font-size: 34px;
font-weight: 800;
padding: 8px 16px;
border-top-right-radius: 12px;
}
/* Keyboard mock */
.keyboard {
position: absolute;
bottom: 60px;
left: 0;
width: 100%;
height: 900px;
background: #1E1E1E;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-shadow: 0 -6px 18px rgba(0,0,0,0.25);
color: #eaeaea;
box-sizing: border-box;
padding: 24px 24px 30px;
}
.kb-top {
display: flex;
align-items: center;
gap: 26px;
margin-bottom: 20px;
}
.kb-top .pill {
background: #2A2A2A;
border: 1px solid #333;
padding: 14px 20px;
border-radius: 14px;
font-size: 32px;
color: #cfcfcf;
}
.kb-rows {
display: flex;
flex-direction: column;
gap: 18px;
}
.kb-row {
display: flex;
justify-content: center;
gap: 14px;
}
.key {
background: #2B2B2B;
border: 1px solid #3A3A3A;
border-radius: 18px;
width: 90px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
font-size: 40px;
color: #f5f5f5;
}
.key.wide { width: 170px; }
.space { width: 520px; }
.key.light {
background: #D4D9FF;
color: #111;
border-color: #C7CCFF;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 18px;
left: 50%;
transform: translateX(-50%);
width: 220px;
height: 10px;
border-radius: 6px;
background: #E8E8E8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>9:07</div>
<div class="status-icons">
<!-- Simple cellular/wifi/battery icons -->
<svg class="icon" width="38" height="38" viewBox="0 0 48 48">
<path d="M6 36h6l18-18 6 6-18 18H6z" fill="#888"/>
</svg>
<svg class="icon" width="38" height="38" viewBox="0 0 48 48">
<path d="M6 34c10-10 26-10 36 0" stroke="#888" stroke-width="4" fill="none"/>
<path d="M12 34c7-7 19-7 26 0" stroke="#888" stroke-width="4" fill="none"/>
<circle cx="24" cy="34" r="2.5" fill="#888"/>
</svg>
<svg class="icon" width="42" height="42" viewBox="0 0 48 48">
<rect x="6" y="10" width="30" height="20" rx="3" ry="3" stroke="#888" stroke-width="3" fill="none"/>
<rect x="38" y="16" width="4" height="8" fill="#888"/>
</svg>
</div>
</div>
<!-- Search Header -->
<div class="search-header">
<div class="back-btn">
<svg width="54" height="54" viewBox="0 0 48 48">
<path d="M30 10 L16 24 L30 38" stroke="#444" stroke-width="5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="search-input">
<span class="caret"></span>
<span>Search for products in store</span>
</div>
<div class="scan-btn">
<svg width="64" height="64" viewBox="0 0 48 48">
<path d="M8 12h6M34 12h6M8 36h6M34 36h6" stroke="#444" stroke-width="4" stroke-linecap="round"/>
<rect x="14" y="16" width="20" height="16" stroke="#444" stroke-width="3" fill="none"/>
<path d="M18 20h12M18 24h12" stroke="#444" stroke-width="3" />
</svg>
</div>
</div>
<!-- Utility row -->
<div class="utility-row">
<div class="utility-item">
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M10 14h28M10 24h28M10 34h28" stroke="#333" stroke-width="4" stroke-linecap="round"/>
</svg>
<span>All products</span>
</div>
<div class="divider"></div>
<div class="utility-item">
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M24 10c6 0 10 4 10 10 0 8-10 18-10 18S14 28 14 20c0-6 4-10 10-10z" stroke="#333" stroke-width="3" fill="none"/>
<circle cx="24" cy="20" r="4" fill="#333"/>
</svg>
<span>Find stores</span>
</div>
</div>
<!-- Promo banner -->
<div class="promo">
[IMG: Promo banner with peanuts, chocolates, cups]
<div class="badge">Up to 40%</div>
</div>
<div class="promo-caption">Weekend sensation - only from this Thursday to Sunday</div>
<!-- Offers header -->
<div class="offers-header">
<div class="offers-title">Offers in the stores</div>
<div class="offers-link">Show all</div>
</div>
<div class="offers-sub">No region selected</div>
<!-- Product cards -->
<div class="product-grid">
<div class="card">
<div class="card-img">[IMG: Plush blanket set]</div>
<div class="add-list">
<svg width="44" height="44" viewBox="0 0 48 48">
<rect x="6" y="8" width="28" height="22" rx="4" ry="4" stroke="#555" stroke-width="3" fill="none"/>
<path d="M38 16v18H16" stroke="#555" stroke-width="3" fill="none"/>
<path d="M24 18v8M20 22h8" stroke="#555" stroke-width="3"/>
</svg>
</div>
<div class="hit-tag">Hit</div>
</div>
<div class="card">
<div class="card-img">[IMG: Kitchen tool set]</div>
<div class="add-list">
<svg width="44" height="44" viewBox="0 0 48 48">
<rect x="6" y="8" width="28" height="22" rx="4" ry="4" stroke="#555" stroke-width="3" fill="none"/>
<path d="M38 16v18H16" stroke="#555" stroke-width="3" fill="none"/>
<path d="M24 18v8M20 22h8" stroke="#555" stroke-width="3"/>
</svg>
</div>
<div class="hit-tag">Hit</div>
</div>
<div class="card">
<div class="card-img">[IMG: LED light packs]</div>
<div class="add-list">
<svg width="44" height="44" viewBox="0 0 48 48">
<rect x="6" y="8" width="28" height="22" rx="4" ry="4" stroke="#555" stroke-width="3" fill="none"/>
<path d="M38 16v18H16" stroke="#555" stroke-width="3" fill="none"/>
<path d="M24 18v8M20 22h8" stroke="#555" stroke-width="3"/>
</svg>
</div>
<div class="hit-tag">Hit</div>
</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<div class="kb-top">
<div class="pill">GIF</div>
<div class="pill">Settings</div>
<div class="pill">Gᵀᴿ</div>
<div class="pill">Palette</div>
</div>
<div class="kb-rows">
<div class="kb-row">
<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>
<div class="kb-row">
<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>
<div class="kb-row">
<div class="key 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 wide"></div>
</div>
<div class="kb-row">
<div class="key wide">?123</div>
<div class="key">,</div>
<div class="key">🙂</div>
<div class="key space"></div>
<div class="key">.</div>
<div class="key light">
<svg width="42" height="42" viewBox="0 0 48 48">
<circle cx="20" cy="20" r="12" stroke="#333" stroke-width="3" fill="none"/>
<path d="M28 28l8 8" stroke="#333" stroke-width="3"/>
</svg>
</div>
</div>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>