122 lines
2.4 KiB
HTML
122 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>剑网3交易行价格查询</title>
|
|
|
|
<style>
|
|
body {
|
|
font-family: "Microsoft YaHei", Arial, sans-serif;
|
|
background: #f1f2f6;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1220px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 32px;
|
|
margin-bottom: 10px;
|
|
color: #222;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.server-info {
|
|
font-size: 16px;
|
|
color: #555;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
/* ===== 表格样式 ===== */
|
|
.table-wrapper {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: #ffffff;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.08);
|
|
text-align: left;
|
|
}
|
|
|
|
thead {
|
|
background: #d93939;
|
|
color: #ffffff;
|
|
font-size: 18px;
|
|
}
|
|
|
|
th, td {
|
|
padding: 14px 12px;
|
|
border-bottom: 1px solid #eee;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: #fff2f2;
|
|
}
|
|
|
|
/* ===== 物品列 ===== */
|
|
.item-col {
|
|
text-align: left;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.item-col img {
|
|
width: 22px;
|
|
height: 22px;
|
|
vertical-align: middle;
|
|
border-radius: 4px;
|
|
margin-right: 8px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<h1>剑网3交易行价格查询</h1>
|
|
<div class="server-info">服务器:{{ server }}</div>
|
|
|
|
<div class="table-wrapper">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>物品名称</th>
|
|
<th>最低价</th>
|
|
<th>总数量</th>
|
|
<th>数据更新时间</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{% for item in items %}
|
|
<tr>
|
|
<td class="item-col">
|
|
<img src="{{ item.IconID }}" alt="icon">
|
|
{{ item.Name }}
|
|
</td>
|
|
<td>{{ item.AvgPrice }}</td>
|
|
<td>{{ item.SampleSize }}</td>
|
|
<td>{{ item.Date }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|