From 08bcfd496ab141e1d2048a1f38f7b6c1eda125d3 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期二, 28 十二月 2021 13:32:16 +0800 Subject: [PATCH] # --- views/index.html | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/views/index.html b/views/index.html index 13c64d5..d4dba0d 100644 --- a/views/index.html +++ b/views/index.html @@ -145,9 +145,11 @@ $("#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"); + if (window.screen.width > 600) { + $("#ship-info-btn .btn-word").text("浣撻獙璋冨害涓栫晫"); + $("#ship-info-btn").data("type", 2).addClass("show"); + $("#ship-info-btn #btn-lock").css("z-index", "10"); + } $("#menu li").css("transition", "all 200ms !important"); setTimeout(function () { removeClass(document.getElementById("title-box"), "show"); -- Gitblit v1.9.1