11
This commit is contained in:
+27
-62
@@ -1,65 +1,30 @@
|
||||
<div style="max-width: 800px; margin: 0 auto; font-family: 'Microsoft YaHei', sans-serif; color: #000; text-align: center;">
|
||||
|
||||
<!-- 商品基本信息 -->
|
||||
<h1 style="margin-bottom: 5px;">{{ showName }} ({{ goodsAlias }})</h1>
|
||||
<img src="{{ imgs }}" alt="{{ showName }}" style="width: 100%; max-width: 600px; margin-bottom: 8px;">
|
||||
<p style="margin: 4px 0;">{{ goodsDesc }}</p>
|
||||
<p style="margin: 4px 0;"><strong>发布时间:</strong> {{ publishTime.split('T')[0] if publishTime else '未知' }}</p>
|
||||
<p style="margin: 4px 0;"><strong>参考价格:</strong> {{ priceNum }} 元</p>
|
||||
|
||||
<!-- 双列表格 -->
|
||||
<div style="display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; justify-content: center;">
|
||||
|
||||
<!-- 万宝楼公示 -->
|
||||
<div style="flex: 1; min-width: 300px; border:1px solid #000; overflow:hidden;">
|
||||
<div style="padding:4px; font-weight:bold; text-align:center;">万宝楼公示</div>
|
||||
<div style="overflow-x:auto;">
|
||||
<table style="width:100%; border-collapse:collapse; margin:0 auto; text-align:center; font-size:0.9em;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="border:1px solid #000; padding:2px;">剩余时间</th>
|
||||
<th style="border:1px solid #000; padding:2px;">服务器</th>
|
||||
<th style="border:1px solid #000; padding:2px;">价格</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in wblgs %}
|
||||
<tr>
|
||||
<td style="border:1px solid #000; padding:2px;">{{ item.replyTime }}</td>
|
||||
<td style="border:1px solid #000; padding:2px;">{{ item.belongQf2 }}</td>
|
||||
<td style="border:1px solid #000; padding:2px;">{{ item.priceNum }}元</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 万宝楼在售 -->
|
||||
<div style="flex: 1; min-width: 300px; border:1px solid #000; overflow:hidden;">
|
||||
<div style="padding:4px; font-weight:bold; text-align:center;">万宝楼在售</div>
|
||||
<div style="overflow-x:auto;">
|
||||
<table style="width:100%; border-collapse:collapse; margin:0 auto; text-align:center; font-size:0.9em;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="border:1px solid #000; padding:2px;">剩余时间</th>
|
||||
<th style="border:1px solid #000; padding:2px;">服务器</th>
|
||||
<th style="border:1px solid #000; padding:2px;">价格</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in wblzs %}
|
||||
<tr>
|
||||
<td style="border:1px solid #000; padding:2px;">{{ item.replyTime }}</td>
|
||||
<td style="border:1px solid #000; padding:2px;">{{ item.belongQf2 }}</td>
|
||||
<td style="border:1px solid #000; padding:2px;">{{ item.priceNum }}元</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 1220px; margin: 0 auto;">
|
||||
<h1 style="text-align: center;">剑网3交易行价格查询</h1>
|
||||
<p style="text-align: center;">服务器: {{ server }}</p>
|
||||
|
||||
<div style="overflow-x: auto; overflow-y: hidden;">
|
||||
<table style="width: 100%; border-collapse: collapse; margin: 0 auto;">
|
||||
<thead>
|
||||
<tr style="height: 50px; text-align: center;">
|
||||
<th style="border:1px solid #000; padding:4px;">物品名称</th>
|
||||
<th style="border:1px solid #000; padding:4px;">最低价</th>
|
||||
<th style="border:1px solid #000; padding:4px;">总数量</th>
|
||||
<th style="border:1px solid #000; padding:4px;">数据更新时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in items %}
|
||||
<tr style="height: 45px; text-align: center;">
|
||||
<td style="border:1px solid #000; padding:4px; text-align: left;">
|
||||
<img src="{{ item.IconID }}" alt="icon" style="width:20px; height:20px; vertical-align:middle; border-radius:4px; margin-right:6px;">
|
||||
{{ item.Name }}
|
||||
</td>
|
||||
<td style="border:1px solid #000; padding:4px;">{{ item.AvgPrice }}</td>
|
||||
<td style="border:1px solid #000; padding:4px;">{{ item.SampleSize }}</td>
|
||||
<td style="border:1px solid #000; padding:4px;">{{ item.Date }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user