<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>

</canvas>

想让   cover-view  将整个手机屏幕挡住,【HTML 51】调用webview 组件时手机上的一个问题。求助,怎么办?

  1. tip: 建议子节点不要溢出父节点

tip里有不建议溢出,意思应该是可以溢出。

本文来自微信小程序开发 http://html51.com,转载请保留。

网友回复:

帅***:

.intro{

width: 100%;

height: 200%;

background-color: rgb(0, 192, 253);

}

帅***:系统记录[HTML51]app.json的window的backgroundColor设置无效

爱盈利-运营小咖秀(www.aiyingli.com) 始终坚持研究分享移动互联网App运营推广经验、策略、全案、渠道等纯干货知识内容;是广大App运营从业者的知识启蒙、成长指导、进阶学习的集聚平台;

想了解更多移动互联网干货知识,请关注微信公众号运营小咖秀(ID: yunyingshow)