<image mode="aspectFill"
|
src="{{banner.imgUrl}}"></image>
|
|
<view class="waprbox">
|
|
<view data-index="{{index}}" bindtap="changeTab" class="chagnciBox {{index==currentTab?'active':''}} " wx:for="{{activitList}}" wx:key="ids" >
|
<view >{{item.title}}</view>
|
<view wx:if="{{item.isStart==ACTIVE_STATUS_NOT_START}}" >未开始</view>
|
<view wx:if="{{item.isStart==ACTIVE_STATUS_ING}}" >秒杀中</view>
|
</view>
|
|
</view>
|
|
|
<view class="msdjs">
|
|
<!-- 活动状态显示-->
|
<block wx:if="{{currentActiveInfo.isStart==ACTIVE_STATUS_NOT_START}}" >
|
<view class="msTitle">{{currentActiveInfo.title}}即将开场</view>
|
<view class="msendTitle" >距离开始还有 <text>{{currentActiveInfo.djs.day}}:{{currentActiveInfo.djs.hour}}:{{currentActiveInfo.djs.minute}}:{{currentActiveInfo.djs.second}}</text></view>
|
</block>
|
|
<block wx:if="{{currentActiveInfo.isStart==ACTIVE_STATUS_ING}}" >
|
<view class="msTitle">{{currentActiveInfo.title}}秒杀中</view>
|
<view class="msendTitle" >距离结束还有 <text>{{currentActiveInfo.djs.day}}:{{currentActiveInfo.djs.hour}}:{{currentActiveInfo.djs.minute}}:{{currentActiveInfo.djs.second}}</text></view>
|
</block>
|
|
<block wx:if="{{currentActiveInfo.isStart==ACTIVE_STATUS_END}}" >
|
<view class="msTitle gray">{{currentActiveInfo.title}}已结束</view>
|
</block>
|
|
<!-- 活动状态显示结束-->
|
|
|
|
<scroll-view>
|
<view wx:for="{{productList}}" class="msItemBox" data-id="{{item.id}}"
|
bindtap="intoDetail" >
|
<image src="{{item.goods.imgMobile}}"></image>
|
<view class="productInfoBox">
|
<view class="productTitle">{{item.goods.title}}</view>
|
<view class="msMsg" >
|
<view class="ms_Lmsg" >
|
<view class="price">¥{{item.siPrice}}</view>
|
<view class="gray hxj" >原价¥{{item.goods.price}}</view>
|
</view>
|
<view class="ms_Rmsg">
|
<view class="gray" >剩余{{item.siCount}}件</view>
|
<view wx:if="{{currentActiveInfo.isStart==ACTIVE_STATUS_ING}}" class="btn">马上抢</view>
|
<view wx:if="{{currentActiveInfo.isStart==ACTIVE_STATUS_END}}" class="btn gray_bg">活动结束</view>
|
</view>
|
</view>
|
</view>
|
</view>
|
|
</scroll-view>
|
|
<view wx:if="{{productList.length==0}}" class="nodata">暂无数据</view>
|
|
<view wx:if="{{productList.length!=0&&isEnd}}" class="nodata " >没有更多了</view>
|
|
|
|
</view>
|