AndroidCode / code /10182 /10182_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
11.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search Locations UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #FAFAF7;
border-radius: 36px;
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
color: #243425;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 120px; padding: 0 32px;
display: flex; align-items: center; justify-content: space-between;
color: #2c2c2c; font-weight: 600; font-size: 42px;
}
.status-left { display: flex; align-items: center; gap: 18px; }
.status-right { display: flex; align-items: center; gap: 22px; }
.status-icon svg { width: 52px; height: 52px; }
/* Search bar */
.search-wrap {
position: absolute; top: 150px; left: 36px; right: 36px;
}
.search-bar {
height: 120px; border: 2.5px solid #2E3F2C; border-radius: 60px;
background: #FFFFFF; display: flex; align-items: center;
padding: 0 28px; gap: 22px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.icon-btn { width: 72px; height: 72px; border-radius: 36px; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 44px; height: 44px; }
.search-text {
flex: 1; font-size: 48px; color: #243425; letter-spacing: 1px;
display: flex; align-items: center;
}
.caret {
width: 3px; height: 52px; background: #243425; margin-left: 3px; border-radius: 2px;
}
.clear-btn svg { width: 42px; height: 42px; }
/* Results list */
.results {
position: absolute; top: 300px; left: 0; right: 0; bottom: 900px;
overflow: hidden;
}
.result-item {
display: flex; align-items: center;
padding: 28px 36px; gap: 28px;
}
.flag-box {
width: 120px; height: 120px; border-radius: 26px;
background: #ECEDE7; display: flex; align-items: center; justify-content: center;
}
.flag-box svg { width: 60px; height: 60px; }
.result-text { display: flex; flex-direction: column; }
.city { font-size: 52px; font-weight: 700; color: #253424; }
.country { font-size: 36px; color: #6B7568; margin-top: 10px; }
/* Keyboard */
.keyboard {
position: absolute; left: 0; right: 0; bottom: 80px;
height: 900px; background: #EFE9F5; border-top-left-radius: 26px; border-top-right-radius: 26px;
box-shadow: 0 -4px 10px rgba(0,0,0,0.06);
padding: 22px 24px;
}
.kb-top {
height: 120px; display: flex; align-items: center; gap: 36px; padding: 0 8px;
}
.kb-icon {
width: 120px; height: 88px; border-radius: 22px; background: #FFFFFF; display: flex; align-items: center; justify-content: center;
color: #444; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.kb-icon svg { width: 42px; height: 42px; }
.kb-row { display: flex; justify-content: space-between; margin-top: 24px; padding: 0 6px; }
.key {
background: #FFFFFF; border-radius: 22px; height: 110px; width: 92px;
display: flex; align-items: center; justify-content: center;
font-size: 44px; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.key.small { width: 140px; }
.key.large { width: 520px; }
.key.action { background: #DCD8F3; color: #2E2E5F; font-weight: 700; }
.kb-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; padding: 0 6px; }
.gesture-bar {
position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
width: 300px; height: 10px; background: #C9C9C9; border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>8:22</div>
<div class="status-icon" title="record">
<svg viewBox="0 0 24 24" fill="#555"><rect x="4" y="6" width="16" height="12" rx="2"></rect><path d="M9 9h6v6H9z" fill="#777"></path></svg>
</div>
<div class="status-icon" title="cast">
<svg viewBox="0 0 24 24" fill="#555"><rect x="3" y="6" width="18" height="12" rx="2" fill="none" stroke="#555" stroke-width="2"></rect><path d="M4 18c3 0 5 2 5 4" stroke="#555" stroke-width="2" fill="none"></path></svg>
</div>
</div>
<div class="status-right">
<div class="status-icon" title="wifi">
<svg viewBox="0 0 24 24" fill="none" stroke="#555" stroke-width="2">
<path d="M2 8c5-5 15-5 20 0"></path>
<path d="M5 12c3-3 11-3 14 0"></path>
<path d="M8 16c2-2 6-2 8 0"></path>
<circle cx="12" cy="19" r="1.8" fill="#555"></circle>
</svg>
</div>
<div class="status-icon" title="battery">
<svg viewBox="0 0 24 24" fill="none" stroke="#555" stroke-width="2">
<rect x="3" y="6" width="16" height="12" rx="2"></rect>
<rect x="5" y="8" width="12" height="8" fill="#777"></rect>
<rect x="20" y="10" width="2" height="4" rx="1" fill="#555"></rect>
</svg>
</div>
</div>
</div>
<!-- Search bar -->
<div class="search-wrap">
<div class="search-bar">
<div class="icon-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="#2E3F2C" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 18l-6-6 6-6"></path>
</svg>
</div>
<div class="search-text">
98102
<div class="caret"></div>
</div>
<div class="icon-btn clear-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="#2E3F2C" stroke-width="2.2" stroke-linecap="round">
<path d="M6 6l12 12M18 6L6 18"></path>
</svg>
</div>
</div>
</div>
<!-- Results list -->
<div class="results">
<div class="result-item">
<div class="flag-box">
<svg viewBox="0 0 24 24" fill="none" stroke="#2E3F2C" stroke-width="2">
<path d="M6 3v18"></path>
<path d="M6 4h10l-2 3 2 3H6z" fill="none"></path>
</svg>
</div>
<div class="result-text">
<div class="city">Seattle</div>
<div class="country">Washington, United States</div>
</div>
</div>
<div class="result-item">
<div class="flag-box">
<svg viewBox="0 0 24 24" fill="none" stroke="#2E3F2C" stroke-width="2">
<path d="M6 3v18"></path>
<path d="M6 4h10l-2 3 2 3H6z" fill="none"></path>
</svg>
</div>
<div class="result-text">
<div class="city">Issaquah</div>
<div class="country">Washington, United States</div>
</div>
</div>
<div class="result-item">
<div class="flag-box">
<svg viewBox="0 0 24 24" fill="none" stroke="#2E3F2C" stroke-width="2">
<path d="M6 3v18"></path>
<path d="M6 4h10l-2 3 2 3H6z" fill="none"></path>
</svg>
</div>
<div class="result-text">
<div class="city">Mount Wilson</div>
<div class="country">California, United States</div>
</div>
</div>
<div class="result-item">
<div class="flag-box">
<svg viewBox="0 0 24 24" fill="none" stroke="#2E3F2C" stroke-width="2">
<path d="M6 3v18"></path>
<path d="M6 4h10l-2 3 2 3H6z" fill="none"></path>
</svg>
</div>
<div class="result-text">
<div class="city">Sierra Madre</div>
<div class="country">California, United States</div>
</div>
</div>
<div class="result-item">
<div class="flag-box">
<svg viewBox="0 0 24 24" fill="none" stroke="#2E3F2C" stroke-width="2">
<path d="M6 3v18"></path>
<path d="M6 4h10l-2 3 2 3H6z" fill="none"></path>
</svg>
</div>
<div class="result-text">
<div class="city">Enumclaw</div>
<div class="country">Washington, United States</div>
</div>
</div>
<div class="result-item">
<div class="flag-box">
<svg viewBox="0 0 24 24" fill="none" stroke="#2E3F2C" stroke-width="2">
<path d="M6 3v18"></path>
<path d="M6 4h10l-2 3 2 3H6z" fill="none"></path>
</svg>
</div>
<div class="result-text">
<div class="city">Kenmore</div>
<div class="country">Washington, United States</div>
</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="kb-top">
<div class="kb-icon">
<svg viewBox="0 0 24 24" fill="#777"><rect x="3" y="3" width="6" height="6"></rect><rect x="15" y="3" width="6" height="6"></rect><rect x="3" y="15" width="6" height="6"></rect><rect x="15" y="15" width="6" height="6"></rect></svg>
</div>
<div class="kb-icon">😊</div>
<div class="kb-icon">GIF</div>
<div class="kb-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="#777" stroke-width="2">
<circle cx="12" cy="12" r="8"></circle>
<path d="M12 8v4l3 3"></path>
</svg>
</div>
<div class="kb-icon">Gx</div>
<div class="kb-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="#777" stroke-width="2">
<path d="M4 20l4-12 12-4-4 12z"></path>
</svg>
</div>
<div class="kb-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="#777" stroke-width="2" stroke-linecap="round">
<path d="M5 11c0-4 6-4 6 0v4"></path>
<path d="M13 17h6"></path>
</svg>
</div>
</div>
<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 small"></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 small">
<svg viewBox="0 0 24 24" width="42" height="42">
<path d="M6 6l12 12M18 6L6 18" stroke="#333" stroke-width="2" fill="none"></path>
</svg>
</div>
</div>
<div class="kb-bottom">
<div class="key small">?123</div>
<div class="key">,</div>
<div class="key">😊</div>
<div class="key large"></div>
<div class="key">.</div>
<div class="key action">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" fill="none" stroke="#2E2E5F" stroke-width="2"></circle>
<path d="M20 20l-4-4" stroke="#2E2E5F" stroke-width="2" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
<div class="gesture-bar"></div>
</div>
</body>
</html>