index.wxml 1.33 KB
<view class="container">
    <view class='top-search'>
        <view class="search-section" bindtap="toSearch">
            <view class="tip">
                <view class="tip-text"><image class="image-icon" src="../../static/images/search@2x.png"></image>
                    潮流单品搜一下</view>
            </view>
        </view>
    </view>
    <resources
        bindclickreport="resourceClickReport"
        content-code="{{resource.home.top}}" 
        floor-index="1" refresh="{{pullRefresh}}"></resources>
    <view class="separator"></view>
    <view class="recommend-product">
        <view-title title="推荐商品" height="88"></view-title>
        <view class="filter {{floatFilter ? 'float' : ''}}">
            <product-list-filter bind:sortchange="sortChange"></product-list-filter>
        </view>
        <view wx:if="{{floatFilter}}" class="float-holder"></view>
        <view class="list">
            <product-list 
                list="{{productList}}"
                show-no-more="{{showNoMore}}"
                show-loading="{{showLoading}}">
            </product-list>
        </view>
    </view>
    <view>
        <copyright wx:if="{{showCopyright}}"></copyright>
    </view>
    <quick-navigation show-back-top="{{showBackTop}}" show="{{true}}" 
                      bindbacktop="backTop"></quick-navigation>
</view>