问题模块 | 框架类型 | 问题类型 | 操作系统 | 工具版本 |
---|---|---|---|---|
开发者工具 | 小程序 | Bug | Windows | 2.7.4 |
- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
wxml:
<view class='whole'> </view>
wxss:
page{
width:100%;
height:100%;
overflow: hidden;
}
.whole{
width:100%;
height:100%;
background: url('https://c-ssl.duitang.com/uploads/item/201509/05/20150905124025_4rWxJ.thumb.1900_0.jpeg');
background-size: cover;
}
背景图用的是网络图片,微信开发者工具可以显示,真机测试就显示不出来