AndroidCode / code /10071 /10071_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Destination Search UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 110px;
background: #20262B;
color: #EAEAEA;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-size: 38px;
letter-spacing: 1px;
}
.status-left { flex: 1; }
.status-right { display: flex; align-items: center; gap: 22px; }
.status-icon {
width: 30px; height: 30px; opacity: 0.85;
}
/* Search bar */
.search-bar {
position: absolute;
top: 110px;
left: 0;
width: 1080px;
height: 140px;
background: #FFFFFF;
border-bottom: 1px solid #E5E7EA;
display: flex;
align-items: center;
padding: 0 30px;
box-sizing: border-box;
}
.icon-btn {
width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
}
.search-input {
flex: 1;
font-size: 48px;
color: #9AA4AE;
margin-left: 10px;
}
/* Content area */
.content {
position: absolute;
top: 250px;
left: 0;
right: 0;
bottom: 920px; /* leave room for keyboard */
padding: 30px 36px 0 36px;
box-sizing: border-box;
overflow: hidden;
background: #FFFFFF;
}
.list-item {
display: flex;
align-items: flex-start;
gap: 28px;
padding: 36px 0;
}
.list-title {
font-size: 44px;
color: #0F1B2B;
}
.subtitle {
font-size: 34px;
color: #6B7785;
margin-top: 6px;
}
.section-label {
font-size: 36px;
color: #6B7785;
margin-top: 30px;
margin-bottom: 16px;
display: flex;
align-items: center;
}
.clear-link {
margin-left: auto;
color: #1976D2;
font-weight: 500;
}
.divider {
height: 2px;
background: #E8ECEF;
margin: 18px 0 6px 0;
}
.loc-icon, .building-icon {
width: 56px; height: 56px; flex: 0 0 56px;
margin-top: 10px;
}
.building-icon {
margin-top: 6px;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
bottom: 40px;
width: 1080px;
height: 860px;
background: #EEF1E6;
border-top: 1px solid #D8DECC;
box-sizing: border-box;
padding: 18px 18px 22px 18px;
display: flex;
flex-direction: column;
gap: 18px;
}
.kb-tools {
display: flex;
justify-content: space-between;
padding: 6px 30px 10px 30px;
color: #3A444B;
font-size: 28px;
align-items: center;
}
.tool {
width: 100px; height: 72px; display: flex; align-items: center; justify-content: center;
color: #2F3A40;
}
.kb-row {
display: flex;
justify-content: center;
gap: 14px;
padding: 0 18px;
}
.key {
background: #FFFFFF;
border: 1px solid #D7DCE0;
width: 88px;
height: 120px;
border-radius: 22px;
display: flex;
align-items: center;
justify-content: center;
font-size: 44px;
color: #1D2A33;
box-sizing: border-box;
}
.key.wide { width: 140px; }
.key.shift, .key.fn, .key.backspace, .key.enter, .key.comma, .key.dot {
background: #D9E8D0;
border-color: #C3D7B9;
}
.spacebar {
flex: 1;
background: #FFFFFF;
border: 1px solid #D7DCE0;
height: 120px;
border-radius: 22px;
}
.kb-row.bottom { padding: 0 24px; }
/* Home indicator (gesture bar) */
.home-indicator {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
width: 260px;
height: 12px;
background: #A7ADB3;
border-radius: 6px;
opacity: 0.7;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">5:58</div>
<div class="status-right">
<!-- small placeholder status icons -->
<svg class="status-icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="#BFC6CC"/></svg>
<svg class="status-icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="#E0E4E7"/></svg>
<svg class="status-icon" viewBox="0 0 24 24"><path d="M3 12l7-9v6h11l-7 9v-6z" fill="#D0D6DB"/></svg>
<svg class="status-icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="2" fill="#D0D6DB"/><circle cx="12" cy="6" r="2" fill="#D0D6DB"/><circle cx="12" cy="18" r="2" fill="#D0D6DB"/></svg>
<!-- Battery -->
<svg class="status-icon" viewBox="0 0 32 18">
<rect x="2" y="3" width="24" height="12" rx="2" ry="2" fill="none" stroke="#E6EAEE" stroke-width="2"/>
<rect x="4" y="5" width="16" height="8" rx="1" fill="#E6EAEE"/>
<rect x="26" y="6" width="3" height="6" rx="1" fill="#E6EAEE"/>
</svg>
</div>
</div>
<!-- Search bar -->
<div class="search-bar">
<div class="icon-btn">
<!-- X icon -->
<svg width="42" height="42" viewBox="0 0 24 24">
<path d="M6 6l12 12M18 6L6 18" stroke="#7D8994" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="search-input">Destination</div>
</div>
<!-- Content -->
<div class="content">
<div class="list-item">
<svg class="loc-icon" viewBox="0 0 24 24">
<path d="M12 2l3 7 7 3-7 3-3 7-3-7-7-3 7-3z" fill="#2D3B46"/>
</svg>
<div class="list-title">Current location</div>
</div>
<div class="section-label">
Recent locations
<div class="clear-link">Clear</div>
</div>
<div class="divider"></div>
<div class="list-item" style="padding-top: 28px;">
<svg class="building-icon" viewBox="0 0 24 24">
<rect x="3" y="3" width="8" height="18" fill="#2E3A44"/>
<rect x="13" y="9" width="8" height="12" fill="#2E3A44"/>
<rect x="5" y="6" width="3" height="3" fill="#FFFFFF"/>
<rect x="5" y="11" width="3" height="3" fill="#FFFFFF"/>
<rect x="15" y="12" width="3" height="3" fill="#FFFFFF"/>
</svg>
<div>
<div class="list-title" style="font-weight: 700;">Seattle, Washington, United States</div>
<div class="subtitle">United States</div>
</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<!-- Tool row -->
<div class="kb-tools">
<div class="tool">
<svg width="56" height="56" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#A5C999"/>
<rect x="6" y="6" width="12" height="12" rx="2" fill="#FFFFFF"/>
</svg>
</div>
<div class="tool">
<svg width="56" height="56" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#394147" stroke-width="2"/>
<circle cx="9" cy="10" r="1.6" fill="#394147"/>
<circle cx="15" cy="10" r="1.6" fill="#394147"/>
<path d="M8 14c1.5 1.5 6.5 1.5 8 0" stroke="#394147" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="tool" style="font-weight:700;">GIF</div>
<div class="tool">
<svg width="56" height="56" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#394147" stroke-width="2"/>
<path d="M8 13h4M12 13l4-6" stroke="#394147" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="tool">
<svg width="56" height="56" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#394147" stroke-width="2"/>
<circle cx="9" cy="9" r="2" fill="#394147"/>
<circle cx="15" cy="15" r="2" fill="#394147"/>
</svg>
</div>
<div class="tool">
<svg width="56" height="56" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#D9E8D0"/>
<path d="M8 15l3-3 3 3" stroke="#2E3A44" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Row 1 -->
<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>
<!-- Row 2 -->
<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>
<!-- Row 3 -->
<div class="kb-row">
<div class="key shift wide">
<svg width="38" height="38" viewBox="0 0 24 24">
<path d="M12 4l6 6h-4v8H10v-8H6z" fill="#2E3A44"/>
</svg>
</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 backspace wide">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M3 12l6-6h10a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H9z" fill="#2E3A44"/>
<path d="M12 10l4 4M16 10l-4 4" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Bottom row -->
<div class="kb-row bottom" style="gap: 16px;">
<div class="key fn wide">?123</div>
<div class="key comma">,</div>
<div class="key" title="emoji">
<svg width="36" height="36" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#2E3A44" stroke-width="2"/>
<circle cx="9" cy="10" r="1.4" fill="#2E3A44"/>
<circle cx="15" cy="10" r="1.4" fill="#2E3A44"/>
<path d="M8 14c1.2 1.2 6.8 1.2 8 0" stroke="#2E3A44" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="spacebar"></div>
<div class="key dot">.</div>
<div class="key enter wide" style="display:flex; align-items:center; justify-content:center;">
<svg width="42" height="42" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#8FCB87"/>
<path d="M7 12l3 3 7-7" stroke="#FFFFFF" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>