|
@@ -263,7 +263,7 @@ common={
|
|
|
},daoshu:function(argument) {
|
|
|
var _this=this;
|
|
|
clearInterval(this.data.ts);
|
|
|
- this.data.sum = 10;
|
|
|
+ this.data.sum = 9;
|
|
|
this.data.angle = 0;
|
|
|
var leftContent = document.querySelector(".left-content");
|
|
|
var rightContent = document.querySelector(".right-content");
|
|
@@ -297,10 +297,10 @@ common={
|
|
|
|
|
|
|
|
|
|
|
|
- if (_this.data.sum <0) {
|
|
|
+ if (_this.data.sum < 0) {
|
|
|
if(!_this.data.isAnswer)
|
|
|
_this.Answer();
|
|
|
- _this.data.sum = 10;
|
|
|
+ _this.data.sum = 9;
|
|
|
_this.data.angle = 0;
|
|
|
leftContent.setAttribute('style', 'transform: rotate(0deg)');
|
|
|
rightContent.setAttribute('style', 'transform: rotate(0deg)');
|