This commit is contained in:
qsc
2026-02-07 19:58:25 +08:00
parent bfb40c9160
commit f8205fdf61
22 changed files with 1085 additions and 910 deletions
+92
View File
@@ -0,0 +1,92 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>角色查看</title>
<style>
body {
font-family: 'Microsoft YaHei', Arial, sans-serif;
background: #f1f2f6;
margin: 0;
padding: 20px;
}
.container {
max-width: 1000px;
margin: 0 auto;
text-align: center; /* ★ 让容器内标题更自然居中 */
}
h1 {
font-size: 48px;
margin-bottom: 25px;
color: #222;
font-weight: 800;
text-align: center; /* ★ 强制居中 */
}
table {
width: 66%;
border-collapse: collapse;
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 16px rgba(0,0,0,0.08);
margin-top: 10px;
text-align: left;
margin: 10px auto;
}
thead {
background: #d93939;
color: white;
font-size: 27px;
}
th, td {
padding: 14px 12px;
border-bottom: 1px solid #eee;
font-size: 24px;
}
tbody tr:hover {
background: #fff2f2;
}
.text-col {
max-width: 360px;
line-height: 1.5em;
word-break: break-word;
font-weight: 600;
color: #333;
}
</style>
</head>
<body>
<div class="container">
<h1>角色查看</h1>
<table>
<thead>
<tr>
<th>王者营地ID</th>
<th>角色名称</th>
</tr>
</thead>
<tbody>
{% for m in lists %}
<tr>
<td>{{ m.gokid }}</td>
<td>{{ m.name }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</body>
</html>