From 18649b2ab71df572648330d3e45125e1cf64925a Mon Sep 17 00:00:00 2001 From: Doveliyuchen Date: Tue, 7 Mar 2023 10:05:11 +0800 Subject: [PATCH] Update GameTutorial.html --- templates/GameTutorial.html | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/templates/GameTutorial.html b/templates/GameTutorial.html index 1645be5..14c023e 100644 --- a/templates/GameTutorial.html +++ b/templates/GameTutorial.html @@ -175,26 +175,15 @@ - - - + position: fixed;z-index: 900; visibility: visible; " src="../templates/Web/pic.png" id="windowshow">
-
Loading
+
Loading
e
@@ -213,9 +202,10 @@ tutorialId = tutorialId+1 var level = "t"+tutorialId; - + GameLoad().then(function(){ console.log("Cheerpj Initialize Succeed!"); + document.getElementById("loading").style.visibility = "hidden"; }) @@ -255,6 +245,10 @@ GameLoad().then(function(){ console.log("Cheerpj Initialize Succeed!"); + + if (img.style.visibility == "visible"){ + img.style.visibility= "hidden"; + } document.getElementById("loading").style.visibility = 'hidden'; })