Commit e140fc95 by 谢中龙

优化图片加载

parent b5a85426
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
data-item="{{item}}" data-item="{{item}}"
bindtap='onTapToInfo' bindtap='onTapToInfo'
wx:key="*this"> wx:key="*this">
<image mode='widthFix' src='{{item.msgUrl}}'></image> <image mode='widthFix' src='{{item.msgUrl}}' lazy-load></image>
</view> </view>
</view> </view>
<!-- 空 --> <!-- 空 -->
......
...@@ -123,4 +123,5 @@ page { ...@@ -123,4 +123,5 @@ page {
width: 100%; width: 100%;
display: block; display: block;
border-radius: 10rpx; border-radius: 10rpx;
min-height: 40rpx;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment