<canvas id = 'mengban' canvas-id='mengban' wx:if="{{iphoneShow}}" style='height:{{window_width}}px; width:{{window_width}}px; position: absolute; top:0; z-index: 10000' catchtouchstart='getTouchStart' catchtouchend='getTouchEnd' catchtouchmove='getTouchMove'>
<cover-view class = 'intro'></cover-view>
</canvas>
想让 cover-view 将整个手机屏幕挡住,求助,怎么办?
tip
: 建议子节点不要溢出父节点
tip里有不建议溢出,意思应该是可以溢出。
.intro{
width: 100%;
height: 200%;
background-color: rgb(0, 192, 253);
}