cover-view能否覆盖webview?

小程序 文章 2020-08-03 11:41 1141 0 全屏看文

AI助手支持GPT4.0

cover-view能否覆盖webview?

我在调试器里不行,但是在真机上可以,体验版里也没有问题,线上版本没试过,但是有看到说线上版本不行?有试过的人能说一下吗?我这边尝试了下,如果是一开始就渲染cover-view的话就不行,如果给它加wx:if,延时加载的话就可以在真机上显示

I can't work in the debugger, but I can do it on the real machine, and there is no problem in the experience version. I haven't tried the online version, but I have seen that the online version is not OK? Can anyone who has tried? I've tried it here. If you want to render cover view at the beginning, it won't work. If you add Wx: if to it, it can be displayed on the real machine with delayed loading

回答:

citizen four:

不能,webview覆盖全组件

Distance:

web-view会自动铺满小程序页面,是不支持其他组件进行覆盖的

微喵网络:

不能

对方正在输入:你好,你那边是尝试过了吗,貌似大部分都说不行,风险太大的话就要去选择其它方向了
微喵网络:不需要尝试,以官方文档为准

-EOF-

AI助手支持GPT4.0