From 5f657f43d16adf91de8254e02b4a0ee5ecc9d46b Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期四, 30 十二月 2021 16:15:57 +0800 Subject: [PATCH] # --- static/js/app.js | 2 +- views/index.html | 12 ++++++------ static/css/main.css | 11 ++++++----- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index bc3870c..173419c 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -2,7 +2,8 @@ /*瀹氫綅*/ position: absolute; top: 51%; - left: 1%; + left: -20%; + /*left: 1%;*/ transform: translateY(-50%); width: 20%; height: 90%; @@ -104,8 +105,8 @@ .task-confirm { float: right; width: 20%; - background-color: #eaeaea; - box-shadow: 2px 5px 10px rgb(193, 193, 193) inset; + background-color: #353B43; + /*box-shadow: 2px 5px 10px rgb(193, 193, 193) inset;*/ border-radius: 50px; text-align: center; height: 40px; @@ -115,14 +116,14 @@ transition:all 300ms; background-repeat: no-repeat; background-position: top center; - background-size: 50% 50%;; + background-size: 40% 55%;; background-position-x: center; background-position-y: center; background-image: url("../img/out_btn.png"); /*background-image: linear-gradient(to bottom, red , yellow);*/ } .task-confirm:hover { - opacity: 0.9; + opacity: 0.8; } diff --git a/static/js/app.js b/static/js/app.js index 921addb..075903c 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -83,7 +83,7 @@ // this.renderer.toneMapping = THREE.CineonToneMapping; // 鑹茶皟 this.renderer.setSize(window.innerWidth, window.innerHeight); this.renderer.setPixelRatio( window.devicePixelRatio ); - this.renderer.shadowMap.enabled = true; + this.renderer.shadowMap.enabled = false; this.renderer.shadowMap.type = THREE.BasicShadowMap; this.dom = document.getElementById("container"); this.dom.appendChild(this.renderer.domElement); diff --git a/views/index.html b/views/index.html index 0450705..e82b28a 100644 --- a/views/index.html +++ b/views/index.html @@ -234,8 +234,8 @@ 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'; @@ -248,7 +248,8 @@ $(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)"); @@ -256,13 +257,12 @@ $("#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"); -- Gitblit v1.9.1