web-view如何设置大小,且web-view如何被覆盖?cover-view覆盖不到呢。
<view class="container">
<view class="page-body">
<view class="page-section page-section-gap">
<web-view :src="webUrl" class="webViewBox">
<cover-view class="cover-view">
<cover-view class="container">
<cover-view class="flex-wrp" style="flex-direction:row;">
<cover-view class="flex-item demo-text-1"></cover-view>
<cover-view class="flex-item demo-text-2"></cover-view>
<cover-view class="flex-item demo-text-3"></cover-view>
</cover-view>
</cover-view>
</cover-view>
</web-view>
</view>
</view>
</view>
参考一下这个:https://developers.weixin.qq.com/community/develop/doc/000a40ddcac42010f5ba0737c56800?_at=1644910488120
大小无法设置,默认就是直接整个页面的。
认真看文档
https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html#Bug-Tip