homwu
homwu
  • 发布:2020-10-15 14:48
  • 更新:2020-10-15 16:11
  • 阅读:819

webview 顶部的tabbar如何去掉

分类:uni-app

顶部的tabbar如何去掉。我要全屏webview

          wv = plus.webview.create("","custom-webview",{  
              plusrequire:"none",  
              'uni-app': 'none', //不加载uni-app渲染层框架,避免样式冲突  
              top:uni.getSystemInfoSync().statusBarHeight+44   
          })  
          wv.loadURL("https://www.baidu.com")  
          var currentWebview = this.$scope.$getAppWebview();plus.webview.currentWebview()  
          currentWebview.append(wv);  
          setTimeout(function() {  
              console.log(wv.getStyle())  
          }, 1000);  
2020-10-15 14:48 负责人:无 分享
已邀请:
homwu

homwu (作者)

uni.hideTabBar(); 试过没用

homwu

homwu (作者)

创建一个vue页面放置web-view,然后再page.js里面
对web-vew
"style": {
"navigationStyle":"custom",
"app-plus":{
"titleView":false
}
}

该问题目前已经被锁定, 无法添加新回复