index.wxml 1.04 KB
<scroll-view wx:if="{{floorData.data.data.prdList && floorData.data.data.prdList.length}}" 
             class="resource-collage-buy-prd-list" scroll-x="true">
    <block wx:for="{{floorData.data.data.prdList}}" wx:key="{{index}}" wx:for-item="item">
        <view
              floor-data="{{floorData}}"
              floor-idx="{{floorIdx}}"
              item-idx="{{index}}"
              class="product-item" 
              bindtap="checkDetail" 
              data-product-skn="{{item.productSkn}}"
              data-activity-id="{{item.activityId}}">
            <format-img src="{{item.defaultImages}}" width="188" height="250"></format-img>
            <view class="product-name">{{item.brandName}}</view>
            <view class='product-price-wrap'>
                <text class='product-price'>{{item.formatCollagePrice}}</text>
                <text class='product-market-price'>{{item.marketPrice}}</text>
            </view>
            <view class='product-joinnum'>{{item.collagedPersonNum}} 人已拼</view>
        </view>
    </block>
</scroll-view>