123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <navbar parameter='{{parameter}}' logoUrl="{{logoUrl}}"></navbar>
- <view class='index'>
- <view class="indexTip" style="top:{{navH+13}}rpx" hidden="{{iShidden}}">
- <view class="tip acea-row row-between-wrapper">
- <view class="text">点击“<image src="/images/spot.png"></image>”添加到我的小程序, 微信首页下拉即可访问商城。</view>
- <view class="iconfont icon-guanbi1" bindtap="closeTip"></view>
- </view>
- </view>
- <view class='index-bg' wx:if="{{imgUrls.length}}">
- <swiper indicator-dots="true"
- autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#fff">
- <block wx:for="{{imgUrls}}" wx:key='index'>
- <swiper-item>
- <navigator url='{{item.url}}' class='slide-navigator acea-row row-between-wrapper' hover-class='none'>
- <image src="{{item.pic}}" class="slide-image"/>
- </navigator>
- </swiper-item>
- </block>
- </swiper>
- </view>
- <view class='nav acea-row' wx:if="{{menus.length}}">
- <block wx:for="{{menus}}" wx:key='index'>
- <navigator class='item' wx:if="{{item.show == '1'}}" url='{{item.url}}' open-type='switchTab' hover-class='none'>
- <view class='pictrue'><image src='{{item.pic}}'></image></view>
- <view>{{item.name}}</view>
- </navigator>
- <navigator class='item' wx:else url='{{item.url}}' hover-class='none'>
- <view class='pictrue'><image src='{{item.pic}}'></image></view>
- <view>{{item.name}}</view>
- </navigator>
- </block>
- </view>
- <view class='news acea-row row-between-wrapper' wx:if="{{itemNew.length}}">
- <view class='pictrue'><image src='/images/news.png'></image></view>
- <view class='swiperTxt'>
- <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="2500" duration="{{duration}}" vertical="true" circular="true">
- <block wx:for="{{itemNew}}" wx:key='index'>
- <swiper-item catchtouchmove='catchTouchMove'>
- <navigator wx:if="{{item.show == '1'}}" url='{{item.url}}' open-type='switchTab' class='acea-row row-between-wrapper' hover-class='none'>
- <view class='text acea-row row-between-wrapper'>
- <view class='label border2' wx:if="{{item.id%2 == 0}}">最新</view>
- <view class='newsTitle line1'>{{item.info}}</view>
- </view>
- <view class='iconfont icon-xiangyou'></view>
- </navigator>
- <navigator wx:else open-type='navigate' url='{{item.url}}' class='acea-row row-between-wrapper' hover-class='none'>
- <view class='text acea-row row-between-wrapper'>
- <view class='label border2' wx:if="{{item.id%2 == 0}}">最新</view>
- <view class='newsTitle line1'>{{item.info}}</view>
- </view>
- <view class='iconfont icon-xiangyou'></view>
- </navigator>
- </swiper-item>
- </block>
- </swiper>
- </view>
- </view>
- <view class='specialArea acea-row row-between-wrapper' wx:if="{{activityList.length}}">
- <block wx:for="{{activityList}}" wx:key='index'>
- <navigator class='assemble' url='{{item.link}}' wx:if="{{index < 1}}">
- <image src='{{item.pic}}'></image>
- <view class='text'>
- <view class='name'>{{item.title}}</view>
- <view class='infor'>{{item.info}}</view>
- </view>
- </navigator>
- </block>
- <view class='list acea-row row-column-between'>
- <block wx:for="{{activityList}}" wx:key='index'>
- <navigator class='item' url='{{item.link}}' wx:if="{{index > 0}}">
- <image src='{{item.pic}}'></image>
- <view class='text'>
- <view class='name'>{{item.title}}</view>
- <view class='infor'>{{item.info}}</view>
- </view>
- </navigator>
- </block>
- </view>
- </view>
- <view class="liveBroadcast" wx:if='{{liveList.length || liveInfo.roomid}}'>
- <view class="title">热门直播</view>
- <!-- end:结束;time:直播时间 -->
- <navigator wx:if='{{liveInfo.roomid}}' hover-class="none" url="plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id={{liveInfo.roomid}}" class="broadcast time">
- <view class="pictrue">
- <image src="{{liveInfo.cover_img}}"></image>
- <view class="label" wx:if='{{liveInfo.live_status == 101}}'><text class="iconfont icon-zhibo"></text>直播中</view>
- <view class="label" wx:if='{{liveInfo.live_status == 103}}'><text class="iconfont icon-zhibojieshux"></text>已结束</view>
- <view class="label" wx:if='{{liveInfo.live_status == 102}}'><text class="iconfont icon-shijian"></text>直播时间 {{liveInfo._start_time}}</view>
- </view>
- <view class="text line1">{{liveInfo.name}}</view>
- </navigator>
- <view class="list" wx:if="{{liveList.length}}">
- <scroll-view class="scroll-view_x" scroll-x style="width:auto;overflow:hidden;">
- <navigator hover-class="none" wx:for='{{liveList}}' wx:key='index' url="plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id={{item.roomid}}" class="item">
- <view class="pictrue">
- <image src="{{item.cover_img}}"></image>
- <view class="label" wx:if='{{item.live_status == 101}}'><text class="iconfont icon-zhibo"></text>直播中</view>
- <view class="label" wx:if='{{item.live_status == 103}}'><text class="iconfont icon-zhibojieshux"></text>已结束</view>
- <view class="label" wx:if='{{item.live_status == 102}}'><text class="iconfont icon-shijian"></text>直播时间 {{item._start_time}}</view>
- </view>
- <view class="text line1">{{item.name}}</view>
- </navigator>
- </scroll-view>
- </view>
- </view>
- <view class='wrapper' wx:if="{{fastList.length}}">
- <view class='title acea-row row-between-wrapper'>
- <view class='text'>
- <view class='name line1'>快速选择</view>
- <view class='line1'>{{fastInfo}}</view>
- </view>
- <navigator class='more' url='/pages/goods_cate/goods_cate' open-type='switchTab'>更多<text class='iconfont icon-jiantou'></text></navigator>
- </view>
- <view class='scroll-product'>
- <scroll-view class="scroll-view_x" scroll-x style="width:auto;overflow:hidden;">
- <block wx:for="{{fastList}}" wx:key='index'>
- <navigator hover-class="none" class='item' url='/pages/goods_list/goods_list?sid={{item.id}}&title={{item.cate_name}}'>
- <view class='img-box'>
- <image src='{{item.pic}}'></image>
- </view>
- <view class='pro-info line1'>{{item.cate_name}}</view>
- </navigator>
- </block>
- </scroll-view>
- </view>
- </view>
- <view class='wrapper' wx:if="{{bastList.length}}">
- <view class='title acea-row row-between-wrapper'>
- <view class='text'>
- <view class='name line1'>精品推荐</view>
- <view class='line1'>{{bastInfo}}</view>
- </view>
- <navigator class='more' hover-class="none" url='/pages/first-new-product/index?type=1'>更多<text class='iconfont icon-jiantou'></text></navigator>
- </view>
- <view class='boutique'>
- <swiper autoplay="true" indicator-dots="true"
- circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" indicator-color="rgba(252,65,65,0.3)" indicator-active-color="#fc4141">
- <block wx:for="{{bastBanner}}" wx:key='index'>
- <swiper-item>
- <navigator url='{{item.link}}' style='width:100%;height:100%;' hover-class='none'>
- <image src="{{item.img}}" class="slide-image" data-idx='{{index}}'/>
- </navigator>
- </swiper-item>
- </block>
- </swiper>
- </view>
- <goodList bastList="{{bastList}}"></goodList>
- </view>
- <view class='hotList' wx:if="{{likeInfo.length}}">
- <view class='hot-bg'>
- <view class='title acea-row row-between-wrapper'>
- <view class='text line1'><text class='label'>热门榜单</text>根据销量、搜索、好评等综合得出</view>
- <navigator class='more' hover-class="none" url='/pages/first-new-product/index?type=2'>更多<text class="iconfont icon-jiantou"></text></navigator>
- </view>
- </view>
- <view class='list acea-row row-middle'>
- <block wx:for="{{likeInfo}}" wx:key='index'>
- <navigator class='item' url='/pages/goods_details/index?id={{item.id}}'>
- <view class='pictrue'>
- <image src='{{item.image}}'></image>
- <image wx:if="{{index == 0}}" src='/images/one.png' class='numPic'></image>
- <image wx:elif="{{index == 1}}" src='/images/two.png' class='numPic'></image>
- <image wx:elif="{{index == 2}}" src='/images/three.png' class='numPic'></image>
- </view>
- <view class='name line1'>{{item.store_name}}</view>
- <view class='money font-color'>¥<text class='num'>{{item.price}}</text></view>
- </navigator>
- </block>
- </view>
- </view>
- <view class='adver' wx:if="{{newGoodsBananr}}">
- <block>
- <image src='{{newGoodsBananr}}'></image>
- </block>
- </view>
- <view class='wrapper' wx:if="{{firstList.length}}">
- <view class='title acea-row row-between-wrapper'>
- <view class='text'>
- <view class='name line1'>首发新品<text class='new font-color'>NEW~</text></view>
- <view class='line1'>{{firstInfo}}</view>
- </view>
- <navigator class='more' hover-class="none" url='/pages/first-new-product/index?type=3'>更多<text class='iconfont icon-jiantou'></text></navigator>
- </view>
- <view class='newProducts'>
- <scroll-view class="scroll-view_x" scroll-x style="width:auto;overflow:hidden;">
- <block wx:for="{{firstList}}" wx:key='index'>
- <view class='item'>
- <view class='img-box' bindtap="goDetail" data-items='{{item}}'>
- <image src='{{item.image}}'></image>
- <text class="pictrue_log_medium pictrue_log_class" wx:if="{{item.activity && item.activity.type ==='1'}}">秒杀</text>
- <text class="pictrue_log_medium pictrue_log_class" wx:if="{{item.activity && item.activity.type === '2'}}">砍价</text>
- <text class="pictrue_log_medium pictrue_log_class" wx:if="{{item.activity && item.activity.type === '3'}}">拼团</text>
- </view>
- <view class='pro-info line1'>{{item.store_name}}</view>
- <view class='money font-color'>¥{{item.price}}</view>
- </view>
- </block>
- </scroll-view>
- </view>
- </view>
- <view class='wrapper' wx:if="{{benefit.length}}">
- <view class='title acea-row row-between-wrapper'>
- <view class='text'>
- <view class='name line1'>促销单品</view>
- <view class='line1'>{{salesInfo}}</view>
- </view>
- <navigator class='more' hover-class="none" url='/pages/promotional-items/index'>更多<text class='iconfont icon-jiantou'></text></navigator>
- </view>
- <promotionGood benefit="{{benefit}}"></promotionGood>
- </view>
- </view>
- <coupon-window window='{{window}}' couponList="{{couponList}}" bind:onColse="onColse"></coupon-window>
- <home></home>
|