摘要: 知识点:Document.elementFromPoint() 返回当前文档上处于指定坐标位置最顶层的元素, 坐标是相对于包含该文档的浏览器窗口的左上角为原点来计算的, 通常 x 和 y 坐标都应为正数. js如下: function hasOverLayer(element) { let docu 阅读全文
posted @ 2020-12-28 14:59 【云】风过无痕 阅读(1575) 评论(0) 推荐(0) 编辑