|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-04-12 17:33:42
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-04-24 19:01:45
|
|
|
|
|
* @LastEditTime: 2022-04-25 11:56:49
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -11,8 +11,9 @@
|
|
|
|
|
<view class="seckill--price-box" v-if="activityStatus === 'noStartActivity'">
|
|
|
|
|
<text class="seckill--price-icon">¥</text>
|
|
|
|
|
<text class="seckill--price">{{data.originalPrice}}</text>
|
|
|
|
|
<text class="seckill--price-icon">起</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="seckill--price-box " v-else>
|
|
|
|
|
<view class="seckill--price-box" v-else>
|
|
|
|
|
<text class="seckill--price-icon">¥</text>
|
|
|
|
|
<text class="seckill--price">{{data.activityPrice}}</text>
|
|
|
|
|
<text class="seckill--price-org">¥{{data.originalPrice}}</text>
|
|
|
|
@ -21,7 +22,7 @@
|
|
|
|
|
<view class="seckill--timer-title">
|
|
|
|
|
{{activityStatus === 'startActivity' ? '距结束仅剩' : '即将开始秒杀' }}
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="isDay" class="seckill--date">{{startDate}}开始</view>
|
|
|
|
|
<view v-if="!isDay" class="seckill--date">{{startDate}}开始</view>
|
|
|
|
|
<view v-else class="seckill--timer">
|
|
|
|
|
<view>{{hours}}</view>
|
|
|
|
|
<text>:</text>
|
|
|
|
@ -141,32 +142,37 @@ export default {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 0 20rpx 0 260rpx;
|
|
|
|
|
padding: 0 20rpx 0 27rpx;
|
|
|
|
|
background-image: url('@/static/goods/seckill.png');
|
|
|
|
|
background-repeat : no-repeat;
|
|
|
|
|
background-size: 100%;
|
|
|
|
|
&__start{
|
|
|
|
|
padding: 0 20rpx 0 108rpx;
|
|
|
|
|
background-image: url('@/static/goods/seckill_start.png');
|
|
|
|
|
.seckill--price-icon,.seckill--price{
|
|
|
|
|
color: $color-grey0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
&--price-box{
|
|
|
|
|
padding-top: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
&--price-icon{
|
|
|
|
|
color: $color-grey0;
|
|
|
|
|
color: $color-yellow4;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
}
|
|
|
|
|
&--price{
|
|
|
|
|
color: $color-grey0;
|
|
|
|
|
color: $color-yellow4;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 50rpx;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
&--price-org{
|
|
|
|
|
color: $color-grey0;
|
|
|
|
|
text-decoration: line-through;
|
|
|
|
|
margin-left: 15rpx;
|
|
|
|
|
margin-left: 6rpx;
|
|
|
|
|
}
|
|
|
|
|
&--timer-title{
|
|
|
|
|
margin: 20rpx 0 10rpx 0;
|
|
|
|
|