<view class="resources"> <view wx:for="{{floors}}" wx:key="{{index}}" bindclickreport="report"> <shop-carousel bindclickreport="report" wx:if="{{item.module_type == 'CarouselImage'}}" data="{{item.data}}" properties="{{item.properties}}" padding-class="{{'padding-bottom-20'}}" floor-id="{{item.template_id}}" floor-name="{{item.module_type}}" floor-index="{{item.module_order}}"> </shop-carousel> <shop-single-image bindclickreport="report" wx:if="{{item.module_type == 'SingleImage'}}" data="{{item.data}}" properties="{{item.properties}}" padding-class="{{'padding-bottom-20'}}" floor-id="{{item.template_id}}" floor-name="{{item.module_type}}" floor-index="{{item.module_order}}"> </shop-single-image> <shop-double-image bindclickreport="report" wx:if="{{item.module_type == 'DoubleImage'}}" data="{{item.data}}" properties="{{item.properties}}" padding-class="{{'padding-bottom-20'}}" floor-id="{{item.template_id}}" floor-name="{{item.module_type}}" floor-index="{{item.module_order}}"> </shop-double-image> <shop-four-image bindclickreport="report" wx:if="{{item.module_type == 'FourImage'}}" data="{{item.data}}" properties="{{item.properties}}" padding-class="{{'padding-bottom-20'}}" floor-id="{{item.template_id}}" floor-name="{{item.module_type}}" floor-index="{{item.module_order}}"> </shop-four-image> <shop-triple-image bindclickreport="report" wx:if="{{item.module_type == 'TripleImage'}}" data="{{item.data}}" properties="{{item.properties}}" floor-id="{{item.template_id}}" floor-name="{{item.module_type}}" floor-index="{{item.module_order}}"> </shop-triple-image> <shop-title bindclickreport="report" wx:if="{{item.module_type == 'Title'}}" data="{{item.data}}" properties="{{item.properties}}" floor-id="{{item.template_id}}" floor-name="{{item.module_type}}" floor-index="{{item.module_order}}"> </shop-title> </view> </view>