|
@@ -167,6 +167,18 @@ common={
|
|
|
})
|
|
|
|
|
|
|
|
|
+ },increment:function(bdclass,num){
|
|
|
+
|
|
|
+ $("."+bdclass).prop('Counter',num-$(this).text()).animate({
|
|
|
+ Counter: $(this).text()
|
|
|
+ },{
|
|
|
+ duration: 3500,
|
|
|
+ easing: 'swing',
|
|
|
+ step: function (now){
|
|
|
+ $(this).text(Math.ceil(now));
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
},daoshu:function(argument) {
|
|
|
var _this=this;
|
|
|
clearInterval(this.data.ts);
|