mzx16822 6 年之前
父节点
当前提交
f784ecb580
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/h5/datigame/js/common.js

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

@@ -170,8 +170,8 @@ common={
  	},increment:function(bdclass,num){
  		 var obj=$("."+bdclass);
  		 var text=obj.text();
-		obj.prop('Counter',num-text).animate({
-			Counter: text
+		obj.prop('Counter',text).animate({
+			Counter: num
 		},{
 				duration: 3500,
 				easing: 'swing',