mapArea html 的area只能在固定尺寸的html上使用,通过这段js就可以实现自动适配了 #使用方法 在map标签下面的area标签需要添加class="MXC_hotPhotoItem" 默认所有的坐标是基于750宽度的图片进行定位 如果图片大小非标准的750,可以修改模块中的代码 originalWidth = <指定大小> Map的name需要保证唯一性 #版权协议 代码遵守MIT协议