混乱踪迹(解锁所有关卡)中文版带领玩家在一个采用量子元素来悬浮的航天器,系统还提供了无限生成的太空轨道设上了超高速的障碍以及强度高的飞行竞速的游戏玩法。设有简单的操作步骤,当中还隐藏着超多技巧的游戏玩法,如移动关卡,变化轨道等等。




const modal = document.getElementById(‘imageModal’);
const closeModal = document.getElementById(‘closeModal’);
const enlargedImg = document.getElementById(‘enlargedImg’);
const thumbnails = document.querySelectorAll(‘.img-thumbnail’);
thumbnails.forEach(thumbnail => {
thumbnail.addEventListener(‘click’, () => {
modal.classList.remove(‘hidden’);
enlargedImg.src = thumbnail.src;
enlargedImg.alt = thumbnail.alt;
document.body.style.overflow = ‘hidden’;
});
});
closeModal.addEventListener(‘click’, () => {
modal.classList.add(‘hidden’);
document.body.style.overflow = ‘auto’;
});
modal.addEventListener(‘click’, (e) => {
if (e.target === modal) {
modal.classList.add(‘hidden’);
document.body.style.overflow = ‘auto’;
}
});
document.addEventListener(‘keydown’, (e) => {
if (e.key === ‘Escape’ && !modal.classList.contains(‘hidden’)) {
modal.classList.add(‘hidden’);
document.body.style.overflow = ‘auto’;
}
});
上一篇:巨魔怪谈(解锁无限答案提示)
下一篇:剑御九州(免广告获取奖励)
