Ver Fonte

pk的小光球改成宽度自适应

Changpeng Duan há 5 anos atrás
pai
commit
ee8944e02a
2 ficheiros alterados com 2 adições e 6 exclusões
  1. 0 4
      tv/src/views/pk.vue
  2. 2 2
      tv/src/views/threepk.vue

+ 0 - 4
tv/src/views/pk.vue

@@ -247,7 +247,6 @@
                             this.curgetClassStat();
                         }, 1000);
                         this.GetgetUserList();
-
                         // this.PkEgg = setInterval(() => {
                         //     this.createEgg();
                         // }, 6000);
@@ -255,7 +254,6 @@
                     } else {
                         let Rs = fakeNews(16);
                         that.UniteBreak(Rs);
-
                     }
                 } else {
                     clearInterval(this.PkTimer);
@@ -324,10 +322,8 @@
                     blueFmtSum += item.formatCk
                 });
 
-
                 // pkVal
                 let sumMax = redFmtSum + blueFmtSum;
-                console.log(redFmtSum);
 
                 // 当为0时均分
                 if (sumMax == 0) {

+ 2 - 2
tv/src/views/threepk.vue

@@ -672,7 +672,7 @@
         float: right;
         margin-right: -0.5rem;
         background: url("../static/img/pk/light.png") no-repeat center;
-        background-size: cover;
+        background-size: 100% ;
 
     }
 
@@ -683,7 +683,7 @@
         height: 1.3rem;
         margin-right: -0.5rem;
         background: url("../static/img/pk/light.png") no-repeat center;
-        background-size: cover;
+        background-size: 100% ;
         left: -0.4rem;
         float: left;
     }