摘要: let gapPic = document.getElementById('gapPic') let rect = gapPic.getBoundingClientRect() // 获取宽高 console.log(rect.width, rect.height) 阅读全文
posted @ 2025-06-12 09:19 yw3692582 阅读(13) 评论(0) 推荐(0)