Browse Source

上传代码

tags/v1.22.1.4^2
wangjr 4 years ago
parent
commit
1cd3237ded
2 changed files with 11 additions and 5 deletions
  1. +6
    -3
      templates/base/head.tmpl
  2. +5
    -2
      web_src/less/openi.less

+ 6
- 3
templates/base/head.tmpl View File

@@ -202,11 +202,14 @@ var _hmt = _hmt || [];
</div><!-- end bar -->
<!-- {{if not .IsCourse}} -->
<div class="notic_content" id ="notic_content" style="display: none;">
<a href={{.notice.Link}} class="a_width">
<marquee behavior="scroll" direction="left">
{{.notice.Title}}
<a href={{.notice.Link}} class="a_width">
<i class="ri-arrow-right-s-line"></i>
{{.notice.Title}}
</a>
</marquee>
</a>
<i class="ri-close-fill x_icon" onclick="closeNoice()"></i>
</div>
<!-- {{end}} -->


+ 5
- 2
web_src/less/openi.less View File

@@ -604,10 +604,13 @@ display: block;
font-weight: bold !important;
}
.a_width{
width: 50% !important;
// width: 50% !important;
margin-right: 20em;
display:inline-block !important;
}

.a_width i{
vertical-align:middle;
}
.footer_icon{
display: inline-block !important;
vertical-align: middle !important;


Loading…
Cancel
Save