embed = plus.webview.create(url, 'embed', {
statusbar: {
background: "#ff7e00"
},
type: "transparent",
top: '0px',
bottom: '0px',
position: 'dock',
dock: 'bottom',
bounce: 'vertical',
videoFullscreen: "portrait-primary",
scalable: true,
contentAdjust: false,
blockNetworkImage:true
});
- 发布:2020-05-16 22:28
- 更新:2020-05-17 09:35
- 阅读:724
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: WINDOW10
HBuilderX类型: Alpha
HBuilderX版本号: 2.7.3
手机系统: iOS
手机系统版本号: iOS 13.4
手机厂商: 苹果
手机机型: IPHONE 7
页面类型: vue
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
embed = plus.webview.create(url, 'embed', {
statusbar: {
background: "#ff7e00"
},
type: "transparent",
top: '0px',
bottom: '0px',
position: 'dock',
dock: 'bottom',
bounce: 'vertical',
videoFullscreen: "portrait-primary",
scalable: true,
contentAdjust: false,
blockNetworkImage:true
});
embed = plus.webview.create(url, 'embed', {
statusbar: {
background: "#ff7e00"
},
type: "transparent",
top: '0px',
bottom: '0px',
position: 'dock',
dock: 'bottom',
bounce: 'vertical',
videoFullscreen: "portrait-primary",
scalable: true,
contentAdjust: false,
blockNetworkImage:true
});
预期结果:
静止加载图片
静止加载图片
实际结果:
设置后无效
设置后无效
bug描述:
WEBVIEW 设置 blockNetworkImage 设置后无效 照样加载图片
2 个回复
s***@sohu.com
毁
c***@163.com (作者) - dadashen1
社么意思?