AndroidCode / code /10154 /10154_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
6.77 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Mobile UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #111111;
font-family: Arial, Helvetica, sans-serif;
color: #ffffff;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #111111;
color: #eaeaea;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-size: 40px;
letter-spacing: 0.5px;
}
.status-left { display: flex; align-items: center; gap: 22px; }
.status-right {
margin-left: auto;
display: flex; align-items: center; gap: 18px;
font-size: 36px;
color: #d9d9d9;
}
.mini-icon {
width: 44px; height: 44px; border-radius: 8px;
background: #2a2a2a;
}
/* App bar */
.app-bar {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 170px;
background: #1a1a1a;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 32px;
border-bottom: 1px solid #232323;
}
.app-title {
font-size: 64px;
font-weight: 600;
margin-left: 22px;
}
.app-actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 36px;
}
.icon-btn {
width: 86px; height: 86px;
display: flex; align-items: center; justify-content: center;
border-radius: 18px;
}
.accent { color: #3b6eff; }
.icon-square {
width: 86px; height: 86px; border-radius: 18px;
background: #2c4dbf;
display: flex; align-items: center; justify-content: center;
}
/* List */
.content {
position: absolute;
top: 290px;
left: 0;
width: 1080px;
bottom: 120px;
overflow: hidden;
background: #111111;
}
.list {
padding: 24px 24px 0 24px;
box-sizing: border-box;
}
.item {
display: flex;
align-items: center;
height: 170px;
border-bottom: 1px solid #1f1f1f;
padding: 0 16px;
box-sizing: border-box;
}
.item .thumb {
width: 90px; height: 90px;
margin-right: 30px;
display: flex; align-items: center; justify-content: center;
border-radius: 8px;
background: #2a2a2a;
border: 1px solid #3a3a3a;
color: #bdbdbd;
font-size: 24px;
text-align: center;
padding: 4px;
}
.item .info {
flex: 1;
min-width: 0;
}
.item .title {
font-size: 48px;
color: #f3f3f3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item .sub {
margin-top: 10px;
font-size: 34px;
color: #9e9e9e;
}
.checkbox {
width: 86px; height: 86px; border-radius: 10px;
border: 3px solid #6f6f6f;
display: flex; align-items: center; justify-content: center;
margin-left: 18px;
}
.checkbox.selected {
background: #2c4dbf;
border-color: #2c4dbf;
}
/* Bottom gesture bar */
.home-indicator {
position: absolute;
bottom: 32px;
left: 50%;
transform: translateX(-50%);
width: 380px;
height: 16px;
background: #ffffff;
border-radius: 8px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div>8:50</div>
<div class="mini-icon"></div>
<div class="mini-icon"></div>
<div class="mini-icon"></div>
</div>
<div class="status-right">
<!-- Simple signal icon -->
<svg width="44" height="44" viewBox="0 0 24 24" fill="#d9d9d9">
<rect x="2" y="15" width="3" height="7"></rect>
<rect x="7" y="12" width="3" height="10"></rect>
<rect x="12" y="9" width="3" height="13"></rect>
<rect x="17" y="6" width="3" height="16"></rect>
</svg>
<!-- Battery icon -->
<svg width="60" height="44" viewBox="0 0 30 18">
<rect x="1" y="2" width="24" height="14" rx="3" ry="3" fill="none" stroke="#d9d9d9" stroke-width="2"/>
<rect x="26" y="6" width="3" height="6" fill="#d9d9d9"/>
<rect x="3" y="4" width="18" height="10" fill="#d9d9d9"/>
</svg>
<div>75%</div>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<!-- Back Arrow -->
<div class="icon-btn">
<svg width="72" height="72" viewBox="0 0 24 24" class="accent">
<path d="M15 19l-7-7 7-7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="app-title">1 selected</div>
<div class="app-actions">
<!-- Blue square with minus -->
<div class="icon-square">
<svg width="46" height="46" viewBox="0 0 24 24">
<rect x="4" y="11" width="16" height="2" fill="#ffffff"/>
</svg>
</div>
<!-- Cloud upload -->
<div class="icon-btn">
<svg width="72" height="72" viewBox="0 0 24 24" class="accent">
<path d="M6 16a4 4 0 1 1 1.1-7.9A6 6 0 0 1 19 9a4 4 0 0 1 1 7.9H6z" fill="none" stroke="currentColor" stroke-width="2"/>
<path d="M12 14V7M9.5 9.5 12 7l2.5 2.5" fill="none" stroke="#3b6eff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- More (kebab) -->
<div class="icon-btn">
<svg width="72" height="72" viewBox="0 0 24 24" class="accent">
<circle cx="12" cy="5" r="2" fill="currentColor"/>
<circle cx="12" cy="12" r="2" fill="currentColor"/>
<circle cx="12" cy="19" r="2" fill="currentColor"/>
</svg>
</div>
</div>
</div>
<!-- Content List -->
<div class="content">
<div class="list">
<!-- Folder item -->
<div class="item">
<div class="thumb">
[IMG: Folder]
</div>
<div class="info">
<div class="title">Favourite Book</div>
</div>
<div class="checkbox"></div>
</div>
<!-- PDF item -->
<div class="item">
<div class="thumb">
[IMG: PDF Page Thumbnail]
</div>
<div class="info">
<div class="title">the-diary-of-anne-frank-1.pdf</div>
<div class="sub">702 KB, modified 1 hour ago</div>
</div>
<div class="checkbox selected">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M5 12l4 4 10-10" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Bottom home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>