|
@@ -276,10 +276,10 @@ export default {
|
|
let intervalId = setInterval(() => {
|
|
let intervalId = setInterval(() => {
|
|
let timeLeft
|
|
let timeLeft
|
|
|
|
|
|
- if (item.countdownMode === '1') {
|
|
|
|
|
|
+ if (item.countdownMode == '1') {
|
|
// 模式1:now() - endDateTime 的时间差
|
|
// 模式1:now() - endDateTime 的时间差
|
|
timeLeft = this.calculateTimePassed(item)
|
|
timeLeft = this.calculateTimePassed(item)
|
|
- } else if (item.countdownMode === '2') {
|
|
|
|
|
|
+ } else if (item.countdownMode == '2') {
|
|
// 模式2:timeDisplay 分钟数倒计时
|
|
// 模式2:timeDisplay 分钟数倒计时
|
|
timeLeft = this.calculateTimeLeftFromDisplay(item)
|
|
timeLeft = this.calculateTimeLeftFromDisplay(item)
|
|
}
|
|
}
|
|
@@ -574,7 +574,6 @@ export default {
|
|
position: fixed;
|
|
position: fixed;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
left: 0;
|
|
- z-index: 999;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.countdown2-box {
|
|
.countdown2-box {
|