Update GameTutorial.html
This commit is contained in:
parent
2137d787d6
commit
c91cd03c7b
@ -270,7 +270,7 @@
|
|||||||
<div class="col-md-6" id="countdown" style="z-index:999; position:fixed; left:11vw; bottom: 5vh; color: #000; font-size: xx-large;"></div>
|
<div class="col-md-6" id="countdown" style="z-index:999; position:fixed; left:11vw; bottom: 5vh; color: #000; font-size: xx-large;"></div>
|
||||||
<script>
|
<script>
|
||||||
function countdown() {
|
function countdown() {
|
||||||
var count = 15; // 设置倒计时秒数
|
var count = 10; // 设置倒计时秒数
|
||||||
var timer = setInterval(function () {
|
var timer = setInterval(function () {
|
||||||
count--;
|
count--;
|
||||||
if (count <= 0) {
|
if (count <= 0) {
|
||||||
@ -309,9 +309,8 @@
|
|||||||
GameLoad().then(function () {
|
GameLoad().then(function () {
|
||||||
console.log("Cheerpj Initialize Succeed!");
|
console.log("Cheerpj Initialize Succeed!");
|
||||||
|
|
||||||
if (img.style.visibility == "visible") {
|
$("#windowshow: visible").hide();
|
||||||
img.style.visibility = "hidden";
|
$("#countdown").hide();
|
||||||
}
|
|
||||||
document.getElementById("loading").style.visibility = 'hidden';
|
document.getElementById("loading").style.visibility = 'hidden';
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user