|
|
@@ -3,14 +3,22 @@ |
|
|
<div class="notic_content" id ="notic_content" style="display: block; position: relative"> |
|
|
<div class="notic_content" id ="notic_content" style="display: block; position: relative"> |
|
|
<diV class="ui container"> |
|
|
<diV class="ui container"> |
|
|
<marquee behavior="scroll" direction="left"> |
|
|
<marquee behavior="scroll" direction="left"> |
|
|
|
|
|
{{ $firstTag := true }} |
|
|
{{range .notices.Notices}} |
|
|
{{range .notices.Notices}} |
|
|
{{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}} |
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
{{if $firstTag}} |
|
|
|
|
|
<a href={{.Link}} class="a_width" style = 'margin-left: 0px !important;' target="_blank"> |
|
|
|
|
|
<i class="ri-arrow-right-s-line"></i> |
|
|
|
|
|
{{.Title}} |
|
|
|
|
|
</a> |
|
|
|
|
|
{{else}} |
|
|
|
|
|
<a href={{.Link}} class="a_width" target="_blank"> |
|
|
|
|
|
<i class="ri-arrow-right-s-line"></i> |
|
|
|
|
|
{{.Title}} |
|
|
|
|
|
</a> |
|
|
|
|
|
{{end}} |
|
|
|
|
|
{{ $firstTag = false }} |
|
|
{{end}} |
|
|
{{end}} |
|
|
|
|
|
|
|
|
{{end}} |
|
|
{{end}} |
|
|
|
|
|
|
|
|
</marquee> |
|
|
</marquee> |
|
|
|