赞
踩
废话不说直接上代码
<!-- HTML --!> <navigation id='Navigation' show-search='{ {true}}'></navigation> <view class="container"> <view class="type-container-boxx"> <!-- 分类 --> <view class="type-container"> <view wx:for-items="{ {firstclasslist}}" wx:key="id" class="type-box" bindtap="firstclassClick" id="{ {item.id}}"> <view class="type-navbar-item { {classid == item.id ? 'type-item-on' : ''}}"> { { item.name}} </view> </view> </view> <view class="type-list"> <!-- 分类轮播图 --> <view class="swiper-container"> <swiper class="swiper_box" autoplay="{ {autoplay}}" interval="{ {interval}}" duration="{ {duration}}" bindchange="swiperchange"> <block wx:for="{ {banners}}" wx:key="id"> <swiper-item> <image bindtap="toDetailsTap" data-id="{ {item.businessId}}" src="{ {item.picUrl}}_m" class="slide-image" mode="widthFix" /> </swiper-item> </block> </swiper> <view class="dots"> <block wx:for="{ {banners}}" wx:key="unique"> <view class="dot{ {index == swiperCurrent ? ' active' : ''}}"></view> </block> </view> </view> <!-- 分类商品 --> <view class="type-menu"> <view class="type-level-box" wx:for="{ {twoclasslist}}" wx:key="id"> <view id="{ {item.id}}" class="type-level-item " bindtap="levelClick" data-id="{ {item.id}}"> <image class="type-img" src="http://shop.linkeddream.com{ {item.pic}}"></image> <text>{ { item.name}}</text> </view> </view> </view> </view> </view> </view> <view hidden="{ {search}}" class="search-box { {iponesc}}"> <view hidden="{ {searchidden}}" class="goods-box" wx:for-items="{ {searchs}}" wx:key="index" bindtap="toDetailsTap" data-id="{ {item.id}}"> <view class="img-box"> <image src="{ {item.pic}}_m" class="image" mode="widthFix" lazy-load="true" /> <view class="goods-characteristic"> <text>{ { item.characteristic}}</text> </view> </view> <view class="goods-title">{ { item.name}}</view> <view style='display:flex;'> <view class="goods-price">Ұ{ { item.minPrice}}</view> <view class="goods-price-naver">已售{ { item.numberOrders}}</view> </view> </view> <view hidden="{ {nonehidden}}" class=<
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。