优化登录页
This commit is contained in:
313
src/views/hosts/test.html
Normal file
313
src/views/hosts/test.html
Normal file
@@ -0,0 +1,313 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh-CN">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
||||||
|
<title>Yolo Assistant - Data Console</title>
|
||||||
|
<link href="https://fonts.googleapis.com" rel="preconnect" />
|
||||||
|
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect" />
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"
|
||||||
|
rel="stylesheet" />
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap"
|
||||||
|
rel="stylesheet" />
|
||||||
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||||
|
<script>
|
||||||
|
tailwind.config = {
|
||||||
|
theme: {
|
||||||
|
extend: {
|
||||||
|
colors: {
|
||||||
|
primary: "#0052CC",
|
||||||
|
"cyber-blue": "#00D2FF",
|
||||||
|
"cyber-blue-dark": "#0052CC",
|
||||||
|
"tech-gray-50": "#F8FAFC",
|
||||||
|
"tech-gray-100": "#F1F5F9",
|
||||||
|
"tech-gray-200": "#E2E8F0",
|
||||||
|
},
|
||||||
|
fontFamily: {
|
||||||
|
display: ["Inter", "system-ui", "sans-serif"],
|
||||||
|
},
|
||||||
|
borderRadius: {
|
||||||
|
DEFAULT: "12px",
|
||||||
|
'xl': '20px',
|
||||||
|
'2xl': '24px',
|
||||||
|
'3xl': '32px',
|
||||||
|
},
|
||||||
|
boxShadow: {
|
||||||
|
'soft-inner': 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.03)',
|
||||||
|
'cyber-glow': '0 0 20px rgba(0, 210, 255, 0.3)',
|
||||||
|
'premium': '0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04)',
|
||||||
|
'glass': '0 8px 32px 0 rgba(31, 38, 135, 0.07)',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style type="text/tailwindcss">
|
||||||
|
:root {
|
||||||
|
--primary-color: #0052CC;
|
||||||
|
--cyber-gradient: linear-gradient(135deg, #00D2FF 0%, #0052CC 100%);
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
font-family: 'Inter', sans-serif;
|
||||||
|
background: radial-gradient(circle at top right, #f8fafc, #eff6ff);
|
||||||
|
}
|
||||||
|
.cyber-button {
|
||||||
|
background: var(--cyber-gradient);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
.cyber-button:hover {
|
||||||
|
filter: brightness(1.1);
|
||||||
|
box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
|
||||||
|
}
|
||||||
|
.ghost-button {
|
||||||
|
border: 1px solid #E2E8F0;
|
||||||
|
background: white;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
.ghost-button:hover {
|
||||||
|
background: #F8FAFC;
|
||||||
|
border-color: #CBD5E1;
|
||||||
|
transform: translateY(-1px);
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar { width: 6px; }
|
||||||
|
::-webkit-scrollbar-track { background: transparent; }
|
||||||
|
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
|
||||||
|
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }
|
||||||
|
.input-tech {
|
||||||
|
@apply bg-white border border-tech-gray-200/60 rounded-xl px-4 py-2.5 text-sm transition-all focus:ring-2 focus:ring-primary/10 focus:border-primary/30 outline-none shadow-soft-inner;
|
||||||
|
}
|
||||||
|
.glass-header {
|
||||||
|
background: rgba(255, 255, 255, 0.7);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
-webkit-backdrop-filter: blur(10px);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.8);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="font-display text-slate-900 antialiased min-h-screen">
|
||||||
|
<div class="max-w-[1440px] mx-auto px-6 py-8">
|
||||||
|
<div class="flex items-center justify-between mb-8">
|
||||||
|
<div class="flex items-center gap-3">
|
||||||
|
<div
|
||||||
|
class="w-10 h-10 bg-primary rounded-xl flex items-center justify-center text-white font-bold text-xl shadow-lg shadow-primary/20">
|
||||||
|
y</div>
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<span class="text-xl font-bold tracking-tight text-slate-900 leading-none">yolo</span>
|
||||||
|
<span class="text-[10px] font-semibold tracking-widest text-primary uppercase">Assistant</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="flex items-center gap-6 text-xs font-medium bg-white/50 px-4 py-2 rounded-full border border-white/50 shadow-sm">
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
<span class="text-slate-400">当前网络:</span>
|
||||||
|
<span class="text-primary bg-blue-50 px-2 py-0.5 rounded-full">日本 (Japan)</span>
|
||||||
|
</div>
|
||||||
|
<div class="h-3 w-px bg-slate-200"></div>
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
<span class="text-slate-400">运行时间:</span>
|
||||||
|
<span class="text-slate-700 font-mono">00:00:00</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<main class="space-y-6">
|
||||||
|
<div class="glass-header rounded-3xl p-8 shadow-glass">
|
||||||
|
<div class="grid grid-cols-1 lg:grid-cols-12 gap-8 items-end">
|
||||||
|
<div class="lg:col-span-8 grid grid-cols-1 md:grid-cols-12 gap-6">
|
||||||
|
<div class="md:col-span-3 flex items-center h-full">
|
||||||
|
<label class="flex items-center gap-3 cursor-pointer group">
|
||||||
|
<div class="relative">
|
||||||
|
<input class="peer hidden" type="checkbox" />
|
||||||
|
<div
|
||||||
|
class="w-5 h-5 border-2 border-slate-200 rounded-lg peer-checked:bg-primary peer-checked:border-primary transition-all">
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
class="material-symbols-outlined absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-white text-sm opacity-0 peer-checked:opacity-100">check</span>
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
class="text-sm font-semibold text-slate-600 group-hover:text-primary transition-colors">过滤隐私用户</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="md:col-span-4 space-y-2">
|
||||||
|
<label
|
||||||
|
class="text-[11px] font-bold text-slate-400 uppercase tracking-wider flex items-center gap-2 px-1">
|
||||||
|
<span class="material-symbols-outlined text-xs">payments</span> 金币范围
|
||||||
|
</label>
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
<input class="input-tech w-full" placeholder="最小金币" type="text" />
|
||||||
|
<span class="text-slate-300">/</span>
|
||||||
|
<input class="input-tech w-full" placeholder="最大金币" type="text" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="md:col-span-5 space-y-2">
|
||||||
|
<label
|
||||||
|
class="text-[11px] font-bold text-slate-400 uppercase tracking-wider flex items-center gap-2 px-1">
|
||||||
|
<span class="material-symbols-outlined text-xs">trending_up</span> 等级范围
|
||||||
|
</label>
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
<input class="input-tech w-full" placeholder="最小等级" type="text" />
|
||||||
|
<span class="text-slate-300">/</span>
|
||||||
|
<input class="input-tech w-full" placeholder="最大等级" type="text" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="lg:col-span-4 flex gap-3">
|
||||||
|
<button
|
||||||
|
class="cyber-button flex-[2] text-white px-4 py-3 rounded-2xl font-bold text-sm flex items-center justify-center gap-2 shadow-lg shadow-blue-500/20">
|
||||||
|
<span class="material-symbols-outlined text-lg">person_pin_circle</span>
|
||||||
|
选择直播间
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
class="cyber-button flex-1 py-3 rounded-2xl text-white text-sm font-bold shadow-cyber-glow">
|
||||||
|
开始执行
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-wrap items-center gap-4 mt-8 pt-8 border-t border-slate-200/50">
|
||||||
|
<div class="flex-1 min-w-[300px] flex items-center gap-4">
|
||||||
|
<div class="relative w-48">
|
||||||
|
<select class="input-tech w-full appearance-none pr-10 bg-slate-50/50">
|
||||||
|
<option>全部国家</option>
|
||||||
|
<option>美国</option>
|
||||||
|
<option>日本</option>
|
||||||
|
</select>
|
||||||
|
<span
|
||||||
|
class="material-symbols-outlined absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 pointer-events-none">expand_more</span>
|
||||||
|
</div>
|
||||||
|
<div class="relative flex-1">
|
||||||
|
<span
|
||||||
|
class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 text-lg">alternate_email</span>
|
||||||
|
<input class="input-tech w-full pl-10" placeholder="请输入大哥 ID..." type="text" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
<button
|
||||||
|
class="ghost-button px-6 py-2.5 rounded-xl text-sm font-semibold text-slate-600 flex items-center gap-2">
|
||||||
|
<span class="material-symbols-outlined text-xl">search</span>查询
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
class="ghost-button px-6 py-2.5 rounded-xl text-sm font-semibold text-slate-600 flex items-center gap-2">
|
||||||
|
<span class="material-symbols-outlined text-xl">restart_alt</span>重置
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
class="ghost-button px-6 py-2.5 rounded-xl text-sm font-semibold text-slate-600 flex items-center gap-2">
|
||||||
|
<span class="material-symbols-outlined text-xl">file_download</span>导出Excel
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
class="ghost-button px-6 py-2.5 rounded-xl text-sm font-semibold text-slate-600 flex items-center gap-2">
|
||||||
|
<span class="material-symbols-outlined text-xl">tune</span>更多筛选
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="bg-white rounded-3xl shadow-premium border border-white flex flex-col min-h-[500px] overflow-hidden">
|
||||||
|
<div class="flex-1 p-8">
|
||||||
|
<div class="w-full overflow-x-auto">
|
||||||
|
<table class="w-full text-left border-separate border-spacing-y-0">
|
||||||
|
<thead>
|
||||||
|
<tr class="text-slate-400 text-[11px] font-bold uppercase tracking-widest">
|
||||||
|
<th class="pb-6 px-4 border-b border-slate-100 font-bold">ID</th>
|
||||||
|
<th class="pb-6 px-4 border-b border-slate-100 font-bold">所在直播间</th>
|
||||||
|
<th class="pb-6 px-4 border-b border-slate-100 font-bold">用户ID</th>
|
||||||
|
<th class="pb-6 px-4 border-b border-slate-100 font-bold">等级</th>
|
||||||
|
<th class="pb-6 px-4 border-b border-slate-100 font-bold">打赏金币</th>
|
||||||
|
<th class="pb-6 px-4 border-b border-slate-100 font-bold">地区</th>
|
||||||
|
<th class="pb-6 px-4 border-b border-slate-100 font-bold">粉丝数</th>
|
||||||
|
<th class="pb-6 px-4 border-b border-slate-100 font-bold text-right">创建时间</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr class="group hover:bg-slate-50 transition-colors">
|
||||||
|
<td class="py-5 px-4 text-sm text-slate-500">1</td>
|
||||||
|
<td
|
||||||
|
class="py-5 px-4 text-sm font-semibold text-primary underline decoration-primary/20 underline-offset-4 cursor-pointer">
|
||||||
|
toxi_robert</td>
|
||||||
|
<td class="py-5 px-4 text-sm font-mono text-slate-600">706350628...</td>
|
||||||
|
<td class="py-5 px-4">
|
||||||
|
<span
|
||||||
|
class="px-2 py-1 bg-amber-50 text-amber-600 text-[10px] font-bold rounded-lg border border-amber-100">LV
|
||||||
|
29</span>
|
||||||
|
</td>
|
||||||
|
<td class="py-5 px-4 text-sm font-bold text-slate-700">37,420</td>
|
||||||
|
<td class="py-5 px-4 text-sm text-slate-600">意大利</td>
|
||||||
|
<td class="py-5 px-4 text-sm text-slate-500">562</td>
|
||||||
|
<td class="py-5 px-4 text-sm text-slate-400 font-mono text-right">2026-01-16
|
||||||
|
15:15:07</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="hidden">
|
||||||
|
<td class="py-32" colspan="8">
|
||||||
|
<div class="flex flex-col items-center justify-center">
|
||||||
|
<div
|
||||||
|
class="w-16 h-16 bg-slate-50 rounded-full flex items-center justify-center mb-4">
|
||||||
|
<span
|
||||||
|
class="material-symbols-outlined text-3xl text-slate-300">database_off</span>
|
||||||
|
</div>
|
||||||
|
<p class="text-slate-400 text-sm">暂无匹配数据</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<footer
|
||||||
|
class="px-8 py-6 bg-slate-50/50 border-t border-slate-100 flex flex-wrap items-center justify-between gap-6">
|
||||||
|
<div class="flex items-center gap-6">
|
||||||
|
<div class="relative">
|
||||||
|
<select
|
||||||
|
class="bg-white border border-slate-200 rounded-xl py-2 pl-4 pr-10 text-xs font-bold text-slate-600 appearance-none focus:ring-2 focus:ring-primary/10 cursor-pointer">
|
||||||
|
<option>10条/页</option>
|
||||||
|
<option>20条/页</option>
|
||||||
|
<option>50条/页</option>
|
||||||
|
</select>
|
||||||
|
<span
|
||||||
|
class="material-symbols-outlined absolute right-3 top-1/2 -translate-y-1/2 text-slate-400 text-lg pointer-events-none">expand_more</span>
|
||||||
|
</div>
|
||||||
|
<div class="h-6 w-[1px] bg-slate-200"></div>
|
||||||
|
<div class="flex items-center gap-8 text-xs">
|
||||||
|
<div class="flex flex-col gap-0.5">
|
||||||
|
<span class="text-slate-400 font-medium">总数据</span>
|
||||||
|
<span class="font-bold text-slate-900 text-sm">1,248</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-col gap-0.5">
|
||||||
|
<span class="text-slate-400 font-medium">有效数</span>
|
||||||
|
<span class="font-bold text-primary text-sm">842</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-col gap-0.5">
|
||||||
|
<span class="text-slate-400 uppercase tracking-tighter font-medium">服务到期</span>
|
||||||
|
<span class="text-slate-900 font-bold text-sm">2036-08-01</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
|
<button
|
||||||
|
class="p-2 text-slate-400 hover:bg-white hover:text-primary hover:shadow-sm rounded-xl transition-all">
|
||||||
|
<span class="material-symbols-outlined text-xl">chevron_left</span>
|
||||||
|
</button>
|
||||||
|
<div class="flex items-center gap-1">
|
||||||
|
<button
|
||||||
|
class="w-9 h-9 rounded-xl bg-slate-900 text-white text-xs font-bold transition-all shadow-lg shadow-slate-900/20">1</button>
|
||||||
|
<button
|
||||||
|
class="w-9 h-9 rounded-xl hover:bg-white text-slate-600 text-xs font-bold transition-all">2</button>
|
||||||
|
<button
|
||||||
|
class="w-9 h-9 rounded-xl hover:bg-white text-slate-600 text-xs font-bold transition-all">3</button>
|
||||||
|
<span class="px-2 text-slate-300">...</span>
|
||||||
|
<button
|
||||||
|
class="w-9 h-9 rounded-xl hover:bg-white text-slate-600 text-xs font-bold transition-all">12</button>
|
||||||
|
</div>
|
||||||
|
<button
|
||||||
|
class="p-2 text-slate-400 hover:bg-white hover:text-primary hover:shadow-sm rounded-xl transition-all">
|
||||||
|
<span class="material-symbols-outlined text-xl">chevron_right</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user