function letGo() {
TextNum1 = parseInt(Math.random() * 4)//随机数
TextNum2 = parseInt(Math.random() * 7)
TextNum3 = parseInt(Math.random() * 7)
var num1 = [-549, -668, -786, -904][TextNum1];//在这里随机
var num2 = [-1377, -1495, -1614, -430, -549, -668, -786, -904][TextNum2];
var num3 = [-1377, -1495, -1614, -430, -549, -668, -786, -904][TextNum3];
$(".num-con1").animate({"top": -1140}, 1000, "linear", function() {
$(this).css("top", 0).animate({"top": num1}, 1000, "linear");
});
$(".num-con2").animate({"top": -1140}, 1000, "linear", function() {
$(this).css("top", 0).animate({"top": num2}, 1800, "linear");
});
$(".num-con3").animate({"top": -1140}, 1000, "linear", function() {
$(this).css("top", 0).animate({"top": num3}, 1300, "linear");
});
} function reset() {
$(".num-con1,.num-con2,.num-con3").css({"top": -430});
}
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
