Browse Source

修改为0时,内容不占位

tags/v1.22.1.4^2
wangjr 4 years ago
parent
commit
8d5d8fb5d3
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      templates/base/head_notice.tmpl

+ 5
- 4
templates/base/head_notice.tmpl View File

@@ -4,12 +4,13 @@
<diV class="ui container">
<marquee behavior="scroll" direction="left">
{{range .notices.Notices}}
<a href={{.Link}} class="a_width" target="_blank">
{{if eq .Visible 1}}
{{if eq .Visible 1}}
<a href={{.Link}} class="a_width" target="_blank">
<i class="ri-arrow-right-s-line"></i>
{{.Title}}
{{end}}
</a>
</a>
{{end}}
{{end}}
</marquee>


Loading…
Cancel
Save