mzx16822 6 years ago
parent
commit
cf6ca369e7
1 changed files with 5 additions and 2 deletions
  1. 5 2
      public/h5/datigame/js/common.js

+ 5 - 2
public/h5/datigame/js/common.js

@@ -189,12 +189,15 @@ common={
 	                leftContent.setAttribute('style', 'transform: rotate(' + _this.data.angle + 'deg)')
 	                leftContent.setAttribute('style', 'transform: rotate(' + _this.data.angle + 'deg)')
 	            }
 	            }
 	        }
 	        }
-	        $(".text-circle").removeClass("rubberBand");
-	        $(".text-circle").removeClass("animated");
+	        
 	        if(_this.data.sum<4){
 	        if(_this.data.sum<4){
 
 
 	        	$(".text-circle").addClass("rubberBand");
 	        	$(".text-circle").addClass("rubberBand");
 	        	$(".text-circle").addClass("animated");
 	        	$(".text-circle").addClass("animated");
+	        	setTimeout(function(){
+	        		$(".text-circle").removeClass("rubberBand");
+	        		$(".text-circle").removeClass("animated");
+	        	},1000)
 	        }
 	        }
 	        
 	        
 	        if (_this.data.sum < -1) {
 	        if (_this.data.sum < -1) {