AndroidCode / code /10077 /10077_14.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Distance and displacement introduction - UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff; font-family: Arial, Helvetica, sans-serif; color: #1a1a1a;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 90px; color: #fff; background: transparent;
padding: 0 30px;
display: flex; align-items: center; justify-content: space-between;
z-index: 5;
}
.status-right { display: flex; align-items: center; gap: 22px; }
/* Video area */
.video-area {
position: absolute; top: 90px; left: 0; width: 100%; height: 780px;
background: #000; color: #fff;
}
.back-btn {
position: absolute; top: 110px; left: 24px; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center;
}
.video-top-icons {
position: absolute; top: 110px; right: 24px; display: flex; gap: 34px; align-items: center;
}
.center-controls {
position: absolute; top: 300px; left: 50%; transform: translateX(-50%);
display: flex; align-items: center; gap: 140px;
}
.circle-btn {
width: 170px; height: 170px; border-radius: 50%; border: 6px solid #fff;
display: flex; align-items: center; justify-content: center;
}
.mini-circle {
width: 120px; height: 120px; border-radius: 50%; border: 5px solid #fff;
display: flex; align-items: center; justify-content: center; position: relative;
font-weight: bold; font-size: 32px;
}
.mini-circle .label10 { position: absolute; bottom: 14px; color: #fff; }
/* Progress */
.progress-row {
position: absolute; bottom: 130px; left: 40px; right: 40px;
display: grid; grid-template-columns: 150px 1fr 170px 120px 120px; align-items: center; gap: 20px;
color: #fff;
}
.time-text { font-size: 34px; }
.seek {
height: 16px; background: #666; border-radius: 10px; position: relative;
}
.seek .knob {
position: absolute; left: 20px; top: -8px; width: 32px; height: 32px; border-radius: 50%; background: #fff;
box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
}
.speed { display: flex; align-items: center; gap: 14px; justify-content: flex-end; font-size: 38px; }
/* Content area */
.content {
position: absolute; top: 870px; left: 0; right: 0; bottom: 140px;
overflow: hidden auto; background: #fff; color: #1a1a1a;
}
.title {
padding: 40px 40px 10px 40px; font-size: 58px; font-weight: 700; line-height: 1.15;
}
.subtitle {
padding: 0 40px 24px 40px; font-size: 34px; color: #444; line-height: 1.4;
}
.action-row {
display: flex; gap: 120px; padding: 26px 40px; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
}
.action-item { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #333; }
.action-item span { font-size: 30px; }
/* Up next */
.section-header {
padding: 36px 40px 20px 40px; font-size: 44px; font-weight: 700;
}
.lesson-card {
margin: 0 40px; padding: 24px; border-bottom: 1px solid #e6e6e6;
}
.label { font-size: 32px; color: #666; margin-bottom: 10px; }
.lesson-title { font-size: 40px; line-height: 1.25; }
/* List items */
.list {
margin-top: 10px;
}
.list-item {
margin: 0 40px; padding: 24px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between;
border-bottom: 1px solid #eee;
}
.list-item.active { background: #eaf1ff; }
.left-info { display: flex; align-items: center; gap: 26px; }
.small-play {
width: 80px; height: 80px; border-radius: 12px; border: 2px solid #7f9bd6; display: flex; align-items: center; justify-content: center;
background: #eef3ff;
}
.item-text { font-size: 40px; color: #1847cc; }
.item-text .sub { display: block; font-size: 40px; color: #1847cc; }
.duration { font-size: 38px; color: #333; }
.list-item .normal-text { color: #0e0e0e; }
/* Bottom nav */
.bottom-nav {
position: absolute; bottom: 0; left: 0; right: 0; height: 140px; border-top: 1px solid #ddd; background: #fff;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display: flex; align-items: center; flex-direction: column; gap: 6px; color: #666; font-size: 28px; }
.nav-item.active { color: #1847cc; font-weight: 700; }
/* Simple button hover (visual only) */
.list-item:hover { background: #f6f9ff; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div style="font-size:36px;">9:13</div>
<div class="status-right">
<!-- Wi-Fi icon -->
<svg width="44" height="44" viewBox="0 0 44 44">
<path d="M6 16c12-10 20-10 32 0" stroke="#fff" stroke-width="3" fill="none"/>
<path d="M11 22c8-7 14-7 22 0" stroke="#fff" stroke-width="3" fill="none"/>
<path d="M16 28c5-4 9-4 14 0" stroke="#fff" stroke-width="3" fill="none"/>
<circle cx="23" cy="33" r="3" fill="#fff"></circle>
</svg>
<!-- Battery icon -->
<svg width="60" height="34" viewBox="0 0 60 34">
<rect x="2" y="6" width="50" height="22" rx="4" stroke="#fff" stroke-width="3" fill="none"></rect>
<rect x="6" y="10" width="36" height="14" fill="#fff"></rect>
<rect x="54" y="12" width="4" height="10" fill="#fff"></rect>
</svg>
</div>
</div>
<!-- Back button -->
<div class="back-btn">
<svg width="64" height="64" viewBox="0 0 64 64">
<path d="M42 12 L22 32 L42 52" stroke="#fff" stroke-width="6" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<!-- Video Area -->
<div class="video-area">
<div class="video-top-icons">
<!-- Bookmark outline -->
<svg width="54" height="54" viewBox="0 0 54 54">
<path d="M15 8h24v38l-12-8-12 8V8z" stroke="#fff" stroke-width="4" fill="none"></path>
</svg>
<!-- Share icon -->
<svg width="54" height="54" viewBox="0 0 54 54">
<circle cx="13" cy="27" r="5" fill="#fff"></circle>
<circle cx="41" cy="13" r="5" fill="#fff"></circle>
<circle cx="41" cy="41" r="5" fill="#fff"></circle>
<path d="M18 27 L36 15 M18 27 L36 39" stroke="#fff" stroke-width="4" fill="none"></path>
</svg>
</div>
<!-- Central controls -->
<div class="center-controls">
<div class="mini-circle">
<!-- left rewind -->
<svg width="50" height="50" viewBox="0 0 50 50">
<path d="M32 14 L18 25 L32 36" stroke="#fff" stroke-width="5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<div class="label10">10</div>
</div>
<div class="circle-btn">
<!-- Pause bars -->
<svg width="86" height="86" viewBox="0 0 86 86">
<rect x="20" y="18" width="14" height="50" fill="#fff"></rect>
<rect x="52" y="18" width="14" height="50" fill="#fff"></rect>
</svg>
</div>
<div class="mini-circle">
<!-- right forward -->
<svg width="50" height="50" viewBox="0 0 50 50">
<path d="M18 14 L32 25 L18 36" stroke="#fff" stroke-width="5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<div class="label10">10</div>
</div>
</div>
<!-- Progress row -->
<div class="progress-row">
<div class="time-text">00:01</div>
<div class="seek">
<div class="knob"></div>
</div>
<div class="time-text" style="text-align:right;">-04:12</div>
<div class="speed">
<span></span>
</div>
<div class="speed">
<!-- expand icon -->
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M6 18 L6 6 L18 6 M42 30 L42 42 L30 42" stroke="#fff" stroke-width="4" fill="none"></path>
<path d="M18 30 L6 42 M30 18 L42 6" stroke="#fff" stroke-width="4" fill="none"></path>
</svg>
</div>
</div>
</div>
<!-- Main content -->
<div class="content">
<div class="title">Distance and displacement introduction</div>
<div class="subtitle">An introduction to the difference between distance traveled and displacement.</div>
<div class="action-row">
<div class="action-item">
<svg width="64" height="64" viewBox="0 0 64 64">
<path d="M20 10h24v42l-12-8-12 8V10z" stroke="#333" stroke-width="4" fill="none"></path>
</svg>
<span>Bookmark</span>
</div>
<div class="action-item">
<svg width="64" height="64" viewBox="0 0 64 64">
<circle cx="16" cy="32" r="6" fill="#333"></circle>
<circle cx="48" cy="16" r="6" fill="#333"></circle>
<circle cx="48" cy="48" r="6" fill="#333"></circle>
<path d="M22 32 L42 18 M22 32 L42 46" stroke="#333" stroke-width="4" fill="none"></path>
</svg>
<span>Share</span>
</div>
<div class="action-item">
<svg width="64" height="64" viewBox="0 0 64 64">
<rect x="10" y="12" width="44" height="40" rx="6" stroke="#333" stroke-width="4" fill="none"></rect>
<rect x="18" y="22" width="28" height="6" fill="#333"></rect>
<rect x="18" y="34" width="18" height="6" fill="#333"></rect>
</svg>
<span>Transcript</span>
</div>
</div>
<div class="section-header">Up next</div>
<div class="lesson-card">
<div class="label">Part of lesson</div>
<div class="lesson-title">Distance, displacement, and coordinate systems</div>
</div>
<div class="list">
<div class="list-item active">
<div class="left-info">
<div class="small-play">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M14 10 L30 20 L14 30 Z" fill="#1847cc"></path>
</svg>
</div>
<div class="item-text">
<span>Distance and displacement</span>
<span class="sub">introduction</span>
</div>
</div>
<div class="duration">04:14</div>
</div>
<div class="list-item">
<div class="left-info">
<div class="small-play" style="border-color:#bbb; background:#f8f8f8;">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M14 10 L30 20 L14 30 Z" fill="#777"></path>
</svg>
</div>
<div class="normal-text" style="font-size:40px;">Distance and displacement in one dimension</div>
</div>
<div class="duration">05:32</div>
</div>
<div class="list-item">
<div class="left-info">
<div class="small-play" style="border-color:#bbb; background:#f8f8f8;">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M14 10 L30 20 L14 30 Z" fill="#777"></path>
</svg>
</div>
<div class="normal-text" style="font-size:40px;">Position-time graphs</div>
</div>
<div class="duration">05:01</div>
</div>
</div>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<svg width="60" height="60" viewBox="0 0 60 60">
<path d="M10 28 L30 12 L50 28 V50 H35 V36 H25 V50 H10 Z" fill="#1847cc"></path>
</svg>
<div>Home</div>
</div>
<div class="nav-item">
<svg width="60" height="60" viewBox="0 0 60 60">
<circle cx="26" cy="26" r="16" stroke="#666" stroke-width="4" fill="none"></circle>
<path d="M40 40 L52 52" stroke="#666" stroke-width="4" stroke-linecap="round"></path>
</svg>
<div>Explore</div>
</div>
<div class="nav-item">
<svg width="60" height="60" viewBox="0 0 60 60">
<path d="M18 10h24v40l-12-8-12 8V10z" stroke="#666" stroke-width="4" fill="none"></path>
</svg>
<div>Bookmarks</div>
</div>
</div>
</div>
</body>
</html>