禁止安卓手机点击图片弹出:
之前试过在图片上层添加蒙层
.pic-ceng{
width:100%;height:100%;
position:fixed;
left:0;
top:0;
background:rgba(0,0,0,.3);//透明度
z-index: 999;
}
后来在论坛看到一个简单的方法: 在样式中添加如下: img{ pointer-events: none; } 完美解决
附原贴地址:点击打开链接
禁止安卓手机点击图片弹出:
之前试过在图片上层添加蒙层
.pic-ceng{
width:100%;后来在论坛看到一个简单的方法: 在样式中添加如下: img{ pointer-events: none; } 完美解决
附原贴地址:点击打开链接