This commit is contained in:
pengtao 2019-11-25 19:38:23 +08:00
parent 4a24f0cc63
commit fde2f170e2

View File

@ -85,25 +85,41 @@
.panel table tr:nth-child(even) {
background-color: #f3f3f3;
}
.panel .part {
margin-bottom: 16px;
}
.panel .part .title {
margin-bottom: 8px;
font-weight: 700;
}
.panel .part .content span:nth-child(2n) {
margin-right: 16px;
}
</style>
</head>
<body>
<h1 class="title">TAPTAP数据周报· OPS</h1>
<p class="date">{{ day }}</p>
<p class="tags">{{ "各榜单游戏类别分布(前三)" }}</p>
{% for key in tags.keys() %}
<table>
<thead>
<tr>
<td>{{ key }}</td>
{% for one in tags.get(key) %}
<td>{{ one[0] }}</td>
<td>{{ one[1] }}</td>
<div class="section">
<div class="info">
<span>{{ "各榜单游戏类别分布(前三)" }}</span>
</div>
<div class="panel">
{% for key in tags.keys() %}
<div class="part">
<div class="title">{{ key }}</div>
<div class="content">
{% for one in tags.get(key) %}
<span>{{ one[0] }}</span>
<span>{{ one[1] }}</span>
{% endfor %}
</div>
</div>
{% endfor %}
</tr>
</thead>
</table>
{% endfor %}
</div>
</div>
{% for key in data %}
<div class="section">