AndroidCode / code /10134 /10134_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
10.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Destination Search UI</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1f2937; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 120px;
padding: 20px 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #0f172a;
font-size: 36px;
letter-spacing: 0.4px;
}
.status-icons { display: flex; align-items: center; gap: 24px; }
.icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #0f172a; }
.icon svg { width: 100%; height: 100%; }
/* Content area */
.content { padding: 12px 48px 0 48px; }
.search-row {
display: grid;
grid-template-columns: 70px 1fr 70px;
align-items: center;
column-gap: 24px;
margin-top: 12px;
}
.back-btn, .send-btn {
width: 70px; height: 70px; border-radius: 35px; display: flex; align-items: center; justify-content: center;
color: #0f172a;
}
.search-input {
height: 116px; border: 4px solid #2f6df6; border-radius: 58px;
padding: 0 36px; font-size: 38px; color: #9aa3af; display: flex; align-items: center;
}
/* Current location row */
.location-row {
margin-top: 32px;
display: grid;
grid-template-columns: 120px 1fr 70px;
align-items: center;
column-gap: 26px;
}
.square-icon {
width: 120px; height: 120px; border-radius: 28px; background: #f5f7fb; border: 1px solid #e5e7eb;
display: flex; align-items: center; justify-content: center;
}
.location-text { font-size: 36px; color: #111827; }
.divider { height: 1px; background: #e5e7eb; margin: 32px 0; }
/* Popular list */
.section-title { font-size: 44px; font-weight: 600; color: #0f172a; margin-bottom: 26px; }
.city-item {
display: grid;
grid-template-columns: 120px 1fr;
column-gap: 26px;
align-items: center;
padding: 18px 0;
}
.city-name { font-size: 40px; color: #111827; }
.city-sub { font-size: 32px; color: #6b7280; margin-top: 6px; }
/* Keyboard mock */
.keyboard {
position: absolute; left: 0; bottom: 0; width: 100%; height: 900px;
background: #f3f1fa; border-top: 1px solid #e5e7eb;
padding: 22px 28px;
}
.kb-top { display: flex; gap: 28px; align-items: center; margin-bottom: 26px; }
.kb-pill {
width: 80px; height: 80px; border-radius: 20px; background: #ffffff; border: 1px solid #e5e7eb;
display: flex; align-items: center; justify-content: center; color: #374151; font-size: 30px;
}
.kb-rows { display: grid; row-gap: 22px; }
.kb-row { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; column-gap: 16px; padding: 0 18px; }
.key {
height: 120px; border-radius: 24px; background: #ffffff; border: 1px solid #e5e7eb;
display: flex; align-items: center; justify-content: center; font-size: 40px; color: #111827;
}
.key.special { background: #f9e1e8; }
.space-row { display: grid; grid-template-columns: 140px 1fr 140px 140px; column-gap: 16px; padding: 0 18px; margin-top: 22px; }
.space { height: 120px; border-radius: 24px; background: #ffffff; border: 1px solid #e5e7eb; }
.enter { width: 120px; height: 120px; border-radius: 60px; background: #9be28a; display: flex; align-items: center; justify-content: center; margin-left: auto; }
.home-bar {
position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
width: 260px; height: 10px; background: #cbd5e1; border-radius: 5px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>10:49</div>
<div class="status-icons">
<div class="icon">
<!-- simple signal icon -->
<svg viewBox="0 0 24 24">
<rect x="2" y="16" width="3" height="6" fill="#374151"></rect>
<rect x="7" y="12" width="3" height="10" fill="#374151"></rect>
<rect x="12" y="8" width="3" height="14" fill="#374151"></rect>
<rect x="17" y="4" width="3" height="18" fill="#374151"></rect>
</svg>
</div>
<div class="icon">
<!-- battery -->
<svg viewBox="0 0 28 24">
<rect x="2" y="6" width="22" height="12" rx="2" ry="2" fill="none" stroke="#374151" stroke-width="2"></rect>
<rect x="4" y="8" width="14" height="8" fill="#374151"></rect>
<rect x="24" y="9" width="2" height="6" fill="#374151"></rect>
</svg>
</div>
</div>
</div>
<div class="content">
<!-- Search row -->
<div class="search-row">
<div class="back-btn">
<svg viewBox="0 0 24 24">
<path d="M14 5 L7 12 L14 19" fill="none" stroke="#0f172a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="search-input">Enter Destination</div>
<div class="send-btn">
<svg viewBox="0 0 24 24">
<path d="M3 21 L21 12 L3 3 L7 12 Z" fill="none" stroke="#0f172a" stroke-width="2" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<!-- Use current location -->
<div class="location-row">
<div class="square-icon">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8" fill="none" stroke="#0f172a" stroke-width="2"></circle>
<circle cx="12" cy="12" r="2" fill="#0f172a"></circle>
</svg>
</div>
<div class="location-text">Use current location</div>
<div class="icon">
<svg viewBox="0 0 24 24">
<path d="M3 12 L21 6 L14 12 L21 18 Z" fill="none" stroke="#0f172a" stroke-width="2" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<div class="divider"></div>
<!-- Popular Destinations -->
<div class="section-title">Popular Destinations</div>
<div class="city-item">
<div class="square-icon">
<svg viewBox="0 0 24 24">
<rect x="5" y="10" width="6" height="9" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="13" y="6" width="6" height="13" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="7" y="13" width="2" height="3" fill="#0f172a"></rect>
<rect x="15" y="9" width="2" height="3" fill="#0f172a"></rect>
</svg>
</div>
<div>
<div class="city-name">Amritsar</div>
<div class="city-sub">548 Properties</div>
</div>
</div>
<div class="city-item">
<div class="square-icon">
<svg viewBox="0 0 24 24">
<rect x="5" y="10" width="6" height="9" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="13" y="6" width="6" height="13" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="7" y="13" width="2" height="3" fill="#0f172a"></rect>
<rect x="15" y="9" width="2" height="3" fill="#0f172a"></rect>
</svg>
</div>
<div>
<div class="city-name">Mumbai</div>
<div class="city-sub">1146 Properties</div>
</div>
</div>
<div class="city-item">
<div class="square-icon">
<svg viewBox="0 0 24 24">
<rect x="5" y="10" width="6" height="9" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="13" y="6" width="6" height="13" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="7" y="13" width="2" height="3" fill="#0f172a"></rect>
<rect x="15" y="9" width="2" height="3" fill="#0f172a"></rect>
</svg>
</div>
<div>
<div class="city-name">Jaipur</div>
<div class="city-sub">1317 Properties</div>
</div>
</div>
<div class="city-item">
<div class="square-icon">
<svg viewBox="0 0 24 24">
<rect x="5" y="10" width="6" height="9" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="13" y="6" width="6" height="13" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="7" y="13" width="2" height="3" fill="#0f172a"></rect>
<rect x="15" y="9" width="2" height="3" fill="#0f172a"></rect>
</svg>
</div>
<div>
<div class="city-name">Ahmedabad</div>
<div class="city-sub">604 Properties</div>
</div>
</div>
<div class="city-item" style="margin-bottom: 14px;">
<div class="square-icon">
<svg viewBox="0 0 24 24">
<rect x="5" y="10" width="6" height="9" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="13" y="6" width="6" height="13" fill="none" stroke="#0f172a" stroke-width="2"></rect>
<rect x="7" y="13" width="2" height="3" fill="#0f172a"></rect>
<rect x="15" y="9" width="2" height="3" fill="#0f172a"></rect>
</svg>
</div>
<div>
<div class="city-name">Bengaluru</div>
<div class="city-sub">1960 Properties</div>
</div>
</div>
</div>
<!-- Keyboard mockup -->
<div class="keyboard">
<div class="kb-top">
<div class="kb-pill"></div>
<div class="kb-pill">😊</div>
<div class="kb-pill">GIF</div>
<div class="kb-pill">⚙️</div>
<div class="kb-pill">G</div>
<div class="kb-pill">🎨</div>
<div class="kb-pill">🎙️</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 special"></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"></div>
</div>
<div class="space-row">
<div class="key special">?123</div>
<div class="space"></div>
<div class="key special">.</div>
<div class="enter">
<svg viewBox="0 0 24 24">
<path d="M5 12 L19 12 M15 8 L19 12 L15 16" fill="none" stroke="#0f172a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
</div>
<div class="home-bar"></div>
</div>
</div>
</body>
</html>