v26110905 容器页:复制链接直接打开的页返回回小程序首页;首页广场笔记开容器页;首页回前台重载后回到原位置;容器页不记上次子页面
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -42,7 +42,9 @@
|
||||
}
|
||||
/* 11-02 用户:「进广场首页太深,只能点详情再返回」→ 点帖子只带 ?n=(返回落在广场首页,不落在单个话题);话题标签才带 ?t= */
|
||||
function go(id, nid) {
|
||||
location.href = 'guangchang/' + (nid ? '?n=' + encodeURIComponent(nid) : id ? '?t=' + encodeURIComponent(id) : '') + location.hash;
|
||||
var u = 'guangchang/' + (nid ? '?n=' + encodeURIComponent(nid) : id ? '?t=' + encodeURIComponent(id) : '') + location.hash;
|
||||
if (window.MBHost && MBHost.open(u)) return; /* 11-09 小程序里开容器页:复制链接直达这篇;返回回首页原位置 */
|
||||
location.href = u;
|
||||
}
|
||||
|
||||
sec.className = sec.className.replace(/\bgv\d\b/g, '') + ' gv4';
|
||||
|
||||
Reference in New Issue
Block a user