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

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

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