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) { .panel table tr:nth-child(even) {
background-color: #f3f3f3; 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> </style>
</head> </head>
<body> <body>
<h1 class="title">TAPTAP数据周报· OPS</h1> <h1 class="title">TAPTAP数据周报· OPS</h1>
<p class="date">{{ day }}</p> <p class="date">{{ day }}</p>
<p class="tags">{{ "各榜单游戏类别分布(前三)" }}</p>
<div class="section">
<div class="info">
<span>{{ "各榜单游戏类别分布(前三)" }}</span>
</div>
<div class="panel">
{% for key in tags.keys() %} {% for key in tags.keys() %}
<table> <div class="part">
<thead> <div class="title">{{ key }}</div>
<tr> <div class="content">
<td>{{ key }}</td>
{% for one in tags.get(key) %} {% for one in tags.get(key) %}
<td>{{ one[0] }}</td> <span>{{ one[0] }}</span>
<td>{{ one[1] }}</td> <span>{{ one[1] }}</span>
{% endfor %} {% endfor %}
</tr> </div>
</thead> </div>
</table>
{% endfor %} {% endfor %}
</div>
</div>
{% for key in data %} {% for key in data %}
<div class="section"> <div class="section">