开发环境
Pear Count 数据滚动特效

显示代码

								
							
简单使用

0

显示代码

								layui.use(['count'], function() {
								    var count = layui.count;
									
								    count.up("number1", {
								        time: 8000,
								        num: 4540.34,
								        regulator: 100
								    })
								})
							
保留小数

0

显示代码

							layui.use(['count'], function() {
							    var count = layui.count;
								
							    count.up("number2", {
							        time: 8000,
							        num: 4540.34,
							        bit: 2,
							        regulator: 100
							    })
							})