<view class="container"><view class="carousel-section"><swiper class="carousel" autoplay="true" duration="400" interval="5000"><block wx:for="{{bannerImg}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['bannerNavToUrl',['$0'],[[['bannerImg','',index]]]]]]]}}" class="carousel-item" bindtap="__e"><image src="{{item.img}}" mode=" scaleToFill"></image></swiper-item></block></swiper></view><view class="type-title-box flex"><view class="title-border"></view><view class="title-content"><block wx:if="{{type==1}}"><text>精品推荐</text></block><block wx:if="{{type==2}}"><text>热门榜单</text></block><block wx:if="{{type==3}}"><text>首发新品</text></block><block wx:if="{{type==4}}"><text>促销单品</text></block></view><view class="title-border"></view></view><view class="goodsList-box"><block wx:for="{{list}}" wx:for-item="ls" wx:for-index="ind" wx:key="ind"><view class="goodsList-item flex"><image src="{{ls.image}}" mode=" scaleToFill"></image><view class="goodsList-content"><view class="title"><text>{{ls.store_name}}</text></view><view class="goods-money flex"><view class="money-box"><view class="money"><text class="font-size-sm">￥</text>{{''+ls.price+''}}</view><view class="otMoney-box"><text class="otMoney">{{"￥"+ls.ot_price}}</text><text class="sales">{{"已售"+ls.sales+"件"}}</text></view></view><view data-event-opts="{{[['tap',[['navTo',['$0'],[[['list','',ind]]]]]]]}}" class="cart iconfont iconcart" bindtap="__e"></view></view></view></view></block></view></view>