2023年10月7日
摘要: 先获取元素,然后使用闭包传递参数 var item1 = main_menu.getElementsByClassName("grid-item").item(0) item1.addEventListener("click", function() { into_menu("漫评") }); fu 阅读全文
posted @ 2023-10-07 09:38 小沙盒工作室 阅读(7) 评论(0) 推荐(0)