目前只能在新增的时候设置webview的样式等数据,如何动态的改变webview的样式呢?
// #ifdef APP-PLUS
let currentWebview = this.$mp.page.$getAppWebview();
// #endif
webviewPage = plus.webview.create('', 'baiduid', {
top: (data.height + 190),
height: 200,
position: "static"
});
currentWebview.append(webviewPage);
![44596296](https://img-cdn-tc.dcloud.net.cn/account/identicon/0a64ace2047d909bfd48cc317d2cde02.png)
44596296
- 发布:2020-09-03 09:23
- 更新:2020-09-03 09:23
- 阅读:2691
0 个回复