|
|
@ -63,7 +63,11 @@ GOFLY.init=function(config){
|
|
|
|
window.addEventListener('message',function(e){
|
|
|
|
window.addEventListener('message',function(e){
|
|
|
|
var msg=e.data;
|
|
|
|
var msg=e.data;
|
|
|
|
if(msg.type=="message"){
|
|
|
|
if(msg.type=="message"){
|
|
|
|
|
|
|
|
var width=$(window).width();
|
|
|
|
|
|
|
|
if(width>768){
|
|
|
|
_this.flashTitle();//标题闪烁
|
|
|
|
_this.flashTitle();//标题闪烁
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.launchButtonFlag) return;
|
|
|
|
$("#launchNoticeContent").html(replaceContent(msg.data.content,_this.GOFLY_URL));
|
|
|
|
$("#launchNoticeContent").html(replaceContent(msg.data.content,_this.GOFLY_URL));
|
|
|
|
$("#launchButtonNotice").show();
|
|
|
|
$("#launchButtonNotice").show();
|
|
|
|
var news=$("#launchIcon").text();
|
|
|
|
var news=$("#launchIcon").text();
|
|
|
|