|
|
@@ -17,11 +17,11 @@ |
|
|
|
</swiper-item> |
|
|
|
</swiper> |
|
|
|
<!-- 自定义swiper指示器 --> |
|
|
|
<view class="swiper-dots"> |
|
|
|
<!-- <view class="swiper-dots"> |
|
|
|
<text class="num">{{ swiperCurrent + 1 }}</text> |
|
|
|
<text class="sign">/</text> |
|
|
|
<text class="num">{{ swiperLength }}</text> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<!-- 分类 --> |
|
|
|
<view class="cate-section"> |
|
|
@@ -31,16 +31,16 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 秒杀楼层 --> |
|
|
|
<view class="seckill-section m-t" v-if="flashSale && flashSale.product.length > 0"> |
|
|
|
<view class="s-header" @click="navTo('/pages/flash/list')"> |
|
|
|
<text class="miaosha">Promotion</text> |
|
|
|
<view class="seckill-section" v-if="flashSale && flashSale.product.length > 0"> |
|
|
|
<!-- <view class="s-header" @click="navTo('/pages/flash/list')"> --> |
|
|
|
<!-- <text class="miaosha">Promotion</text> --> |
|
|
|
<!-- <text class="tip">{{(new Date(flashSale.starttime*1000)).getHours()}}点场</text> --> |
|
|
|
<text class="tip" v-if="flashSale.countdown">下一场倒计时</text> |
|
|
|
<text class="tip" v-else>{{flashSale.title}}</text> |
|
|
|
<uni-countdown ref="countd" v-if="flashSale.countdown" @timeup="timeup" :show-day="flashSale.countdown.day ? true : false" |
|
|
|
:day="day" :hour="hour" :minute="minute" :second="second" color="#FFFFFF" background-color="#00B26A" border-color="#00B26A"></uni-countdown> |
|
|
|
<text class="yticon icon-you"></text> |
|
|
|
</view> |
|
|
|
<!-- <text class="tip" v-if="flashSale.countdown">下一场倒计时</text> --> |
|
|
|
<!-- <text class="tip" v-else>{{flashSale.title}}</text> --> |
|
|
|
<!-- <uni-countdown ref="countd" v-if="flashSale.countdown" @timeup="timeup" :show-day="flashSale.countdown.day ? true : false" --> |
|
|
|
<!-- :day="day" :hour="hour" :minute="minute" :second="second" color="#FFFFFF" background-color="#00B26A" border-color="#00B26A"></uni-countdown> --> |
|
|
|
<!-- <text class="yticon icon-you"></text> --> |
|
|
|
<!-- </view> --> |
|
|
|
<view class="floor-list-whitelist"> |
|
|
|
<view v-for="(item, index) in flashSale.product" :key="index" class="floor-item" @click="navToDetailPage({ product_id: item.flash_product_id }, flashSale.flash_id)"> |
|
|
|
<view style="width:100%;text-align: center;"> |
|
|
@@ -453,15 +453,16 @@ |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
width: 100%; |
|
|
|
height: 426upx; |
|
|
|
height: 50vw; |
|
|
|
max-height: 400px; |
|
|
|
transition: 0.4s; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.carousel { |
|
|
|
width: 100%; |
|
|
|
height: 400upx; |
|
|
|
|
|
|
|
height: 50vw; |
|
|
|
max-height: 400px; |
|
|
|
.carousel-item { |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|