组件:Image
调试基础库:2.11.0
手机型号:小米米x(微信、Android版本不详)、Lex720(微信 7.0.15、Android:6.0.1)、华为Mate30(微信 7.0.15、Android:10)
问题描述:
无法加载本地的图片资源,主要集中在Android平台,IOS平台暂时没有发现。
代码
<view class="container management">
<view class="heytzHeaderBar">
....
<view class="moto-bg">
<image class="banner-img" mode='widthFix' src="/images/img/heytzLock_banner_orange.png"></image>
....
</view>
</view>
....
</view>
CSS
.heytzHeaderBar {
display: block;
width: 100%;
font-size: 0;
background-color: #fff;
}
.moto-bg{
width: 100%;
min-height: 15.5rem;
}
.banner-img {
width: 100%;
height: auto;
}
现象
错误情况
正常情况
你好,麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)