小程序开发时,用web-view引入的外部页面,怎么去掉小程序自带的头部导航栏让整个页面全屏显示呢?

小程序 文章 2021-02-01 17:01 3258 0 全屏看文

AI助手支持GPT4.0

小程序开发时,用web-view引入的外部页面,怎么去掉小程序自带的头部导航栏让整个页面全屏显示呢?When developing an applet, how can I remove the head navigation bar of the applet and display the entire page in full screen when using the external page introduced by web-view?

小程序开发时,用web-view引入的外部页面,怎么去掉小程序自带的头部导航栏让整个页面全屏显示呢?

就是这个导航栏,怎么去掉它,让他全屏显示啊,我试过在页面的json文件中写navigationStyle:custom,但是依旧去不掉

This is the navigation bar. How can I get rid of it and let it display in full screen? I tried to write navigationstyle: Custom in the JSON file of the page, but I still can't get rid of it

回答:

社区技术运营专员-Jahozheng:

胶囊按钮不支持自定义

brave:

跨商通:

在webview的页面里,导航栏无法隐藏,custom也不行。

-EOF-

AI助手支持GPT4.0