| | |
| | | var speedDom = document.getElementById("speed"); |
| | | var timer = setInterval(function () { |
| | | if (percent < 100.00) { |
| | | // percent += 0.02; |
| | | percent += 1; |
| | | percent += 0.04; |
| | | // percent += 1; |
| | | speedDom.innerText = percent.toFixed(2); |
| | | } else { |
| | | speedDom.innerText = '100.00'; |
| | |
| | | |
| | | $(document).on('click','.btn-word', function () { |
| | | fullScreen(); |
| | | $("#mask").fadeOut(1, function () { // 3000 |
| | | $("#mask").fadeOut(3000, function () { // 3000 |
| | | $('#sidebar-btn').show(); |
| | | $("#menu").addClass("show"); |
| | | setTimeout(function () { |
| | | $("#ship-type-ul").css("transform", "translateY(-40px)"); |
| | |
| | | $("#ship-info-btn .btn-word").text("体验调度世界"); |
| | | $("#ship-info-btn").data("type", 2).addClass("show"); |
| | | $("#ship-info-btn #btn-lock").css("z-index", "10"); |
| | | $('#sidebar-btn').show(); |
| | | } |
| | | $("#menu li").css("transition", "all 200ms !important"); |
| | | setTimeout(function () { |
| | | removeClass(document.getElementById("title-box"), "show"); |
| | | }, 10000); |
| | | }, 1); // 1000 |
| | | }, 5000); |
| | | }, 1000); // 1000 |
| | | }); |
| | | $("#title-box, #logo").addClass("show"); |
| | | $("#ship-info-btn").removeClass("show"); |