Browse Source

样式微调

xdd 1 ngày trước cách đây
mục cha
commit
d5caf6dc61
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      pages/index/index.vue

+ 2 - 3
pages/index/index.vue

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