From 019ff35c05b335c74afd2a39bfe7b191b47af0b9 Mon Sep 17 00:00:00 2001 From: "630892807@qq.com" <630892807@qq.com> Date: Sun, 7 Mar 2021 01:03:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E9=A2=98=E9=97=AA=E7=83=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/gofly-front.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/gofly-front.js b/static/js/gofly-front.js index 8da0539..943462d 100644 --- a/static/js/gofly-front.js +++ b/static/js/gofly-front.js @@ -63,7 +63,11 @@ GOFLY.init=function(config){ window.addEventListener('message',function(e){ var msg=e.data; if(msg.type=="message"){ - _this.flashTitle();//标题闪烁 + var width=$(window).width(); + if(width>768){ + _this.flashTitle();//标题闪烁 + } + if (this.launchButtonFlag) return; $("#launchNoticeContent").html(replaceContent(msg.data.content,_this.GOFLY_URL)); $("#launchButtonNotice").show(); var news=$("#launchIcon").text();