|
@@ -97,11 +97,12 @@ common={
|
|
|
_this.loadQuestion(data);
|
|
|
break;
|
|
|
case 'round_end':
|
|
|
-
|
|
|
+ console.log("答题结束");
|
|
|
break;
|
|
|
case 'game_end':
|
|
|
$(".g-doc .g-inner").addClass("end");
|
|
|
$("#Jvs").hide();
|
|
|
+ console.log("游戏结束");
|
|
|
break;
|
|
|
|
|
|
|
|
@@ -189,6 +190,17 @@ common={
|
|
|
leftContent.setAttribute('style', 'transform: rotate(' + _this.data.angle + 'deg)')
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ if(_this.data.sum<3){
|
|
|
+
|
|
|
+ $(".text-circle").addClass("rubberBand");
|
|
|
+ $(".text-circle").addClass("animated");
|
|
|
+ setTimeout(function(){
|
|
|
+ $(".text-circle").removeClass("rubberBand");
|
|
|
+ $(".text-circle").removeClass("animated");
|
|
|
+ },900)
|
|
|
+ }
|
|
|
+
|
|
|
if (_this.data.sum < -1) {
|
|
|
if(!_this.data.isAnswer)
|
|
|
_this.Answer();
|