AndroidCode / code /10166 /10166_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
9.21 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Journal 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:#ffffff; border-radius:0; box-shadow:none;
}
/* Status bar */
.status-bar {
position:absolute; top:20px; left:30px; right:30px; height:60px;
display:flex; align-items:center; justify-content:space-between; color:#333;
font-size:32px;
}
.status-left { display:flex; align-items:center; gap:18px; }
.status-right { display:flex; align-items:center; gap:20px; }
.icon { width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; }
.icon svg { width:100%; height:100%; }
/* Header area */
.top-actions {
position:absolute; top:160px; right:40px; display:flex; align-items:center; gap:26px;
}
.circle-btn {
width:88px; height:88px; border-radius:50%; background:#f1f3f4; display:flex; align-items:center; justify-content:center;
}
.avatar {
width:88px; height:88px; border-radius:50%; background:#cfd8dc; color:#37474f; font-weight:bold; font-size:40px;
display:flex; align-items:center; justify-content:center;
}
.title {
position:absolute; top:240px; left:60px; font-size:112px; font-weight:500; color:#202124;
}
/* Today row */
.today-row {
position:absolute; top:420px; left:60px; right:60px; display:flex; align-items:center; justify-content:space-between;
border-bottom:1px solid #e0e0e0; padding-bottom:24px;
}
.today-left { display:flex; align-items:center; gap:30px; }
.today-label { font-size:44px; color:#202124; }
.metrics { display:flex; align-items:center; gap:34px; color:#5f6368; font-size:34px; }
.metrics .blue { color:#1a73e8; }
.metrics .green { color:#14a37f; }
.ring {
width:60px; height:60px; border-radius:50%;
display:flex; align-items:center; justify-content:center;
}
/* List items */
.list { position:absolute; top:520px; left:60px; right:60px; }
.entry {
display:flex; justify-content:space-between; align-items:center; padding:38px 0; border-bottom:1px solid #eeeeee;
}
.entry:last-child { border-bottom:none; }
.entry .left { display:flex; flex-direction:column; gap:16px; }
.time-row { display:flex; align-items:center; gap:16px; color:#5f6368; font-size:32px; }
.entry-title { font-size:48px; color:#202124; }
.sub { font-size:34px; color:#5f6368; }
.entry .right .big-circle {
width:132px; height:132px; border-radius:50%; background:#e8f0fe; display:flex; align-items:center; justify-content:center;
}
/* Bottom FAB */
.fab {
position:absolute; bottom:240px; right:60px; width:128px; height:128px; border-radius:50%;
background:#ffffff; box-shadow:0 8px 18px rgba(0,0,0,0.16); display:flex; align-items:center; justify-content:center;
}
/* Bottom nav */
.bottom-nav {
position:absolute; bottom:76px; left:0; right:0; height:160px; background:#ffffff; border-top:1px solid #e0e0e0;
display:flex; align-items:center; justify-content:space-around;
}
.nav-item { display:flex; flex-direction:column; align-items:center; gap:12px; color:#5f6368; font-size:28px; }
.nav-item.active { color:#1a73e8; font-weight:600; }
.nav-icon { width:56px; height:56px; }
/* Home indicator */
.home-indicator {
position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
width:400px; height:12px; background:#9e9e9e; border-radius:6px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>1:12</div>
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M6 15c0-3 2.5-5.5 5.5-5.5 1.1 0 2.1.3 3 .9C15 8 16.7 7 18.5 7 21 7 23 9 23 11.5S21 16 18.5 16H7.5C6.7 16 6 15.6 6 15z" fill="#9e9e9e"/></svg>
</div>
</div>
<div class="status-right">
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M2 18h20l-2.5-6.5c-.3-.8-1-1.5-1.9-1.5H6.4c-.9 0-1.7.6-2 1.5L2 18z" fill="#757575"/></svg>
</div>
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M16 4v16h-2V4h2zm4 6v6h-2v-6h2zM8 10v10H6V10h2zM4 14v6H2v-6h2z" fill="#757575"/></svg>
</div>
</div>
</div>
<!-- Top actions -->
<div class="top-actions">
<div class="circle-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v4l3-3M12 19v-4l-3 3M5 12h4l-3-3M19 12h-4l3 3" stroke="#5f6368" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="avatar">C</div>
</div>
<!-- Title -->
<div class="title">Journal</div>
<!-- Today row -->
<div class="today-row">
<div class="today-left">
<div class="today-label">Today</div>
<div class="metrics">
<span class="blue">
<svg class="icon" viewBox="0 0 24 24">
<path d="M6 18c1.2-2.8 3.2-4.5 6-5.1 1.6-.4 2.7-1.4 3.2-3 .3-1.1-.4-2.2-1.5-2.5-1.5-.4-2.9.6-3.3 2.1l-.5 1.7-2.5.8C5.7 12.5 4.5 14.3 4 16l2 .1z" fill="#1a73e8"/>
</svg>
8,066 steps
</span>
<span class="green">
<svg class="icon" viewBox="0 0 24 24">
<path d="M12.1 21s-7.1-4.9-7.1-9.4C5 8.4 7.3 6 10.1 6c1.3 0 2.6.6 3.4 1.6C14.3 6.6 15.6 6 16.9 6c2.8 0 5.1 2.4 5.1 5.6 0 4.5-7.1 9.4-7.1 9.4-.6.4-1.2.4-1.8 0z" fill="#14a37f"/>
</svg>
117 pts
</span>
</div>
</div>
<div class="ring">
<svg viewBox="0 0 48 48">
<circle cx="24" cy="24" r="20" stroke="#e0e0e0" stroke-width="6" fill="none"/>
<path d="M24 4a20 20 0 1 1 0 40" stroke="#1a73e8" stroke-width="6" fill="none" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Entries list -->
<div class="list">
<!-- Entry 1 -->
<div class="entry">
<div class="left">
<div class="time-row">
<svg class="icon" viewBox="0 0 24 24">
<path d="M6 19l3-5 2 2 3-6 4 3" stroke="#757575" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>11:01 AM</span>
</div>
<div class="entry-title">Lunch dance</div>
<div class="sub">2h 11m • <span style="color:#14a37f;">117 pts</span></div>
</div>
<div class="right">
<div class="big-circle">
<svg viewBox="0 0 24 24" width="80" height="80">
<path d="M8 5c1 0 2 .8 2 1.8S9 9 8 9s-2-.8-2-1.8S7 5 8 5zm6 2l-2 3 2 1-3 4-2-1 1-3-3-1 1-2 3 1 1-2 2 0z" fill="#1a73e8"/>
</svg>
</div>
</div>
</div>
<!-- Entry 2 -->
<div class="entry">
<div class="left">
<div class="time-row">
<svg class="icon" viewBox="0 0 24 24">
<path d="M6 19l3-5 2 2 3-6 4 3" stroke="#757575" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>10:00 AM</span>
</div>
<div class="entry-title">Dancing</div>
<div class="sub">1h 1m</div>
</div>
<div class="right">
<div class="big-circle">
<svg viewBox="0 0 24 24" width="80" height="80">
<path d="M8 5c1 0 2 .8 2 1.8S9 9 8 9s-2-.8-2-1.8S7 5 8 5zm6 2l-2 3 2 1-3 4-2-1 1-3-3-1 1-2 3 1 1-2 2 0z" fill="#1a73e8"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Floating action button -->
<div class="fab">
<svg viewBox="0 0 100 100" width="64" height="64">
<rect x="46" y="18" width="8" height="64" fill="#34a853"/>
<rect x="18" y="46" width="64" height="8" fill="#4285f4"/>
<rect x="46" y="18" width="8" height="24" fill="#ea4335"/>
<rect x="70" y="46" width="12" height="8" fill="#fbbc05"/>
</svg>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#5f6368" stroke-width="2" fill="none"/>
<path d="M12 7v6l4 2" stroke="#5f6368" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="nav-item active">
<svg class="nav-icon" viewBox="0 0 24 24">
<rect x="6" y="4" width="12" height="16" rx="2" ry="2" fill="#1a73e8"/>
<line x1="9" y1="8" x2="15" y2="8" stroke="#ffffff" stroke-width="2"/>
<line x1="9" y1="12" x2="15" y2="12" stroke="#ffffff" stroke-width="2"/>
<line x1="9" y1="16" x2="15" y2="16" stroke="#ffffff" stroke-width="2"/>
</svg>
<div>Journal</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M4 6h16M4 12h16M4 18h12" stroke="#5f6368" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="#5f6368"/>
<path d="M4 20c1.5-4 6-6 8-6s6.5 2 8 6" fill="none" stroke="#5f6368" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>