//
var that = this
that.statusBarHeight = uni.getSystemInfoSync().statusBarHeight
var link = '/hybrid/html/index.html'
var w = plus.webview.create(link, 'id', {
top: uni.getSystemInfoSync().statusBarHeight + 44 ,//放置在titleNView下方。如果还想在webview上方加个地址栏的什么的,可以继续降低TOP值
//因为设置top之后 webview的高度依然不变会往下移 底部会被遮住 所以设置一下高度
height: uni.getSystemInfoSync().windowHeight - 44 - uni.getSystemInfoSync().statusBarHeight,
}, {preload: 'preload webview'})
var currentWebview = this.$mp.page.$getAppWebview() //获取当前页面的webview对象
currentWebview.append(w)
//