狼人3d模拟v1.0(免广告获取奖励)中文版狼人3D模拟游戏是一款3D模拟类游戏。玩家在这一款游戏中将会化身为一个凶恶的狼人,为了发泄自己的破坏欲,在各个大城市之间进行各种疯狂的破坏,让城市变为一地焦土。在破坏城市时,玩家可以利用自己的技能更有效率的进行破坏,比如抱起楼房,将它远远的扔起来,展现自己无穷的力量。




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’;
}
});
上一篇:神秘之城寻物历险(解锁付费完整版+使用货币获得大量资源)
下一篇:疯狂小兵(无限金币,直接获得奖励)
