待审核项目通知跑马灯点击后隐藏

master
pengqiang 2021-11-29 11:04:21 +08:00
parent 532d9843a0
commit 2792d488d1
1 changed files with 13 additions and 1 deletions

View File

@ -19,7 +19,13 @@
</ul>
<div class="am-topbar-right">
<ul class="am-nav am-nav-pills am-topbar-nav admin-header-list">
<li style="margin-top: -10px"><marquee align="left" behavior="scroll" direction="left" height="20" width="200" hspace="50" vspace="20" loop="-1" scrollamount="10" scrolldelay="100" onMouseOut="this.start()" onMouseOver="this.stop()"><a href="${base}/project/listApprove" target="mainFrame">${hasApproveProjectsMessage!""}</a></marquee></li>
<li id="marqueeLi" style="margin-top: -10px">
<marquee align="left" behavior="scroll" direction="left" height="20" width="200" hspace="50" vspace="20" loop="-1" scrollamount="10" scrolldelay="100" onMouseOut="this.start()" onMouseOver="this.stop()">
<a onclick="return removeMarquee()" href="${base}/project/listApprove" target="mainFrame">${hasApproveProjectsMessage!""}</a>
</marquee>
</li>
<li style="margin-top: 15px"><span style="color: red;">${message!""}</span></li>
<li class="am-dropdown" data-am-dropdown>
<a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
@ -37,3 +43,9 @@
</div>
</div>
</header>
<script>
var removeMarquee = function () {
$("#marqueeLi").addClass("am-hide");
return true;
}
</script>