waterfall-layout icon indicating copy to clipboard operation
waterfall-layout copied to clipboard

添加业务代码后,无法根据计算图片高度,求解

Open plamYuan opened this issue 3 years ago • 3 comments

{{item.title}}

plamYuan avatar Mar 16 '21 14:03 plamYuan

<waterfall custom-class="waterfall-box" loading="true" isAllLoaded="true"> <waterfall-item custom-class="product-item-box" wx:for="{{list}}" wx:key="index"> <view > <image src="{{item.img_url}}" mode="aspectFill" class="round-small" ></image> <view>{{item.title}}</view> </view> </waterfall-item> </waterfall>

plamYuan avatar Mar 16 '21 14:03 plamYuan

image

plamYuan avatar Mar 16 '21 14:03 plamYuan

image 如果 mode="widthFix"的时候,就会出现一些不知名的间距,还是没达到需要的效果

plamYuan avatar Mar 16 '21 14:03 plamYuan