Open lceric opened 7 years ago
在route视图里,使用类似cover遮罩层,css代码为
.cover{ position: fixed; left: 0; right: 0; top: 0; bottom: 0; background-color: #111; opacity: .5; }
h5、ios均正常,在Android端就会出现遮罩层不能覆盖全屏,右边和下边出现白条
不在router-view的视图vue里使用cover这种写法,三端均正常,改为absolute,正常,但用absolute不适用于遮罩层这种情况
在Android端能够和其他端一致,fixed可以全遮,有可能是fixed和Android route有些偏差,希望能核实一下,谢谢
问题描述:
在route视图里,使用类似cover遮罩层,css代码为
h5、ios均正常,在Android端就会出现遮罩层不能覆盖全屏,右边和下边出现白条
不在router-view的视图vue里使用cover这种写法,三端均正常,改为absolute,正常,但用absolute不适用于遮罩层这种情况
期望效果:
在Android端能够和其他端一致,fixed可以全遮,有可能是fixed和Android route有些偏差,希望能核实一下,谢谢