mzx16822 6 years ago
parent
commit
ad4379b2b9
2 changed files with 9 additions and 15 deletions
  1. 7 13
      public/plugins/layui/css/main.css
  2. 2 2
      resources/views/home/user.blade.php

+ 7 - 13
public/plugins/layui/css/main.css

@@ -147,14 +147,7 @@ body{
     border-radius: 50%;
 }
 .qs-item{padding: 3.8rem 1rem 0;display: none;position: absolute;left: 0;top: 0;z-index: 99;}
-.qs-item .tit{color: #FFF;font-size: .4rem;text-align: center;display: block;margin-bottom: .2rem;
-     -webkit-animation-name: zoomIn;
-    animation-name: zoomIn;
-    -webkit-animation-duration: 1s;
-    animation-duration: 1s;
-    -webkit-animation-fill-mode: both;
-    animation-fill-mode: both;
-}
+.qs-item .tit{color: #FFF;font-size: .4rem;text-align: center;display: block;margin-bottom: .2rem;}
 .qs-item .list{
     margin: 0 auto;
     width: 4.4rem;
@@ -174,16 +167,16 @@ body{
 .qs-item li:nth-child(2n){
     -webkit-animation-name: fadeInLeft;
     animation-name: fadeInLeft;
-    -webkit-animation-duration: 1s;
-    animation-duration: 1s;
+    -webkit-animation-duration: 2s;
+    animation-duration: 2s;
     -webkit-animation-fill-mode: both;
     animation-fill-mode: both;
 }
 .qs-item li:nth-child(2n-1){
     -webkit-animation-name: fadeInRight;
     animation-name: fadeInRight;
-    -webkit-animation-duration: 1s;
-    animation-duration: 1s;
+    -webkit-animation-duration: 2s;
+    animation-duration: 2s;
     -webkit-animation-fill-mode: both;
     animation-fill-mode: both;
 }
@@ -365,7 +358,8 @@ body{
   background-size: 100%;
   /* padding: .1rem; */
 }
-
+.covxlz.doing{display:none}
+.covxlz.end{display:block}
 .percent-circle {
   position:absolute;
   height:100%;

+ 2 - 2
resources/views/home/user.blade.php

@@ -240,7 +240,7 @@ var textCircle   = document.querySelector(".text-circle");
               if(data.user_id == $("#user_id").val()){
                 var score = parseInt($("#py1_score").html());
                 if(data.is_true == 1){
-                  $("#py1_score").html(score+1);
+                  $("#py1_score").html(score+300);
                   $(".cur_answer").addClass("cur_true");
                 }else{
                   $(".cur_answer").addClass("cur_error");
@@ -248,7 +248,7 @@ var textCircle   = document.querySelector(".text-circle");
               }else{
                 if(data.is_true == 1){
                   var score = parseInt($("#py2_score").html());
-                  $("#py2_score").html(score+1);
+                  $("#py2_score").html(score+300);
                 }
               }
               var py1_score = parseInt($("#py1_score").html());