index.wxml 828 Bytes
Newer Older
李嘉林 committed
1
<!--瀑布流组件-->
李嘉林 committed
2 3 4 5 6
<view
 class="waterfallFlow"
 id="waterfallFlow"
 style="--proGap:{{padding}}rpx"
>
李嘉林 committed
7 8 9 10 11 12 13 14 15 16 17 18 19
	<view class="container flex">
		<view
		 wx:for="{{contentList}}"
		 wx:key="index"
		 class="container-item item{{index}}"
		>
			<view
			 wx:for="{{item}}"
			 wx:for-item="item1"
			 wx:for-index="index1"
			 wx:key="index1"
			 class="imageItem"
			>
20 21 22 23 24
				<defaultCom
				 datas="{{datas}}"
				 items="{{item1}}"
				 indexs="{{2*index+index1}}"
				></defaultCom>
李嘉林 committed
25 26 27
			</view>
		</view>
	</view>
李嘉林 committed
28 29
	<!-- 上拉加载底部展示 -->
	<view class="loadBottom" wx:if="{{datas.componentData.goodsSource == 'classify' && datas.componentData.moreShow == false &&datas.componentData.style == 'waterfall'}}">
李嘉林 committed
30
		<text wx:if="{{loading}}">加载中...</text>
李嘉林 committed
31 32
		<text wx:if="{{ finished}}">暂无更多</text>
	</view>
李嘉林 committed
33 34
</view>