客户端 6.7.2 版本开始,navigationStyle: custom 对 <web-view> 组件无效
navigationStyle: custom
<web-view>
因为无效,现在小程序使用web-view不能全屏,请问要怎样处理吗?谢谢!
请问大佬们解决了吗,急急急,跪求解决方案
不支持
目前不支持此功能,具体请参考文档说明:https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
webview不能全屏的问题有其他的解决方案吗
app.js中加入一下代码,然后在相应的页面引用
wx.setNavigationBarColor({
frontColor: ‘#ffffff’,
backgroundColor: ‘#000000’,
animation: {
duration: 0,
timingFunc: ‘easeIn’
}
})