v26110903 补:12 个独立专题页、测一测页接 host-nav(容器页返回走 navigateBack),广场打开测试开容器页

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-09 14:08:20 +00:00
parent 7cc154d9b3
commit fbc5c4193e
14 changed files with 31 additions and 4 deletions

View File

@@ -184,6 +184,7 @@ h2{font-size:18px;font-weight:700;line-height:1.4;color:var(--ink)}
@media (prefers-reduced-motion:reduce){.fade{opacity:1;transform:none;transition:none}}
@media (max-width:370px){h1{font-size:26px}.pt b{font-size:13.5px}.bm{padding:9px 8px 11px}.bm .v{font-size:18px}}
</style>
<script src="../../js/host-nav.js?v=26110903"></script>
</head>
<body>
<!-- 单色线性图标:stroke 1.8,颜色走 .ic(主色) -->
@@ -417,6 +418,7 @@ h2{font-size:18px;font-weight:700;line-height:1.4;color:var(--ink)}
/* 返回:从首页点进来就 back;直接打开(分享 / 刷新)就回同目录的首页,身份原样带回 */
$('#back').addEventListener('click', function () {
if (window.MBHost && MBHost.back(function () { location.href = '../../' + location.search + location.hash; })) return; /* 11-09 容器页:回小程序上一页 */
if (document.referrer && document.referrer.indexOf(location.host) >= 0 && history.length > 1) history.back();
else location.href = '../../' + location.search + location.hash;
});