index.wxml
1.24 KB
<wxs src="../../wxs/helper.wxs" module="helper" />
<view class="container">
<view class="shop-info">
<image class="info-bg" src="{{shopBanner}}"></image>
<view class="logo-mask"></view>
<view class="info-detail">
<image class="logo" src="{{helper.image(shopInfo.shop_logo, 100, 100)}}"></image>
<text class="name">{{shopInfo.shop_name}}</text>
</view>
</view>
<resources
bindclickreport="resourceClickReport"
content-code="{{resource.home.top}}"
floor-index="1" refresh="{{pullRefresh}}"></resources>
<view class="separator"></view>
<view class="product-list">
<view class="list-head">
<view class="filter {{floatFilter ? 'float' : ''}}">
<product-list-filter bind:sortchange="sortChange"></product-list-filter>
</view>
</view>
<view class="list">
<product-list
bindproductclick="productClick"
list="{{productList}}"
show-no-more="{{showNoMore}}"
show-loading="{{showLoading}}">
</product-list>
</view>
</view>
<view>
<copyright wx:if="{{showCopyright}}"></copyright>
</view>
</view>