AndroidCode / code /1012 /1012_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
5.32 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ASOS - Loading</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: "Helvetica Neue", Arial, sans-serif;
color: #111;
}
/* Status bar (mock) */
.statusbar {
height: 80px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #666;
font-size: 30px;
letter-spacing: 0.5px;
}
.status-right {
display: flex;
align-items: center;
gap: 18px;
}
.icon {
width: 44px;
height: 44px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.icon svg { width: 100%; height: 100%; }
/* App header */
.appbar {
height: 120px;
border-bottom: 1px solid #eee;
display: flex;
align-items: center;
padding: 0 28px;
}
.appbar .left,
.appbar .right {
display: flex;
align-items: center;
gap: 34px;
}
.appbar .title {
font-weight: 800;
font-size: 56px;
letter-spacing: 1px;
margin-left: 18px;
}
/* Sorting / Filter bar */
.filter-bar {
height: 110px;
border-bottom: 1px solid #eee;
padding: 0 34px;
display: flex;
align-items: center;
justify-content: space-between;
}
.filter-bar .option {
display: flex;
align-items: center;
gap: 16px;
font-weight: 800;
letter-spacing: 2px;
font-size: 34px;
}
.filter-bar .filter {
font-weight: 800;
letter-spacing: 2px;
font-size: 34px;
}
/* Content */
.content {
position: absolute;
left: 0; right: 0;
top: 310px; /* status + appbar + filter */
bottom: 110px;
display: flex;
align-items: center;
justify-content: center;
}
/* Center loader */
.loader {
width: 190px;
height: 190px;
position: relative;
}
.loader .ring {
width: 190px;
height: 190px;
border-radius: 50%;
/* outer gradient ring with a small break */
background: conic-gradient(#111 0 40deg, #666 40deg 180deg, #bdbdbd 180deg 335deg, #ffffff 335deg 360deg);
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 18px));
mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 18px));
display: grid;
place-items: center;
}
.loader .inner {
position: absolute;
inset: 26px;
border-radius: 50%;
background: #fff;
border: 1px solid #d9d9d9;
display: flex;
align-items: center;
justify-content: center;
font-weight: 900;
font-size: 84px;
}
/* Bottom home indicator */
.home-indicator {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 34px;
width: 420px;
height: 12px;
background: #7f7f7f;
border-radius: 8px;
opacity: 0.7;
}
/* Utility */
.muted { color: #444; }
.heart-stroke, .search-stroke, .back-stroke { stroke: #111; stroke-width: 3; fill: none; }
</style>
</head>
<body>
<div id="render-target">
<!-- Mock status bar -->
<div class="statusbar">
<div class="status-left">8:56</div>
<div class="status-right">
<span class="icon" title="Wi-Fi">
<svg viewBox="0 0 24 24"><path fill="#666" d="M12 20.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/><path fill="#666" d="M2 9.5a14 14 0 0 1 20 0l-2 2a11 11 0 0 0-16 0l-2-2zm4 4a9 9 0 0 1 12 0l-2 2a6 6 0 0 0-8 0l-2-2z"/></svg>
</span>
<span class="icon" title="Battery">
<svg viewBox="0 0 28 24">
<rect x="2" y="5" width="20" height="14" rx="2" ry="2" fill="#666"/>
<rect x="22" y="9" width="4" height="6" rx="1" fill="#666"/>
<rect x="4" y="7" width="12" height="10" fill="#fff"/>
</svg>
</span>
</div>
</div>
<!-- App header -->
<div class="appbar">
<div class="left">
<span class="icon" aria-label="Back">
<svg viewBox="0 0 24 24"><path class="back-stroke" d="M14 5l-7 7 7 7"/></svg>
</span>
<div class="title">asos</div>
</div>
<div class="right" style="margin-left:auto;">
<span class="icon" aria-label="Favorites">
<svg viewBox="0 0 24 24"><path class="heart-stroke" d="M12 20s-7-4.5-7-9a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 4.5-7 9-7 9z"/></svg>
</span>
<span class="icon" aria-label="Search">
<svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="6" class="search-stroke"/><path d="M20 20l-4.5-4.5" class="search-stroke"/></svg>
</span>
</div>
</div>
<!-- Sort/Filter bar -->
<div class="filter-bar">
<div class="option">RECOMMENDED
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M6 9l6 6 6-6" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="filter">FILTER</div>
</div>
<!-- Content with centered loader -->
<div class="content">
<div class="loader">
<div class="ring"></div>
<div class="inner">a</div>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>