index.wxml 1.49 KB
<wxs src="../../wxs/helper.wxs" module="helper" />
<view class="container">
    <view class="search-bar" bindtap="toSearch">
        <view class="tip">
            <view class="text"><image class="icon" src="../../static/images/search@2x.png"></image>搜索店铺内潮品</view>
        </view>
    </view>
    <view class="shop-info">
        <image class="info-bg" src="{{shopBanner}}"></image>
        <view class="logo-mask"></view>
        <image class="logo" src="{{helper.image(shopInfo.shop_logo, 100, 100)}}" wx:if="{{false}}"></image>
        <text class="name" wx:if="{{false}}">{{shopInfo.shop_name}}</text>
        <view class="fav" wx:if="{{false}}">粉丝:{{favCount}}</view>
    </view>
    <view class="separator"></view>
    <resources 
        floors="{{decorFloors}}"
        floor-index="1"
        bindclickreport="resourceClickReport">
    </resources>
    <view class="product-list">
        <view class="header-filter {{floatFilter ? 'float' : ''}}">
            <view class="filter">
                <product-list-filter bind:sortchange="filterChange"></product-list-filter>
            </view>
        </view>
        <view class="filter-stand-in" hidden="{{!floatFilter}}"></view>
        <view class="list">
            <product-list
                list="{{shopProductList}}"
                show-no-more="{{allLoaded}}"
                show-loading="{{showLoading}}">
            </product-list>
        </view>
    </view>
    <view>
        <copyright></copyright>
    </view>
</view>