From 8dddc657bca9b68b7ac5b25275303e96b583a713 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 22 十二月 2021 16:48:06 +0800
Subject: [PATCH] #

---
 views/index.html |   28 ++++++++++++++++++++++++++--
 1 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/views/index.html b/views/index.html
index c530bcd..48c88f9 100644
--- a/views/index.html
+++ b/views/index.html
@@ -70,6 +70,17 @@
     </div>
     <div id="control-remind" class="remind">鎮ㄧ幇鍦ㄥ彲浠ヨ嚜鐢辩Щ鍔ㄨ瑙�</div>
 </div>
+<ul class="menu" id="menu">
+    <li id="menu-w">
+        <div><div>涓�</div></div>
+    </li>
+    <li id="menu-m">
+        <div><div>宸�</div></div>
+    </li>
+    <li id="menu-t">
+        <div><div>淇�</div></div>
+    </li>
+</ul>
 
 
 <div id="container"></div>
@@ -91,6 +102,17 @@
         document.getElementById("ship-type-ul").style.transform = 'translateY(-60px)';
     }, false);
 
+    document.getElementById("menu-w").addEventListener('click', function () {
+        player.mainView();
+    }, false);
+
+    document.getElementById("menu-m").addEventListener('click', function () {
+        player.leftView();
+    }, false);
+
+    document.getElementById("menu-t").addEventListener('click', function () {
+        player.verticalView();
+    }, false);
 </script>
 <script>
     var percent = 0;
@@ -112,13 +134,15 @@
 
     $(document).on('click','.btn-word', function () {
         fullScreen()
-        $("#mask").fadeOut(1, function () {
+        $("#mask").fadeOut(3000, function () {  // 3000
+            $("#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");
-            }, 1);
+                $("#menu li").css("transition", "all 200ms !important");
+            }, 3000);   // 1000
         });
         $("#title-box, #logo").addClass("show");
         $("#ship-info-btn").removeClass("show");

--
Gitblit v1.9.1