3D 婴儿房模块整块可点,点房子直接进 (v26100180)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 08:17:14 +00:00
parent cfb87f27de
commit 0f02c56433
3 changed files with 11 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26100179';
var VER = '26100180';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
@@ -3209,7 +3209,8 @@
(function nurseryInit() {
const sec = $('#nursery');
if (!sec) return;
$('#nyBtn').addEventListener('click', () =>
/* 2026-10-02 整块可点(按钮的点击冒泡上来,同一个入口) */
sec.addEventListener('click', () =>
jumpApp(NURSERY_URL + '?return_url=' + encodeURIComponent(location.origin + location.pathname), NURSERY_ID));
/* 视差:图层始终对齐 .screen 的可视区 → 页面滚、房间不动,像铺在整页背后 */
const layer = $('#nypLayer'), scr = sec.closest('.screen');