You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<view><block wx:if="{{showHeader}}"><view class="status" style="{{'position:'+(headerPosition)+';'+('top:'+(statusTop)+';')+('opacity:'+(afterHeaderOpacity)+';')}}"></view></block><block wx:if="{{showHeader}}"><view class="header" style="{{'position:'+(headerPosition)+';'+('top:'+(headerTop)+';')+('opacity:'+(afterHeaderOpacity)+';')}}"><view class="addr"><view class="icon location"></view>{{''+city+''}}</view><view class="input-box"><input placeholder="默认关键字" placeholder-style="color:#c0c0c0;" data-event-opts="{{[['tap',[['toSearch']]]]}}" bindtap="__e"/><view class="icon search"></view></view><view class="icon-btn"><view data-event-opts="{{[['tap',[['toMsg',['$event']]]]]}}" class="icon tongzhi" bindtap="__e"></view></view></view></block><block wx:if="{{showHeader}}"><view class="place"></view></block><view class="swiper"><view class="swiper-box"><swiper circular="true" autoplay="true" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{swiperList}}" wx:for-item="swiper" wx:for-index="__i0__" wx:key="id"><swiper-item><image src="{{swiper.img}}" data-event-opts="{{[['tap',[['toSwiper',['$0'],[[['swiperList','id',swiper.id]]]]]]]}}" bindtap="__e"></image></swiper-item></block></swiper><view class="indicator"><block wx:for="{{swiperList}}" wx:for-item="swiper" wx:for-index="index" wx:key="index"><view class="{{['dots',currentSwiper>=index?'on':'']}}"></view></block></view></view></view><view class="banner"><image src="/static/img/banner.jpg"></image></view><view class="goods-list"><view class="title"><image src="/static/img/hua.png"></image>猜你喜欢<image src="/static/img/hua.png"></image></view><view class="product-list"><block wx:for="{{productList}}" wx:for-item="product" wx:for-index="__i1__" wx:key="goods_id"><view data-event-opts="{{[['tap',[['toGoods',['$0'],[[['productList','goods_id',product.goods_id]]]]]]]}}" class="product" bindtap="__e"><image mode="widthFix" src="{{product.img}}"></image><view class="name">{{product.name}}</view><view class="info"><view class="price">{{product.price}}</view><view class="slogan">{{product.slogan}}</view></view></view></block></view><view class="loading-text">{{loadingText}}</view></view></view>
|