未读数提示

pull/23/head
630892807@qq.com 4 years ago
parent e2cdd46986
commit c6ccb2e897

@ -66,6 +66,8 @@ GOFLY.init=function(config){
_this.flashTitle();//标题闪烁 _this.flashTitle();//标题闪烁
$("#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();
$("#launchIcon").text(++news).show();
} }
}); });
window.onfocus = function () { window.onfocus = function () {
@ -109,6 +111,7 @@ GOFLY.clickBtn=function (){
$('body').append(html); $('body').append(html);
$(".launchButton").on("click",function() { $(".launchButton").on("click",function() {
_this.showKefu(); _this.showKefu();
$("#launchIcon").text(0).hide();
}); });
$("body").on("click","#launchNoticeClose",function() { $("body").on("click","#launchNoticeClose",function() {

Loading…
Cancel
Save