Files
tkPage/src/views/hosttest.html

440 lines
26 KiB
HTML
Raw Normal View History

2026-01-16 19:00:07 +08:00
<!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 - Modern Light-Tech Dashboard</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&amp;display=swap"
rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet" />
<script src="https://cdn.tailwindcss.com?plugins=forms,typography"></script>
<script>
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
primary: "#0052CC",
"background-light": "#F4F7FA",
"background-dark": "#0B1120",
"tech-blue": "#E3F2FD",
"tech-green": "#E8F5E9",
"tech-orange": "#FFF3E0",
},
fontFamily: {
display: ["Inter", "system-ui", "sans-serif"],
},
borderRadius: {
DEFAULT: "12px",
'xl': '20px',
},
boxShadow: {
'soft-inner': 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.05)',
'premium': '0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04)',
}
},
},
};
</script>
<style>
body {
font-family: 'Inter', sans-serif;
}
.glass-card {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.4);
}
.sidebar-active {
background: white;
color: #0052CC !important;
border-radius: 40px 0 0 40px;
position: relative;
}
.sidebar-active::after {
content: '';
position: absolute;
right: -20px;
top: 0;
bottom: 0;
width: 20px;
background: white;
}
.sidebar-active::before {
content: '';
position: absolute;
right: 0;
top: -40px;
width: 40px;
height: 40px;
border-radius: 50%;
box-shadow: 20px 20px 0 0 white;
z-index: 1;
}
.sidebar-active-footer::before {
content: '';
position: absolute;
right: 0;
bottom: -40px;
width: 40px;
height: 40px;
border-radius: 50%;
box-shadow: 20px -20px 0 0 white;
z-index: 1;
}
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #CBD5E1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #94A3B8;
}
</style>
</head>
<body class="bg-slate-900 font-display text-slate-900 antialiased overflow-hidden">
<div class="flex h-screen">
<aside class="w-64 flex flex-col pt-8 pb-10 bg-slate-900 shrink-0">
<div class="px-8 mb-12">
<div class="flex items-center gap-2">
<span class="text-3xl font-bold tracking-tighter text-white">yolo</span>
<span
class="px-2 py-0.5 text-xs font-semibold tracking-wider text-slate-900 bg-white rounded uppercase">助手</span>
</div>
</div>
<nav class="flex-1 space-y-2 pl-4">
<a class="flex items-center gap-4 px-6 py-4 text-slate-400 hover:text-slate-200 transition-all duration-200 group"
href="#">
<span class="material-icons-round text-2xl">grid_view</span>
<span class="font-medium">工作台</span>
</a>
<div class="relative">
<a class="sidebar-active flex items-center gap-4 px-6 py-4 text-primary transition-all duration-200"
href="#">
<span class="material-icons-round text-2xl">person_search</span>
<span class="font-medium">主播列表</span>
</a>
<div class="sidebar-active-footer"></div>
</div>
</nav>
<div class="px-8 mt-auto">
<button
class="flex items-center gap-3 text-slate-400 hover:text-red-400 transition-colors duration-200 group">
<span class="material-icons-round text-xl group-hover:rotate-12 transition-transform">logout</span>
<span class="font-medium">退出登录</span>
</button>
</div>
</aside>
<main class="flex-1 bg-white dark:bg-slate-50 m-2 rounded-3xl shadow-2xl flex flex-col overflow-hidden">
<header class="px-8 py-6 border-b border-slate-100 dark:border-slate-200/60 bg-white/50 backdrop-blur-md">
<div class="flex flex-wrap items-center gap-4">
<div class="relative flex-1 min-w-[200px]">
<select
class="w-full bg-slate-50 border-none rounded-xl py-3 pl-4 pr-10 text-sm text-slate-600 appearance-none focus:ring-2 focus:ring-primary/20 shadow-soft-inner">
<option>选择国家</option>
<option>哈萨克斯坦</option>
<option>土库曼斯坦</option>
<option>摩尔多瓦</option>
</select>
<span
class="material-icons-round 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 min-w-[200px]">
<span
class="material-icons-round absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 text-sm">calendar_today</span>
<input
class="w-full bg-slate-50 border-none rounded-xl py-3 pl-10 pr-4 text-sm text-slate-600 focus:ring-2 focus:ring-primary/20 shadow-soft-inner"
placeholder="选择查询时间" type="text" />
</div>
<div class="relative flex-[1.5] min-w-[240px]">
<input
class="w-full bg-slate-50 border-none rounded-xl py-3 px-4 text-sm text-slate-600 focus:ring-2 focus:ring-primary/20 shadow-soft-inner"
placeholder="请输入主播id" type="text" />
</div>
<div class="flex items-center gap-2 ml-auto">
<button
class="bg-primary hover:bg-blue-700 text-white px-8 py-3 rounded-xl font-medium text-sm transition-all shadow-lg shadow-primary/20 flex items-center gap-2">
<span class="material-icons-round text-sm">search</span>
查询
</button>
<button class="bg-slate-100 hover:bg-slate-200 text-slate-600 p-3 rounded-xl transition-all">
<span class="material-icons-round">tune</span>
</button>
</div>
</div>
</header>
<div class="flex-1 overflow-auto p-8">
<table class="w-full text-left border-separate border-spacing-0">
<thead>
<tr class="text-slate-400 text-xs font-semibold uppercase tracking-wider">
<th class="pb-4 pl-4 font-normal"><input
class="rounded border-slate-300 text-primary focus:ring-primary/20"
type="checkbox" /></th>
<th class="pb-4 font-semibold">主播ID</th>
<th class="pb-4 font-semibold">等级</th>
<th class="pb-4 font-semibold">邀请类型</th>
<th class="pb-4 font-semibold">数据查看</th>
<th class="pb-4 font-semibold">国家</th>
<th class="pb-4 font-semibold">创建时间</th>
<th class="pb-4 font-semibold">主播金币</th>
<th class="pb-4 font-semibold text-right pr-4">操作</th>
</tr>
</thead>
<tbody class="text-sm text-slate-600">
<tr class="group hover:bg-slate-50/80 transition-colors">
<td class="py-5 pl-4 border-b border-slate-50 group-last:border-none">
<input class="rounded border-slate-300 text-primary focus:ring-primary/20"
type="checkbox" />
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="font-medium text-slate-900 border-b border-transparent group-hover:border-primary/30 transition-all cursor-pointer">kisimisi1990</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">D5</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="px-3 py-1 bg-green-50 text-green-600 text-[10px] font-bold uppercase rounded-full">普票</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex gap-2">
<button
class="px-3 py-1.5 bg-blue-50 text-blue-600 hover:bg-blue-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看场次</button>
<button
class="px-3 py-1.5 bg-sky-50 text-sky-600 hover:bg-sky-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看收益</button>
</div>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">哈萨克斯坦</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex flex-col">
<span>2026-01-13</span>
<span class="text-[10px] text-slate-400">20:23:52</span>
</div>
</td>
<td
class="py-5 border-b border-slate-50 group-last:border-none font-semibold text-slate-900">
1260</td>
<td class="py-5 border-b border-slate-50 group-last:border-none text-right pr-4">
<button class="p-1 hover:bg-slate-200 rounded transition-colors text-slate-400">
<span class="material-icons-round text-lg">more_horiz</span>
</button>
</td>
</tr>
<tr class="group hover:bg-slate-50/80 transition-colors">
<td class="py-5 pl-4 border-b border-slate-50 group-last:border-none">
<input class="rounded border-slate-300 text-primary focus:ring-primary/20"
type="checkbox" />
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="font-medium text-slate-900 border-b border-transparent group-hover:border-primary/30 transition-all cursor-pointer">maga44458</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">D5</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="px-3 py-1 bg-green-50 text-green-600 text-[10px] font-bold uppercase rounded-full">普票</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex gap-2">
<button
class="px-3 py-1.5 bg-blue-50 text-blue-600 hover:bg-blue-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看场次</button>
<button
class="px-3 py-1.5 bg-sky-50 text-sky-600 hover:bg-sky-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看收益</button>
</div>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">土库曼斯坦</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex flex-col">
<span>2026-01-13</span>
<span class="text-[10px] text-slate-400">20:23:52</span>
</div>
</td>
<td
class="py-5 border-b border-slate-50 group-last:border-none font-semibold text-slate-900">
3006</td>
<td class="py-5 border-b border-slate-50 group-last:border-none text-right pr-4">
<button class="p-1 hover:bg-slate-200 rounded transition-colors text-slate-400">
<span class="material-icons-round text-lg">more_horiz</span>
</button>
</td>
</tr>
<tr class="group hover:bg-slate-50/80 transition-colors">
<td class="py-5 pl-4 border-b border-slate-50 group-last:border-none">
<input class="rounded border-slate-300 text-primary focus:ring-primary/20"
type="checkbox" />
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="font-medium text-slate-900 border-b border-transparent group-hover:border-primary/30 transition-all cursor-pointer">erke_700</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">B5</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="px-3 py-1 bg-amber-50 text-amber-600 text-[10px] font-bold uppercase rounded-full">金票</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex gap-2">
<button
class="px-3 py-1.5 bg-blue-50 text-blue-600 hover:bg-blue-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看场次</button>
<button
class="px-3 py-1.5 bg-sky-50 text-sky-600 hover:bg-sky-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看收益</button>
</div>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">哈萨克斯坦</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex flex-col">
<span>2026-01-13</span>
<span class="text-[10px] text-slate-400">20:23:49</span>
</div>
</td>
<td
class="py-5 border-b border-slate-50 group-last:border-none font-semibold text-slate-900">
5572</td>
<td class="py-5 border-b border-slate-50 group-last:border-none text-right pr-4">
<button class="p-1 hover:bg-slate-200 rounded transition-colors text-slate-400">
<span class="material-icons-round text-lg">more_horiz</span>
</button>
</td>
</tr>
<tr class="group hover:bg-slate-50/80 transition-colors">
<td class="py-5 pl-4 border-b border-slate-50 group-last:border-none">
<input class="rounded border-slate-300 text-primary focus:ring-primary/20"
type="checkbox" />
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="font-medium text-slate-900 border-b border-transparent group-hover:border-primary/30 transition-all cursor-pointer">luckystar1458</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">D1</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="px-3 py-1 bg-green-50 text-green-600 text-[10px] font-bold uppercase rounded-full">普票</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex gap-2">
<button
class="px-3 py-1.5 bg-blue-50 text-blue-600 hover:bg-blue-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看场次</button>
<button
class="px-3 py-1.5 bg-sky-50 text-sky-600 hover:bg-sky-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看收益</button>
</div>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">摩尔多瓦</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex flex-col">
<span>2026-01-13</span>
<span class="text-[10px] text-slate-400">20:23:50</span>
</div>
</td>
<td
class="py-5 border-b border-slate-50 group-last:border-none font-semibold text-slate-900">
15107</td>
<td class="py-5 border-b border-slate-50 group-last:border-none text-right pr-4">
<button class="p-1 hover:bg-slate-200 rounded transition-colors text-slate-400">
<span class="material-icons-round text-lg">more_horiz</span>
</button>
</td>
</tr>
<tr class="group hover:bg-slate-50/80 transition-colors">
<td class="py-5 pl-4 border-b border-slate-50 group-last:border-none">
<input class="rounded border-slate-300 text-primary focus:ring-primary/20"
type="checkbox" />
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="font-medium text-slate-900 border-b border-transparent group-hover:border-primary/30 transition-all cursor-pointer">boss.667b1</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">C5</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<span
class="px-3 py-1 bg-amber-50 text-amber-600 text-[10px] font-bold uppercase rounded-full">金票</span>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex gap-2">
<button
class="px-3 py-1.5 bg-blue-50 text-blue-600 hover:bg-blue-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看场次</button>
<button
class="px-3 py-1.5 bg-sky-50 text-sky-600 hover:bg-sky-600 hover:text-white rounded-lg text-xs font-medium transition-all">查看收益</button>
</div>
</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">哈萨克斯坦</td>
<td class="py-5 border-b border-slate-50 group-last:border-none">
<div class="flex flex-col">
<span>2026-01-13</span>
<span class="text-[10px] text-slate-400">20:23:49</span>
</div>
</td>
<td
class="py-5 border-b border-slate-50 group-last:border-none font-semibold text-slate-900">
4815</td>
<td class="py-5 border-b border-slate-50 group-last:border-none text-right pr-4">
<button class="p-1 hover:bg-slate-200 rounded transition-colors text-slate-400">
<span class="material-icons-round text-lg">more_horiz</span>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<footer
class="px-8 py-6 border-t border-slate-100 dark:border-slate-200/60 bg-white/50 backdrop-blur-md flex flex-wrap items-center justify-between gap-4">
<div class="flex items-center gap-4">
<div class="relative">
<select
class="bg-slate-50 border-none rounded-lg py-2 pl-4 pr-10 text-sm text-slate-600 appearance-none focus:ring-2 focus:ring-primary/20 shadow-soft-inner">
<option>10/page</option>
<option>20/page</option>
<option>50/page</option>
</select>
<span
class="material-icons-round absolute right-2 top-1/2 -translate-y-1/2 text-slate-400 text-sm pointer-events-none">expand_more</span>
</div>
<span class="text-xs text-slate-400 font-medium">到期时间: <span class="text-green-600">2036-08-01
00:00:00</span></span>
</div>
<div class="flex items-center gap-1">
<button class="p-2 text-slate-400 hover:bg-slate-100 rounded-lg transition-colors">
<span class="material-icons-round text-lg">chevron_left</span>
</button>
<button
class="w-8 h-8 rounded-lg bg-slate-900 text-white text-xs font-bold transition-all shadow-md">1</button>
<button
class="w-8 h-8 rounded-lg hover:bg-slate-100 text-slate-600 text-xs font-semibold transition-all">2</button>
<button
class="w-8 h-8 rounded-lg hover:bg-slate-100 text-slate-600 text-xs font-semibold transition-all">3</button>
<button
class="w-8 h-8 rounded-lg hover:bg-slate-100 text-slate-600 text-xs font-semibold transition-all">4</button>
<button
class="w-8 h-8 rounded-lg hover:bg-slate-100 text-slate-600 text-xs font-semibold transition-all">5</button>
<button
class="w-8 h-8 rounded-lg hover:bg-slate-100 text-slate-600 text-xs font-semibold transition-all">6</button>
<span class="px-2 text-slate-400 text-xs font-bold">...</span>
<button
class="w-8 h-8 rounded-lg hover:bg-slate-100 text-slate-600 text-xs font-semibold transition-all">46</button>
<button class="p-2 text-slate-400 hover:bg-slate-100 rounded-lg transition-colors">
<span class="material-icons-round text-lg">chevron_right</span>
</button>
</div>
</footer>
</main>
</div>
</body>
</html>