index.wxml 3.4 KB

1
  1. <view class="center"><view class="status_bar"></view><view class="top-search flex"><view data-event-opts="{{[['tap',[['clickSearch']]]]}}" class="search-box flex" bindtap="__e"><image class="search" src="../../static/icon/search-h.png" mode></image><view class="search-font">输入关键词搜索</view></view></view><view class="jg"></view><view class="swiper-wrap"><swiper class="top-swiper" autoplay="true" duration="400" interval="5000" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{carouselList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['bannerNavToUrl',['$0'],[[['carouselList','',index]]]]]]]}}" class="carousel-item" bindtap="__e"><image src="{{item.pic}}"></image></swiper-item></block></swiper></view><view class="jg"></view><view class="cate-section flex"><view data-event-opts="{{[['tap',[['nav',['/pages/index/rxbd']]]]]}}" class="cate-item flex" bindtap="__e"><view class="img-wrapper flex"><image src="../../static/icon/c1.png" mode></image></view><view class="item-title">热销榜</view></view><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="cate-item flex" bindtap="__e"><view class="img-wrapper flex"><image src="../../static/icon/c2.png" mode></image></view><view class="item-title">环球国际</view></view><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="cate-item flex" bindtap="__e"><view class="img-wrapper flex"><image src="../../static/icon/c3.png" mode></image></view><view class="item-title">视频领奖</view></view><view data-event-opts="{{[['tap',[['nav',['/pages/coupon/couponList']]]]]}}" class="cate-item flex" bindtap="__e"><view class="img-wrapper flex"><image src="../../static/icon/c4.png" mode></image></view><view class="item-title">领券中心</view></view><view data-event-opts="{{[['tap',[['nav',['/pages/user/shareQrCode']]]]]}}" class="cate-item flex" bindtap="__e"><view class="img-wrapper flex"><image src="../../static/icon/c5.png" mode></image></view><view class="item-title">邀请有礼</view></view></view><view class="zq-wrap flex"><view data-event-opts="{{[['tap',[['nav',['/pages/index/xfqzq']]]]]}}" class="zq-item" bindtap="__e"><view class="zq-tit">消费券专区</view><view class="item-info flex"><image src="../../static/img/xf-bg.png" mode></image><view class="info-tit"><image src="../../static/icon/ms.png" mode="widthFix"></image></view></view></view><view data-event-opts="{{[['tap',[['nav',['/pages/index/bdzq']]]]]}}" class="zq-item bd" bindtap="__e"><view class="zq-tit">爆品专区</view><view class="item-info flex"><image src="../../static/img/bd-bg.png" mode></image><view class="info-tit"><image src="../../static/icon/bd.png" mode="widthFix"></image></view></view></view></view><view class="product-box"><view class="product-tit flex"><view class="hx"></view><view class="tit">猜您喜欢</view><view class="hx"></view></view><view class="hotgoods"><block wx:for="{{10}}" wx:for-item="item" wx:for-index="__i0__" wx:key="*this"><view data-event-opts="{{[['tap',[['navToDetailPage',['$0'],[[[10,'',__i0__]]]]]]]}}" class="hotgoods-item" bindtap="__e"><view class="image-wrapper"><image class="image" src="../../static/img/bargainBg.jpg" mode="scaleToFill"></image></view><view class="title clamp2">哈哈哈哈哈哈</view><view class="hot-price"><view class="price"><text class="font-size-sm">¥</text>{{''+100*1+''}}</view><view class="yuanPrice">{{2000}}</view></view></view></block></view></view></view>