214 lines
4.8 KiB
HTML
214 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>剑网3交易行价格查询</title>
|
|
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: "Microsoft YaHei", Arial, sans-serif;
|
|
background: #f3f4f7;
|
|
margin: 0;
|
|
padding: 24px;
|
|
color: #1f2933;
|
|
}
|
|
|
|
.container {
|
|
width: 1120px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.header {
|
|
background: #ffffff;
|
|
border: 1px solid #e6e8ee;
|
|
border-radius: 8px;
|
|
padding: 22px 26px;
|
|
margin-bottom: 16px;
|
|
box-shadow: 0 6px 18px rgba(35, 38, 47, 0.06);
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 30px;
|
|
line-height: 1.3;
|
|
font-weight: 800;
|
|
color: #20232a;
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
gap: 18px;
|
|
margin-top: 10px;
|
|
font-size: 15px;
|
|
color: #667085;
|
|
}
|
|
|
|
.table-wrapper {
|
|
background: #ffffff;
|
|
border: 1px solid #e6e8ee;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 6px 18px rgba(35, 38, 47, 0.06);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
thead {
|
|
background: #b92b35;
|
|
color: #ffffff;
|
|
}
|
|
|
|
th {
|
|
padding: 14px 16px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
th:nth-child(2),
|
|
th:nth-child(3),
|
|
th:nth-child(4),
|
|
td:nth-child(2),
|
|
td:nth-child(3),
|
|
td:nth-child(4) {
|
|
text-align: center;
|
|
}
|
|
|
|
td {
|
|
padding: 14px 16px;
|
|
border-bottom: 1px solid #edf0f5;
|
|
font-size: 15px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
tbody tr:nth-child(even) {
|
|
background: #fafbfc;
|
|
}
|
|
|
|
.item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.item-icon {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 6px;
|
|
flex: 0 0 auto;
|
|
background: #edf0f5;
|
|
}
|
|
|
|
.item-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-weight: 700;
|
|
color: #20232a;
|
|
}
|
|
|
|
.price {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
white-space: nowrap;
|
|
font-weight: 700;
|
|
color: #2f343d;
|
|
}
|
|
|
|
.money-part {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.money-icon {
|
|
width: 17px;
|
|
height: 17px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.sample {
|
|
font-weight: 700;
|
|
color: #2f343d;
|
|
}
|
|
|
|
.time {
|
|
color: #667085;
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>交易行:{{ search_name }} · {{ server }}</h1>
|
|
<div class="meta">
|
|
<span>展示 {{ result_count }} 条价格数据</span>
|
|
<span>匹配 {{ matched_count }} 个物品</span>
|
|
<span>生成时间:{{ update_time }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="table-wrapper">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 44%;">物品</th>
|
|
<th style="width: 24%;">物价</th>
|
|
<th style="width: 12%;">数量</th>
|
|
<th style="width: 20%;">数据时间</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in list %}
|
|
<tr>
|
|
<td>
|
|
<div class="item">
|
|
<img class="item-icon" src="{{ item.icon }}" alt="">
|
|
<div class="item-name">{{ item.name }}</div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="price">
|
|
{% if item.price_parts %}
|
|
{% for part in item.price_parts %}
|
|
<span class="money-part">
|
|
<span>{{ part.value }}</span>
|
|
<img class="money-icon" src="{{ icons.img[part.key] }}" alt="{{ part.name }}">
|
|
</span>
|
|
{% endfor %}
|
|
{% else %}
|
|
<span>无价格</span>
|
|
{% endif %}
|
|
</div>
|
|
</td>
|
|
<td class="sample">{{ item.sample }}</td>
|
|
<td class="time">{{ item.created }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|