AndroidCode / code /10113 /10113_7.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
9.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Search List 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 {
height: 90px;
background: #0A6772;
color: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
box-sizing: border-box;
font-size: 30px;
}
.status-icons {
display: flex;
align-items: center;
gap: 20px;
}
.status-dot {
width: 14px;
height: 14px;
border-radius: 50%;
background: #ffffff;
opacity: 0.9;
}
.status-icon svg {
width: 34px;
height: 34px;
fill: none;
stroke: #fff;
stroke-width: 3;
}
/* App bar with search */
.app-bar {
height: 150px;
background: #0A6772;
display: flex;
align-items: center;
padding: 0 24px;
box-sizing: border-box;
color: #ffffff;
gap: 24px;
}
.app-bar .back-btn svg,
.app-bar .close-btn svg {
width: 54px;
height: 54px;
stroke: #fff;
stroke-width: 5;
fill: none;
}
.search-input {
flex: 1;
height: 84px;
display: flex;
align-items: center;
color: #ffffff;
font-size: 48px;
line-height: 1;
border-bottom: 2px solid rgba(255,255,255,0.25);
}
.search-text {
white-space: nowrap;
}
.caret {
width: 2px;
height: 56px;
background: #ffffff;
margin-left: 6px;
}
/* List */
.list {
position: relative;
background: #ffffff;
}
.list-item {
padding: 32px 32px;
border-bottom: 1px solid #E5E5E5;
box-sizing: border-box;
}
.item-title {
font-size: 46px;
color: #333333;
font-weight: 700;
margin-bottom: 8px;
}
.item-sub {
font-size: 32px;
color: #8A8A8A;
font-weight: 500;
}
/* Keyboard overlay */
.keyboard {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 900px;
background: #1F1F1F;
color: #EAEAEA;
box-sizing: border-box;
padding: 22px 26px 70px 26px;
}
.kb-suggestion {
height: 80px;
display: flex;
align-items: center;
gap: 28px;
color: #C9C9C9;
font-size: 36px;
margin-bottom: 16px;
}
.kb-suggestion .left-icon,
.kb-suggestion .right-icon {
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
}
.kb-suggestion .divider {
color: #666;
margin: 0 6px;
}
.row {
display: flex;
justify-content: space-between;
gap: 12px;
margin: 10px 0;
}
.key {
flex: 1;
height: 120px;
background: #2A2A2A;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 44px;
color: #F1F1F1;
}
.key.wide {
flex: 1.2;
}
.key.space {
flex: 4.5;
}
.key.special {
background: #B9D1E8;
color: #1B1B1B;
}
.key.icon svg {
width: 46px;
height: 46px;
stroke: #F1F1F1;
fill: none;
stroke-width: 4;
}
/* Gesture bar/pill */
.gesture-pill {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 18px;
width: 320px;
height: 12px;
background: #FFFFFF;
border-radius: 8px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="time">10:18</div>
<div class="status-icons">
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-icon">
<!-- Wi-Fi icon -->
<svg viewBox="0 0 48 48">
<path d="M4 16c9-8 31-8 40 0"></path>
<path d="M10 22c6-6 22-6 28 0"></path>
<path d="M16 28c4-4 12-4 16 0"></path>
<circle cx="24" cy="34" r="3" fill="#fff"></circle>
</svg>
</div>
<div class="status-icon">
<!-- Battery icon -->
<svg viewBox="0 0 48 48">
<rect x="4" y="12" width="34" height="24" rx="3"></rect>
<rect x="39" y="18" width="5" height="12" rx="1"></rect>
<rect x="8" y="16" width="26" height="16" fill="#fff" stroke="none"></rect>
</svg>
</div>
</div>
</div>
<!-- App bar with search -->
<div class="app-bar">
<div class="back-btn">
<svg viewBox="0 0 48 48">
<path d="M30 8 L14 24 L30 40"></path>
</svg>
</div>
<div class="search-input">
<div class="search-text">Richmond, VA</div>
<div class="caret"></div>
</div>
<div class="close-btn">
<svg viewBox="0 0 48 48">
<path d="M12 12 L36 36"></path>
<path d="M36 12 L12 36"></path>
</svg>
</div>
</div>
<!-- List of results -->
<div class="list">
<div class="list-item">
<div class="item-title">Richmond, VA</div>
<div class="item-sub">United States</div>
</div>
<div class="list-item">
<div class="item-title">Colonial Heights, VA</div>
<div class="item-sub">United States</div>
</div>
<div class="list-item">
<div class="item-title">Oakland-Berkeley-East Bay, CA</div>
<div class="item-sub">United States</div>
</div>
<div class="list-item">
<div class="item-title">Richmond, IN</div>
<div class="item-sub">United States</div>
</div>
<div class="list-item">
<div class="item-title">Bratislava</div>
<div class="item-sub">Slovakia</div>
</div>
<div class="list-item">
<div class="item-title">Bratislava Airport</div>
<div class="item-sub">Slovakia</div>
</div>
<div class="list-item">
<div class="item-title">Vancouver, BC</div>
<div class="item-sub">Canada</div>
</div>
</div>
<!-- Keyboard overlay -->
<div class="keyboard">
<div class="kb-suggestion">
<div class="left-icon">
<!-- grid icon -->
<svg viewBox="0 0 48 48">
<rect x="6" y="6" width="10" height="10" fill="#C9C9C9"></rect>
<rect x="18" y="6" width="10" height="10" fill="#C9C9C9"></rect>
<rect x="30" y="6" width="10" height="10" fill="#C9C9C9"></rect>
<rect x="6" y="18" width="10" height="10" fill="#C9C9C9"></rect>
<rect x="18" y="18" width="10" height="10" fill="#C9C9C9"></rect>
<rect x="30" y="18" width="10" height="10" fill="#C9C9C9"></rect>
</svg>
</div>
<div>VA</div>
<div class="divider">|</div>
<div>VAN</div>
<div class="divider">|</div>
<div>CA</div>
<div style="flex:1"></div>
<div class="right-icon">
<!-- mic icon -->
<svg viewBox="0 0 48 48">
<rect x="18" y="10" width="12" height="20" rx="6" fill="#C9C9C9" stroke="none"></rect>
<path d="M12 24c0 8 24 8 24 0" stroke="#C9C9C9" stroke-width="4" fill="none"></path>
<path d="M24 30 L24 38 M18 38 L30 38" stroke="#C9C9C9" stroke-width="4" fill="none"></path>
</svg>
</div>
</div>
<div class="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="row">
<div class="key wide">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 wide">l</div>
</div>
<div class="row">
<div class="key icon wide">
<!-- shift -->
<svg viewBox="0 0 48 48">
<path d="M12 28 L24 14 L36 28"></path>
<path d="M18 30 L30 30"></path>
</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 icon wide">
<!-- backspace -->
<svg viewBox="0 0 48 48">
<path d="M10 24 L18 16 H40 V32 H18 Z"></path>
<path d="M23 19 L33 29 M33 19 L23 29"></path>
</svg>
</div>
</div>
<div class="row">
<div class="key special wide">?123</div>
<div class="key icon">
<!-- emoji -->
<svg viewBox="0 0 48 48">
<circle cx="24" cy="24" r="16"></circle>
<circle cx="18" cy="20" r="2" fill="#F1F1F1"></circle>
<circle cx="30" cy="20" r="2" fill="#F1F1F1"></circle>
<path d="M16 28 C24 34 32 28 32 28" stroke="#F1F1F1" stroke-width="3"></path>
</svg>
</div>
<div class="key space">space</div>
<div class="key">.</div>
<div class="key special wide">🔍</div>
</div>
</div>
<!-- Gesture pill -->
<div class="gesture-pill"></div>
</div>
</body>
</html>