AndroidCode / code /10003 /10003_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mobile UI - Plan</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin:0; padding:0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #121212;
color: #fff;
}
/* Header */
.header {
position: absolute;
left: 0;
top: 0;
width: 1080px;
height: 350px;
background: #D32F2F;
}
.status {
position: absolute;
top: 24px;
left: 0;
width: 100%;
height: 72px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #fff;
font-size: 34px;
opacity: 0.95;
}
.titlebar {
position: absolute;
top: 98px;
left: 0;
width: 100%;
height: 92px;
display: flex;
align-items: center;
padding: 0 28px;
color: #fff;
}
.titlebar .title {
flex: 1;
text-align: center;
font-weight: 600;
font-size: 44px;
letter-spacing: 0.5px;
}
.icon-btn { width: 72px; height: 72px; display:flex; align-items:center; justify-content:center; }
.icon-btn svg { width: 42px; height: 42px; fill: none; stroke: #fff; stroke-width: 4; }
/* Search Card */
.search-card {
position: absolute;
left: 24px;
right: 24px;
top: 176px;
background: #1E1E1E;
border-radius: 26px;
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
padding: 24px 24px 10px 24px;
}
.search-inner {
position: relative;
padding-left: 88px;
}
.rail-line {
position: absolute;
left: 40px;
top: 18px;
bottom: 18px;
width: 2px;
background: #3A3A3A;
}
.rail-dot {
position: absolute;
left: 29px;
width: 24px; height: 24px;
border-radius: 50%;
border: 3px solid #BDBDBD;
background: transparent;
}
.rail-dot.start { top: 0; }
.rail-dot.end { bottom: 0; }
.field {
position: relative;
padding: 20px 84px 18px 0;
font-size: 44px;
color: #EDEDED;
}
.field + .field {
color: #A5A5A5;
}
.divider {
height: 2px;
background: #3A3A3A;
margin: 6px 0 6px 0;
}
.clear-btn {
position: absolute;
right: 14px;
top: 10px;
width: 60px; height: 60px;
display: flex; align-items:center; justify-content:center;
}
.clear-btn svg { width: 32px; height: 32px; stroke: #BDBDBD; stroke-width: 5; }
/* List */
.list {
position: absolute;
left: 0;
right: 0;
top: 520px;
bottom: 760px; /* leave space for keyboard */
overflow: hidden;
}
.row {
height: 140px;
padding: 0 32px;
display: flex;
align-items: center;
background: #161616;
border-top: 1px solid #232323;
}
.row:first-child { border-top: none; }
.row .label {
flex: 1;
font-size: 46px;
color: #EAEAEA;
}
.row .sub {
color: #BDBDBD;
}
.list-icon {
width: 64px; height: 64px; margin-right: 28px;
display:flex; align-items:center; justify-content:center;
}
.list-icon svg { width: 52px; height: 52px; stroke: #BDBDBD; fill: none; stroke-width: 4; }
.fav {
width: 64px; height: 64px;
display:flex; align-items:center; justify-content:center;
}
.fav svg { width: 52px; height: 52px; stroke: #BDBDBD; fill: none; stroke-width: 4; }
/* Keyboard mock */
.keyboard {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 760px;
background: #0E0E0F;
border-top: 1px solid #2A2A2A;
}
.kb-suggestion {
height: 110px;
display:flex; align-items:center; justify-content:center;
color: #EDEDED;
font-size: 44px;
border-bottom: 1px solid #2A2A2A;
background: #121215;
}
.kb-rows {
padding: 22px 22px 18px;
}
.kb-row {
display: flex;
justify-content: center;
margin-bottom: 16px;
}
.key {
width: 86px; height: 104px;
margin: 8px;
border-radius: 14px;
background: #2B2B2E;
color: #E0E0E0;
font-size: 40px;
display:flex; align-items:center; justify-content:center;
}
.key.wide { width: 540px; }
.key.medium { width: 140px; }
.key.icon { background:#2B2B2E; }
/* Status right icons (wifi/battery) */
.status-icons svg { width: 40px; height: 40px; stroke:#fff; stroke-width:4; fill:none; margin-left:18px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Red Header -->
<div class="header">
<div class="status">
<div>10:38</div>
<div class="status-icons" style="display:flex; align-items:center;">
<!-- wifi -->
<svg viewBox="0 0 24 24"><path d="M2 8c5-5 15-5 20 0"/><path d="M5 11c3.5-3.5 10.5-3.5 14 0"/><path d="M8 14c2-2 6-2 8 0"/><circle cx="12" cy="18" r="1.6" fill="#fff" stroke="none"/></svg>
<!-- battery -->
<svg viewBox="0 0 26 24"><rect x="2" y="6" width="18" height="12" rx="2"/><rect x="20" y="9" width="3" height="6"/></svg>
</div>
</div>
<div class="titlebar">
<div class="icon-btn">
<!-- Back arrow -->
<svg viewBox="0 0 24 24"><path d="M14 4 L6 12 L14 20"/><path d="M7 12 H20"/></svg>
</div>
<div class="title">Plan</div>
<div class="icon-btn">
<!-- swap icon -->
<svg viewBox="0 0 24 24">
<path d="M7 7 H20 L16 3"/><path d="M17 17 H4 L8 21"/>
</svg>
</div>
</div>
<!-- Search card -->
<div class="search-card">
<div class="search-inner">
<div class="rail-line"></div>
<div class="rail-dot start"></div>
<div class="rail-dot end"></div>
<div class="field">
Dundee
<div class="clear-btn">
<svg viewBox="0 0 24 24"><path d="M4 4 L20 20 M20 4 L4 20"/></svg>
</div>
</div>
<div class="divider"></div>
<div class="field" style="padding-bottom:12px;">To</div>
</div>
</div>
</div>
<!-- Results list -->
<div class="list">
<div class="row">
<div class="list-icon">
<!-- clock -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7 V12 L16 14"/></svg>
</div>
<div class="label">Dundee</div>
<div class="fav">
<svg viewBox="0 0 24 24"><path d="M12 3 L14.8 9.2 L21.5 9.3 L16 13.5 L17.9 20 L12 16.4 L6.1 20 L8 13.5 L2.5 9.3 L9.2 9.2 Z"/></svg>
</div>
</div>
<div class="row">
<div class="list-icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7 V12 L16 14"/></svg>
</div>
<div class="label">Dunderland</div>
<div class="fav">
<svg viewBox="0 0 24 24"><path d="M12 3 L14.8 9.2 L21.5 9.3 L16 13.5 L17.9 20 L12 16.4 L6.1 20 L8 13.5 L2.5 9.3 L9.2 9.2 Z"/></svg>
</div>
</div>
<div class="row">
<div class="list-icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7 V12 L16 14"/></svg>
</div>
<div class="label">Dundenheim, Rathaus</div>
<div class="fav">
<svg viewBox="0 0 24 24"><path d="M12 3 L14.8 9.2 L21.5 9.3 L16 13.5 L17.9 20 L12 16.4 L6.1 20 L8 13.5 L2.5 9.3 L9.2 9.2 Z"/></svg>
</div>
</div>
<div class="row">
<div class="list-icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7 V12 L16 14"/></svg>
</div>
<div class="label">Dundenheim, Grosse Gasse</div>
<div class="fav">
<svg viewBox="0 0 24 24"><path d="M12 3 L14.8 9.2 L21.5 9.3 L16 13.5 L17.9 20 L12 16.4 L6.1 20 L8 13.5 L2.5 9.3 L9.2 9.2 Z"/></svg>
</div>
</div>
<div class="row">
<div class="list-icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7 V12 L16 14"/></svg>
</div>
<div class="label">Dundenheim, Offenburger Str.</div>
<div class="fav">
<svg viewBox="0 0 24 24"><path d="M12 3 L14.8 9.2 L21.5 9.3 L16 13.5 L17.9 20 L12 16.4 L6.1 20 L8 13.5 L2.5 9.3 L9.2 9.2 Z"/></svg>
</div>
</div>
<div class="row">
<div class="list-icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7 V12 L16 14"/></svg>
</div>
<div class="label">Dundalk</div>
<div class="fav">
<svg viewBox="0 0 24 24"><path d="M12 3 L14.8 9.2 L21.5 9.3 L16 13.5 L17.9 20 L12 16.4 L6.1 20 L8 13.5 L2.5 9.3 L9.2 9.2 Z"/></svg>
</div>
</div>
</div>
<!-- Keyboard mock -->
<div class="keyboard">
<div class="kb-suggestion">Dundee</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" style="padding-left:40px;">
<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" style="padding-left:100px;">
<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"></div>
</div>
<div class="kb-row" style="justify-content: space-between; padding: 0 16px;">
<div class="key icon medium">?123</div>
<div class="key icon">,</div>
<div class="key wide"></div>
<div class="key icon">.</div>
<div class="key icon medium"></div>
</div>
</div>
</div>
</div>
</body>
</html>