小程序刷新回到首页的 bug:子页面(广场/笔记/专题/测一测/计算器/星空页)记本机最后位置,首页被宿主重新加载时回到那一页;与 last_app 比时间 (v26110639)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-07 05:58:27 +00:00
parent 67111af060
commit 76190c5a67
128 changed files with 215 additions and 7 deletions

View File

@@ -1058,7 +1058,7 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff}
var CMD = null, CMERR = false;
/* 头像编码:数字 = av/NNNN.webp(旧代码头像);'av:c012' = av/c012.webp(卡通/可爱卡通);'/…' = 站内绝对路径(内置头像库 /_bridge/avatars/);其余 = assets/img/mom/xxx.jpg */
var avP = function (a) { return typeof a === 'number' ? 'av/' + ('000' + a).slice(-4) + '.webp' : a.indexOf('av:') === 0 ? 'av/' + a.slice(3) + '.webp' : a.charAt(0) === '/' ? a : '../assets/img/mom/' + a + '.jpg'; };
fetch('cm.json?v=26110638').then(function (r) { return r.json(); }).then(function (j) {
fetch('cm.json?v=26110639').then(function (r) { return r.json(); }).then(function (j) {
CMD = j; if (openId && NBY[openId]) { renderComments(NBY[openId]); syncBar(NBY[openId]); }
}).catch(function () { CMERR = true; if (openId && NBY[openId]) renderComments(NBY[openId]); });
function commentsOf(n) {
@@ -2574,5 +2574,6 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff}
});
})();
</script>
<script src="../js/last-sub.js?v=26110701"></script> <!-- 11-07 小程序刷新回到这一页(见 js/last-sub.js) -->
</body>
</html>