测一测:30 个测试标题、副标题改成大白话(谁来测 · 测什么);列表副标题去掉题数避免截断;v26110223
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -323,7 +323,7 @@ mark{background:linear-gradient(transparent 62%,var(--c20) 0);color:inherit;padd
|
||||
</div>
|
||||
<div class="toast" id="toast"></div>
|
||||
|
||||
<script src="tests.js?v=26110222"></script>
|
||||
<script src="tests.js?v=26110223"></script>
|
||||
<script>
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -587,10 +587,10 @@ button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:poin
|
||||
<div id="sheet" role="dialog" aria-modal="true"><i class="sg"></i><div class="sbd" id="sbd"></div></div>
|
||||
<div class="toast" id="toast"></div>
|
||||
|
||||
<script src="topics.js?v=26110222"></script>
|
||||
<script src="data.js?v=26110222"></script>
|
||||
<script src="feed.js?v=26110222"></script>
|
||||
<script src="ceshi/meta.js?v=26110222"></script>
|
||||
<script src="topics.js?v=26110223"></script>
|
||||
<script src="data.js?v=26110223"></script>
|
||||
<script src="feed.js?v=26110223"></script>
|
||||
<script src="ceshi/meta.js?v=26110223"></script>
|
||||
<script>
|
||||
(function () {
|
||||
'use strict';
|
||||
@@ -807,18 +807,18 @@ button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:poin
|
||||
if (g === 'game') return '<ol class="csm">' + l.map(function (x, i) {
|
||||
var d = done[x.id];
|
||||
return '<li><button type="button" class="csx' + (d ? ' ok' : '') + '" data-test="' + x.id + '"><span class="nd"><small>第</small>' + (i + 1) + '<small>站</small></span>' +
|
||||
'<span class="tx"><b>' + esc(x.title) + '</b><small>' + (d ? '已拿称号「' + esc(d.title) + '」' : x.n + ' 关 · ' + esc(x.sub)) + '</small></span>' +
|
||||
'<span class="tx"><b>' + esc(x.title) + '</b><small>' + (d ? '已拿称号「' + esc(d.title) + '」' : esc(x.sub)) + '</small></span>' +
|
||||
'<span class="go">' + (d ? '再闯' : '开闯') + '</span></button></li>';
|
||||
}).join('') + '</ol>';
|
||||
if (g === 'quiz') return '<div class="csq">' + l.map(function (x, i) {
|
||||
var d = done[x.id];
|
||||
return '<button type="button" class="csn" data-test="' + x.id + '"><span class="no"><small>NO.</small>' + ('0' + (TM.filter(function (y) { return y.group === 'quiz'; }).indexOf(x) + 1)).slice(-2) + '</span><span class="tx"><b>' + esc(x.title) + '</b>' +
|
||||
'<small>' + (d ? '<em>已测 · ' + esc(d.title) + '</em>' : x.n + ' 题 · ' + esc(x.sub)) + '</small></span><span class="ar"><svg class="ic"><use href="#i-right"/></svg></span></button>';
|
||||
'<small>' + (d ? '<em>已测 · ' + esc(d.title) + '</em>' : esc(x.sub)) + '</small></span><span class="ar"><svg class="ic"><use href="#i-right"/></svg></span></button>';
|
||||
}).join('') + '</div>';
|
||||
return l.map(function (x) {
|
||||
var d = done[x.id];
|
||||
return '<button type="button" class="csr" data-test="' + x.id + '"><img src="ceshi/img/' + x.id + '_s.webp" alt="" loading="lazy"><span class="tx"><b>' + esc(x.title) + '</b>' +
|
||||
'<small>' + (d ? '<em>已测 · ' + esc(d.title) + '</em>' : x.n + ' 题 · 约 ' + x.min + ' 分钟 · ' + esc(x.sub)) + '</small></span><span class="ar"><svg class="ic"><use href="#i-right"/></svg></span></button>';
|
||||
'<small>' + (d ? '<em>已测 · ' + esc(d.title) + '</em>' : esc(x.sub)) + '</small></span><span class="ar"><svg class="ic"><use href="#i-right"/></svg></span></button>';
|
||||
}).join('');
|
||||
}
|
||||
function ceshiListHTML() {
|
||||
@@ -829,7 +829,7 @@ button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:poin
|
||||
var f = l.filter(function (x) { return !done[x.id]; })[0] || l[0]; /* 推荐位:本组第一个没测过的 */
|
||||
if (g === 'psy' || g === 'game') return '<section class="csg g-' + g + '"><div class="csg-h"><b>' + TG[g] + '</b><small>' + l.length + ' 套 · ' + TGD[g] + '</small>' + (nd ? '<em>已测 ' + nd + '</em>' : '') + '</div>' + rest(g, l, done) + '</section>';
|
||||
return '<section class="csg g-' + g + '"><div class="csg-h"><b>' + TG[g] + '</b><small>' + l.length + ' 套 · ' + TGD[g] + '</small>' + (nd ? '<em>已测 ' + nd + '</em>' : '') + '</div>' +
|
||||
'<button type="button" class="csf" data-test="' + f.id + '"><span class="tx"><small>' + (done[f.id] ? '再测一次' : '本组推荐') + '</small><b>' + esc(f.title) + '</b><p>' + esc(f.sub) + ' · ' + f.n + ' 题</p>' +
|
||||
'<button type="button" class="csf" data-test="' + f.id + '"><span class="tx"><small>' + (done[f.id] ? '再测一次' : '本组推荐') + '</small><b>' + esc(f.title) + '</b><p>' + esc(f.sub) + '</p>' +
|
||||
'<span class="go">' + (done[f.id] ? '再测' : '开始测') + '<svg class="ic"><use href="#i-right"/></svg></span></span><img src="ceshi/img/' + f.id + '_s.webp" alt="" loading="lazy"></button>' +
|
||||
rest(g, l.filter(function (x) { return x !== f; }), done) + '</section>';
|
||||
}).join('') + '</div>';
|
||||
|
||||
@@ -105,7 +105,7 @@ main{padding:6px 16px 0}
|
||||
</div>
|
||||
<div class="wb"><button type="button" id="write"><svg class="ic" viewBox="0 0 24 24"><path d="M12 20h9M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4z"/></svg>写新的故事</button></div>
|
||||
|
||||
<script src="../topics.js?v=26110222"></script>
|
||||
<script src="../topics.js?v=26110223"></script>
|
||||
<script>
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
Reference in New Issue
Block a user