AndroidCode / code /102 /102_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
12.5 kB
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1">
<title>Chat List 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:#0c2240; color:#e8f0ff;
}
/* Status bar */
.status-bar {
height:72px;
padding:0 36px;
display:flex; align-items:center; justify-content:space-between;
color:#cfe0ff; font-weight:600; font-size:38px;
}
.status-icons { display:flex; align-items:center; gap:18px; }
.status-icons .dot { width:12px; height:12px; background:#9ec3ff; border-radius:50%; opacity:.9; }
.status-icons svg { width:36px; height:36px; fill:#9ec3ff; }
/* Header area */
.header {
padding:24px 36px 24px 36px;
background:#0d2a56;
box-shadow: inset 0 -1px 0 rgba(255,255,255,0.07);
}
.profile-row { display:flex; align-items:center; justify-content:space-between; }
.profile-left { display:flex; align-items:center; gap:24px; }
.avatar {
width:120px; height:120px; border-radius:60px; background:#315a9b;
display:flex; align-items:center; justify-content:center; font-weight:800; font-size:40px; position:relative;
box-shadow: inset 0 0 0 3px rgba(255,255,255,0.08);
}
.presence-dot {
position:absolute; right:6px; bottom:6px; width:26px; height:26px; border-radius:50%;
background:#33d17a; border:4px solid #0d2a56;
}
.name { font-size:44px; font-weight:700; }
.sub { font-size:30px; color:#a8c3e8; margin-top:6px; }
.profile-right { display:flex; align-items:center; gap:28px; }
.circle-btn { width:72px; height:72px; border-radius:36px; background:#143a72; display:flex; align-items:center; justify-content:center; }
.circle-btn svg { width:40px; height:40px; fill:#cfe0ff; }
/* Search */
.search {
margin-top:24px; background:#0a1e3b; border-radius:16px; height:96px; display:flex; align-items:center; gap:20px; padding:0 28px;
}
.search svg { width:40px; height:40px; fill:#a8c3e8; }
.search span { color:#a8c3e8; font-size:34px; }
/* Content area dark */
.content {
background:#0a1220;
height:1990px;
border-top-left-radius:24px; border-top-right-radius:24px;
padding:24px 24px 220px 24px;
}
/* Banner */
.banner {
background:#0d1a2e; border:1px solid #203453; color:#d7e8ff;
border-radius:14px; padding:24px; margin-bottom:14px;
}
.banner-title { font-weight:800; font-size:40px; }
.banner-sub { font-size:28px; color:#a8c3e8; margin-top:8px; }
.banner-close { position:absolute; right:24px; top:24px; }
.meeting-row { display:flex; align-items:center; gap:18px; margin-top:8px; }
.meeting-row svg { width:40px; height:40px; fill:#9ec3ff; }
/* Chat list */
.chat-item { display:flex; align-items:flex-start; gap:26px; padding:28px 10px; border-bottom:1px solid rgba(255,255,255,0.06); }
.chat-avatar {
width:120px; height:120px; border-radius:60px; overflow:hidden;
background:#E0E0E0; border:1px solid #BDBDBD; color:#757575; display:flex; align-items:center; justify-content:center; font-size:26px; text-align:center;
position:relative;
}
.small-overlay {
position:absolute; right:6px; bottom:6px; width:28px; height:28px; border-radius:14px; background:#f3a23a; border:4px solid #0a1220;
}
.chat-body { flex:1; }
.chat-top { display:flex; align-items:center; gap:12px; justify-content:space-between; }
.chat-name { font-size:40px; font-weight:800; color:#e8f0ff; }
.chat-time { color:#a8c3e8; font-size:28px; }
.badge { min-width:46px; height:46px; border-radius:23px; background:#1e78ff; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:28px; }
.subtext { margin-top:8px; color:#b7c8e8; font-size:32px; }
.verified {
display:inline-flex; align-items:center; gap:8px; margin-left:8px;
color:#99c9ff; font-size:28px;
}
.verified svg { width:28px; height:28px; fill:#4ea1ff; }
.pill {
display:inline-flex; align-items:center; justify-content:center;
padding:18px 28px; border-radius:28px; border:1px solid #2e4f80; color:#b7d3ff; font-size:30px;
margin:12px 0 0 144px; width:auto; background:#0c1c34;
}
/* Floating compose */
.fab {
position:absolute; right:36px; bottom:250px; width:150px; height:150px; border-radius:75px;
background:#1e78ff; box-shadow:0 8px 20px rgba(0,0,0,0.4);
display:flex; align-items:center; justify-content:center;
}
.fab svg { width:64px; height:64px; fill:#fff; }
/* Bottom nav */
.bottom-bar {
position:absolute; left:0; bottom:0; width:100%; height:180px; background:#0b172b; border-top:1px solid rgba(255,255,255,0.08);
display:flex; align-items:center; justify-content:space-around;
}
.nav-item { color:#cfe0ff; font-size:32px; display:flex; flex-direction:column; align-items:center; gap:18px; position:relative; }
.nav-item svg { width:64px; height:64px; fill:#cfe0ff; }
.nav-item.active svg { fill:#1e78ff; }
.badge-small {
position:absolute; left:70px; top:12px; min-width:44px; height:44px; border-radius:22px; background:#ff5050;
display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:26px;
border:2px solid #0b172b;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>7:47</div>
<div class="status-icons">
<div class="dot"></div>
<svg viewBox="0 0 24 24"><path d="M3 10h18v4H3z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2l5 5h-4v10h-2V7H7l5-5z"/></svg>
<svg viewBox="0 0 24 24"><path d="M18 8a6 6 0 11-12 0 6 6 0 0112 0z"/></svg>
<div style="font-size:34px; color:#cfe0ff;">95%</div>
</div>
</div>
<!-- Header with profile and search -->
<div class="header">
<div class="profile-row">
<div class="profile-left">
<div class="avatar">RW<div class="presence-dot"></div></div>
<div>
<div class="name">Richard Wagner</div>
<div class="sub">Share what you're up to</div>
</div>
</div>
<div class="profile-right">
<div class="circle-btn">
<svg viewBox="0 0 24 24"><path d="M4 5h16v2H4zm0 6h16v2H4zm0 6h10v2H4z"/></svg>
</div>
<div class="circle-btn">
<svg viewBox="0 0 24 24"><path d="M12 22a2 2 0 002-2H10a2 2 0 002 2zm6-6V9a6 6 0 10-12 0v7l-2 2v1h16v-1l-2-2z"/></svg>
</div>
</div>
</div>
<div class="search">
<svg viewBox="0 0 24 24"><path d="M10 2a8 8 0 105.3 14.1l4.6 4.6 1.4-1.4-4.6-4.6A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z"/></svg>
<span>Search</span>
</div>
</div>
<!-- Content area -->
<div class="content">
<!-- Easy meetings banner -->
<div class="banner">
<div class="banner-title">Easy meetings with anyone</div>
<div class="banner-sub">Tap here to start a video meeting</div>
<div class="meeting-row">
<svg viewBox="0 0 24 24"><path d="M3 6h12a2 2 0 012 2v8a2 2 0 01-2 2H3V6zm18 3l-4 3v-6l4 3z"/></svg>
<span style="color:#a8c3e8; font-size:28px;">Video meeting</span>
</div>
</div>
<!-- Chat: Bing -->
<div class="chat-item">
<div class="chat-avatar">
[IMG: Bing Logo]
</div>
<div class="chat-body">
<div class="chat-top">
<div style="display:flex; align-items:center; gap:10px;">
<div class="chat-name">Bing</div>
<span class="verified">
<svg viewBox="0 0 24 24"><path d="M12 2l10 5-10 15L2 7l10-5zm-1 12l5-5-1.4-1.4L11 10.2 9.4 8.6 8 10l3 4z"/></svg>
</span>
</div>
<div class="chat-time">12/12/2023</div>
</div>
<div class="subtext">Hey, this is Bing! How can I help y…</div>
</div>
<div class="badge">1</div>
</div>
<div class="pill">Compose a new national anthem</div>
<!-- Chat: Richard Wagner (You) -->
<div class="chat-item">
<div class="chat-avatar">[IMG: User Avatar]</div>
<div class="chat-body">
<div class="chat-top">
<div style="display:flex; align-items:center; gap:10px;">
<div class="chat-name">Richard Wagner (You)</div>
<span class="verified">
<svg viewBox="0 0 24 24"><path d="M12 2l10 5-10 15L2 7l10-5zm-1 12l5-5-1.4-1.4L11 10.2 9.4 8.6 8 10l3 4z"/></svg>
</span>
</div>
<svg viewBox="0 0 24 24" style="width:36px;height:36px;fill:#99c9ff;"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>
</div>
<div class="subtext"></div>
</div>
</div>
<!-- Chat: Natalie Larson -->
<div class="chat-item">
<div class="chat-avatar">
[IMG: Floral Avatar]
<div class="small-overlay"></div>
</div>
<div class="chat-body">
<div class="chat-top">
<div class="chat-name">Natalie Larson</div>
<div class="chat-time">7:42 AM</div>
</div>
<div class="subtext">Hi Natalie</div>
</div>
</div>
<!-- Chat: sandra Abraham -->
<div class="chat-item">
<div class="chat-avatar">[IMG: Initials SA]</div>
<div class="chat-body">
<div class="chat-top">
<div class="chat-name">sandra Abraham</div>
<div class="chat-time">Fri</div>
</div>
<div class="subtext">Translated Conversation requested</div>
</div>
</div>
<!-- Chat: Hilary May Konadu -->
<div class="chat-item">
<div class="chat-avatar">[IMG: User Avatar]</div>
<div class="chat-body">
<div class="chat-top">
<div class="chat-name">Hilary May Konadu</div>
<div class="chat-time">12/15/2023</div>
</div>
<div class="subtext">Translated Conversation requested</div>
</div>
<div class="badge">1</div>
</div>
<!-- Chat: Friends group -->
<div class="chat-item">
<div class="chat-avatar" style="background:#d9c9ff; color:#6a49b8;">FR
<div style="position:absolute; right:-6px; bottom:-6px; width:54px; height:54px; border-radius:27px; background:#E0E0E0; border:1px solid #BDBDBD; color:#757575; display:flex; align-items:center; justify-content:center; font-size:20px;">[IMG]</div>
</div>
<div class="chat-body">
<div class="chat-top">
<div class="chat-name">Friends</div>
<div class="chat-time">12/13/2023</div>
</div>
<div class="subtext">Amelia miller has made the chat hist…</div>
</div>
</div>
<!-- Chat: Amelia miller -->
<div class="chat-item">
<div class="chat-avatar">
[IMG: Plant Avatar]
<div class="small-overlay"></div>
</div>
<div class="chat-body">
<div class="chat-top">
<div class="chat-name">Amelia miller</div>
<div class="chat-time">12/13/2023</div>
</div>
<div class="subtext">↪ quoted message</div>
</div>
</div>
</div>
<!-- Floating compose button -->
<div class="fab">
<svg viewBox="0 0 24 24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 000-1.41l-2.34-2.34a1 1 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>
</div>
<!-- Bottom navigation -->
<div class="bottom-bar">
<div class="nav-item active">
<svg viewBox="0 0 24 24"><path d="M3 11l9-8 9 8v10H3V11zm9-5l7 6v7H4v-7l8-6z"/></svg>
<div>Chats</div>
<div class="badge-small">2</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.06-.24 11.36 11.36 0 003.58.57 1 1 0 011 1V21a1 1 0 01-1 1A17 17 0 013 5a1 1 0 011-1h3.49a1 1 0 011 1 11.36 11.36 0 00.57 3.58 1 1 0 01-.24 1.06l-2.2 2.15z"/></svg>
<div>Calls</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z"/></svg>
<div>Phone</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M3 5h18v14H3zM5 7v10h14V7H5z"/></svg>
<div>Contacts</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm1 5v6h5v-2h-3V7h-2z"/></svg>
<div>Today</div>
</div>
</div>
</div>
</body>
</html>