<!-- 限时活动 --> <view class="time-limited-discount time-limited-discount{{datas.componentData['styleType']}}" style="padding-top:{{datas.componentData.paddingList[0].value*2}}rpx;padding-bottom:{{datas.componentData.paddingList[1].value*2}}rpx;padding-left:{{datas.componentData.paddingList[2].value*2}}rpx;padding-right:{{datas.componentData.paddingList[3].value*2}}rpx;--backgroundColor:{{datas.componentData.backgroundColor}};--titleBackgroundColor:{{datas.componentData.styleTypeSecond['titleBackgroundColor']}}" wx:if="{{!isLoading && !deleteFlag && !hideAll}}"> <!-- 标题 --> <view class="style2" wx:if="{{datas.componentData['styleType'] == 2}}" style="background:{{datas.componentData.styleTypeSecond['titleBackgroundColor']}}"> <view class="topInfo"> <view class="title"> 限时特价 </view> <view class="subheading" wx:if="{{datas.componentData['countDownShow']&&datas.componentData.dimension==0}}"> <view wx:if="{{datas.componentData['endTime']&&endTime>0}}"> <van-count-down use-slot time="{{endTime}}" class="countDown" bind:change="onChange" > <text class="endTimedot">距离活动结束</text> <text class="endTime days">{{ timeData.days }}</text> <text class="endTimedot"></text> <text class="endTime hours">{{ timeData.hours }}</text> <text class="endTimedot"></text> <text class="endTime minute">{{ timeData.minutes }}</text> <text class="endTimedot"></text> <text class="endTime second">{{ timeData.seconds }}</text> </van-count-down> </view> <view class="countDown" wx:elif="{{isLoading}}"> 活动已结束 </view> </view> </view> </view> <view class="tops {{datas.componentData['countDownShow']?'hideCountDown':''}}" wx:else> <view class="topInfo"> <view class="title"> {{datas.componentData.dimension ==0?selectActivityValue:datas.componentData.actTitle}} </view> <view class="subheading" wx:if="{{datas.componentData['countDownShow']&&datas.componentData.dimension==0}}"> <view wx:if="{{datas.componentData['endTime']&&endTime>0}}"> <van-count-down use-slot time="{{endTime}}" class="countDown" bind:change="onChange" > <text class="endTime days">{{ timeData.days }}</text> <text class="endTimedot">天</text> <text class="endTime hours">{{ timeData.hours }}</text> <text class="endTimedot">:</text> <text class="endTime minute">{{ timeData.minutes }}</text> <text class="endTimedot">:</text> <text class="endTime second">{{ timeData.seconds }}</text> </van-count-down> </view> <view class="countDown" wx:elif="{{isLoading}}"> 活动已结束 </view> </view> </view> </view> <!-- 内容 --> <!-- 网格模式 --> <view class="goods" wx:if="{{datas.componentData.style==='list'}}"> <view class="goodsList"> <view class="goodsItem {{datas.componentData.columnNum==2?'style2':'style3'}}" wx:for="{{datas.componentData.goodsList}}" wx:key="index" style="width:{{100/datas.componentData.columnNum}}%" > <view class="goods-item-child {{datas.componentData.columnNum==1?'goods-item-child-flex':''}}"> <view class="imgBox slidebox1"> <view class="goodsPicture" bindtap="onclickProduct" data-items="{{goodsList[index]}}" style="padding:{{datas.componentData.imgSize}}" > <image mode="widthFix" src="{{goodsList[index]['productImgUrl1']}}"></image> <view class="whiteBg" wx:if="{{goodsList[index].oversoldFlag==0&&datas.componentData.goodsList[index].saleQty-0<=0}}"> <view class="cover"> <text>商品</text> <text>售罄</text> </view> </view> </view> </view> <view class="info"> <view class="name"> {{goodsList[index]!=null?goodsList[index]['productName']:'名称'}} </view> <view class="allPrice"> <view> <!-- <text class="price" wx:if="{{((hours-0)+(minute-0)+(second-0))!=0}}">¥{{datas.componentData.goodsList[index]!=null?datas.componentData.goodsList[index]['minPrice']:0}}</text> <text class="price" wx:else>¥{{datas.componentData.goodsList[index]!=null?datas.componentData.goodsList[index]['minPrice']:0}}</text> <text class="delPrice" wx:if="{{((hours-0)+(minute-0)+(second-0))!=0}}">¥{{datas.componentData.goodsList[index]!=null?datas.componentData.goodsList[index]['maxPrice']:0}}</text> --> <view class="delPrice">¥{{goodsList[index]!=null?goodsList[index]['maxPrice']:0}}</view> <view class="price">¥{{goodsList[index]!=null?goodsList[index]['minPrice']:0}}</view> </view> <view class="btn" data-items="{{goodsList[index]}}" catchtap="onclickOrder" > <!-- 立即抢购 --> <view class="antt ant-tianchongtianjia" style="font-size: 36rpx;"></view> </view> </view> </view> </view> </view> </view> </view> <!-- 横向滑动 --> <view class="goods1" wx:elif="{{datas.componentData.style==='across'}}"> <view class="goods-item" wx:for="{{goodsList}}" wx:key="index" > <view class="items"> <view class="imgBox slidebox2"> <view class="goodsPicture" wx:if="{{goodsList[index]!=null}}" style="padding:{{datas.componentData.imgSize}}" data-items="{{goodsList[index]}}" bindtap="onclickProduct" > <image mode="widthFix" src="{{goodsList[index]['productImgUrl']}}"></image> <view class="whiteBg" wx:if="{{goodsList[index].oversoldFlag==0&&goodsList[index].saleQty-0<=0}}"> <view class="cover"> <text>商品</text> <text>售罄</text> </view> </view> </view> </view> <view class="info"> <view class="name"> {{goodsList[index]!=null?goodsList[index]['productName']:'名称'}} </view> <view class="allPrice"> <view> <view class="delPrice">¥{{goodsList[index]!=null?goodsList[index]['maxPrice']:0}}</view> <view class="price">¥{{goodsList[index]!=null?goodsList[index]['minPrice']:0}}</view> </view> <view class="btn" data-items="{{goodsList[index]}}" catchtap="onclickOrder" > <!-- 立即抢购 --> <view class="antt ant-tianchongtianjia" style="font-size: 36rpx;"></view> </view> </view> </view> </view> </view> </view> <!-- 活动列表 --> <activity-list-item wx:if="{{datas.componentData.dimension == 1 && !isLoading}}" wx:for="{{datas.componentData.actList}}" wx:key="index" datas="{{item}}" num="{{index}}" countDownShow="{{datas.componentData['countDownShow']}}" ></activity-list-item> <view wx:if="{{isLoading}}"> <skeleton-block loading="{{isLoading}}" type="{{'row'}}" height="60" row="1" col="1" ></skeleton-block> </view> </view>