Browse Source

visible为0公告不显示

tags/v1.22.1.1^2
wangjr 4 years ago
parent
commit
1d171ff611
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      templates/base/head.tmpl
  2. +1
    -1
      templates/base/head_fluid.tmpl
  3. +1
    -1
      templates/base/head_pro.tmpl

+ 1
- 1
templates/base/head.tmpl View File

@@ -230,7 +230,7 @@ var _hmt = _hmt || [];
}else{
isNewNotice=false;
}
if ("{{.notice.Visible}}"){
if (JSON.parse("{{.notice.Visible}}")){
if(isNewNotice){
document.getElementById("notic_content").style.display='block'
}else{


+ 1
- 1
templates/base/head_fluid.tmpl View File

@@ -231,7 +231,7 @@ var _hmt = _hmt || [];
}else{
isNewNotice=false;
}
if ("{{.notice.Visible}}"){
if (JSON.parse("{{.notice.Visible}}")){
if(isNewNotice){
document.getElementById("notic_content").style.display='block'
}else{


+ 1
- 1
templates/base/head_pro.tmpl View File

@@ -232,7 +232,7 @@ var _hmt = _hmt || [];
}else{
isNewNotice=false;
}
if ("{{.notice.Visible}}"){
if (JSON.parse("{{.notice.Visible}}")){
if(isNewNotice){
document.getElementById("notic_content").style.display='block'
}else{


Loading…
Cancel
Save