this.wv = plus.webview.create“hybrid/html/login.html”, 'webview-template-no-header', {
top: '0px', //放置在titleNView下方。如果还想在webview上方加个地址栏的什么的,可以继续降低TOP值
bottom: '0px',
scalable: true,
backButtonAutoControl: "close"
}, this.extras || {});
let currentWebview = this.$mp.page.$getAppWebview(); //获取当前页面的webview对象
currentWebview.append(this.wv);
5***@qq.com (作者)
可以了,但是为啥需要这要设置呢,我之前试了html和body的height设置为100%也是不行的
2020-11-30 11:02