You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.0 KiB
68 lines
3.0 KiB
<title title="特惠新品"></title>
|
|
<view class="sale-types">
|
|
<view class="sale-type{{type==0?' active':''}}" bindtap="changeType" data-type="0">特惠新品</view>
|
|
<view class="sale-type{{type==1?' active':''}}" bindtap="changeType" data-type="1">新品推荐</view>
|
|
</view>
|
|
<view style="height:87rpx"></view>
|
|
<view wx:if="{{type==0}}">
|
|
<view class="list" wx:for="{{list}}" wx:for-item="activity">
|
|
<view class="sale-tip-box">
|
|
<view class="sale-time">{{activity.title}}</view>
|
|
<view class="sale-time-djs" wx:if="{{type==0 && activity.is_end==1}}">活动已结束</view>
|
|
<view class="sale-time-djs" wx:if="{{type==0 && activity.is_end!=1}}">
|
|
<text>距结束</text>
|
|
<view class="time-box">{{activity.day}}</view>
|
|
<text>天 </text>
|
|
<view class="time-box">{{activity.hour}}</view>
|
|
<text>:</text>
|
|
<view class="time-box">{{activity.minute}}</view>
|
|
<text>:</text>
|
|
<view class="time-box">{{activity.second}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="item" wx:for="{{activity.fast_sales_sku}}" bindtap="gotoDetail" data-item="{{item}}">
|
|
<view class="image-box">
|
|
<image class="border-img" src="https://static.ticket.sz-trip.com/xcxImages/activity/border.png" mode="aspectFill"></image>
|
|
<image src="{{item.sku.product.type=='movie'?item.sku.product.headimg:item.sku.headimg}}" mode="aspectFill"></image>
|
|
</view>
|
|
<view class="right-info">
|
|
<view class="textOver2 title">{{item.sku.product.title +item.sku.sku_name}}</view>
|
|
<view class="sale-number">已抢{{item.sales}}件</view>
|
|
<view class="item-bottom">
|
|
<view class="price">
|
|
<text>¥</text>
|
|
<text>{{item.price/100}}</text>
|
|
<!-- <text>¥{{item.sku.market_price/100}}</text> -->
|
|
</view>
|
|
<view class="btn" wx:if="{{type==0}}">马上抢</view>
|
|
<view class="btn" wx:else>即将开抢</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:else class="list">
|
|
<view class="item" wx:for="{{list}}" bindtap="gotoDetail" data-item="{{item}}">
|
|
<view class="image-box">
|
|
<image class="border-img" src="https://static.ticket.sz-trip.com/xcxImages/activity/border.png" mode="aspectFill"></image>
|
|
<image src="{{item.headimg}}" mode="aspectFill"></image>
|
|
</view>
|
|
<view class="right-info">
|
|
<view class="textOver2 title">{{item.title}}</view>
|
|
<view class="sale-number">已抢{{item.sales_number}}件</view>
|
|
<view class="item-bottom">
|
|
<view class="price">
|
|
<text>¥</text>
|
|
<text>{{item.price/100}}</text>
|
|
<!-- <text>¥{{item.market_price/100}}</text> -->
|
|
</view>
|
|
<view class="btn">马上抢</view>
|
|
<!-- <view class="btn" wx:else>即将开抢</view> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{list.length==0}}" class="common-empty" style="z-index:-1">
|
|
<image mode="widthFix" src="https://static.ticket.sz-trip.com/xcxImages/other/nodata.png"></image>
|
|
<view>暂无内容</view>
|
|
</view>
|