317 lines
9.3 KiB
HTML
317 lines
9.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>{{ name }} - 万宝楼行情</title>
|
|
|
|
<style>
|
|
body {
|
|
font-family: "Microsoft YaHei", Arial, sans-serif;
|
|
background: #f1f2f6;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
color: #222;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 32px;
|
|
font-weight: 800;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.goods-image {
|
|
width: 100%;
|
|
border-radius: 16px;
|
|
box-shadow: 0 6px 24px rgba(0,0,0,0.12);
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.goods-desc {
|
|
font-size: 16px;
|
|
color: #444;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.meta-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 40px;
|
|
font-size: 18px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.meta-row .price {
|
|
color: #d93939;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.table-wrapper {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.table-card {
|
|
width: 100%;
|
|
}
|
|
|
|
.table-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
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: 16px;
|
|
}
|
|
|
|
th, td {
|
|
padding: 12px 10px;
|
|
border-bottom: 1px solid #eee;
|
|
font-size: 15px;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: #fff2f2;
|
|
}
|
|
|
|
.server-col {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.price-col {
|
|
color: #d93939;
|
|
font-weight: 700;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<h1>{{ name }} ({{ alias }})</h1>
|
|
|
|
<img src="{{ view }}" alt="{{ name }}" class="goods-image">
|
|
|
|
<p class="goods-desc">{{ desc }}</p>
|
|
|
|
<div class="meta-row">
|
|
<span>发售时间:{{ date }}</span>
|
|
<span class="price">参考价格:{{ cost }} 元</span>
|
|
</div>
|
|
|
|
<div class="table-wrapper">
|
|
|
|
<!-- 1 万宝楼公示 -->
|
|
<div class="table-card">
|
|
<div class="table-title">万宝楼公示</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>时间</th>
|
|
<th>服务器</th>
|
|
<th>价格</th>
|
|
<th>状态</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in list[3] %}
|
|
<tr>
|
|
<td class="server-col">{{ item.date }}</td>
|
|
<td class="server-col">{{ item.server }}</td>
|
|
<td class="price-col">{{ item.value }}</td>
|
|
<td class="server-col"> 公示 </td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- 2 万宝楼在售 -->
|
|
<div class="table-card">
|
|
<div class="table-title">万宝楼在售</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>时间</th>
|
|
<th>服务器</th>
|
|
<th>价格</th>
|
|
<th>状态</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in list[4] %}
|
|
<tr>
|
|
<td class="server-col">{{ item.date }}</td>
|
|
<td class="server-col">{{ item.server }}</td>
|
|
<td class="price-col">{{ item.value }}</td>
|
|
<td class="server-col"> 在售 </td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- 3 查询区服 -->
|
|
<div class="table-card">
|
|
<div class="table-title">查询区服</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>时间</th>
|
|
<th>服务器</th>
|
|
<th>价格</th>
|
|
<th>状态</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in list[5] %}
|
|
<tr>
|
|
<td class="server-col">{{ item.date }}</td>
|
|
<td class="server-col">{{ item.server }}</td>
|
|
<td class="price-col">{{ item.value }}</td>
|
|
<td class="server-col">
|
|
{% if item.source == 1 %}出售
|
|
{% elif item.source == 2 %}收购
|
|
{% elif item.source == 3 %}想出
|
|
{% elif item.source == 4 %}想收
|
|
{% elif item.source == 5 %}成交
|
|
{% elif item.source == 6 %}正出
|
|
{% else %}未知
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- 4 电信区 -->
|
|
<div class="table-card">
|
|
<div class="table-title">电信区</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>时间</th>
|
|
<th>服务器</th>
|
|
<th>价格</th>
|
|
<th>状态</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in list[0] %}
|
|
<tr>
|
|
<td class="server-col">{{ item.date }}</td>
|
|
<td class="server-col">{{ item.server }}</td>
|
|
<td class="price-col">{{ item.value }}</td>
|
|
<td class="server-col">
|
|
{% if item.source == 1 %}出售
|
|
{% elif item.source == 2 %}收购
|
|
{% elif item.source == 3 %}想出
|
|
{% elif item.source == 4 %}想收
|
|
{% elif item.source == 5 %}成交
|
|
{% elif item.source == 6 %}正出
|
|
{% else %}未知
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- 5 双线区 -->
|
|
<div class="table-card">
|
|
<div class="table-title">双线区</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>时间</th>
|
|
<th>服务器</th>
|
|
<th>价格</th>
|
|
<th>状态</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in list[1] %}
|
|
<tr>
|
|
<td class="server-col">{{ item.date }}</td>
|
|
<td class="server-col">{{ item.server }}</td>
|
|
<td class="price-col">{{ item.value }}</td>
|
|
<td class="server-col">
|
|
{% if item.source == 1 %}出售
|
|
{% elif item.source == 2 %}收购
|
|
{% elif item.source == 3 %}想出
|
|
{% elif item.source == 4 %}想收
|
|
{% elif item.source == 5 %}成交
|
|
{% elif item.source == 6 %}正出
|
|
{% else %}未知
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- 6 无界区 -->
|
|
<div class="table-card">
|
|
<div class="table-title">无界区</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>时间</th>
|
|
<th>服务器</th>
|
|
<th>价格</th>
|
|
<th>状态</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in list[2] %}
|
|
<tr>
|
|
<td class="server-col">{{ item.date }}</td>
|
|
<td class="server-col">{{ item.server }}</td>
|
|
<td class="price-col">{{ item.value }}</td>
|
|
<td class="server-col">
|
|
{% if item.source == 1 %}出售
|
|
{% elif item.source == 2 %}收购
|
|
{% elif item.source == 3 %}想出
|
|
{% elif item.source == 4 %}想收
|
|
{% elif item.source == 5 %}成交
|
|
{% elif item.source == 6 %}正出
|
|
{% else %}未知
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|