add new menu

This commit is contained in:
lh_wang
2015-08-21 16:11:39 +08:00
parent b19fdc32bb
commit c3da446b54
2 changed files with 13 additions and 8 deletions
+3 -3
View File
@@ -82,7 +82,7 @@
<div class="tag alizarin">2</div>
<a>
<i class="icon bubble"></i>
<strong>Event监控</strong>
<strong>业务大盘</strong>
</a>
</li>
<li data-selected="selected" class="" data-href="Problem_section" id="module_Problem_section">
@@ -238,7 +238,7 @@
</li>
<li data-icon="checkbox-checked" class="active" data-href="Event_section" data-icons="bubble">
<span class="icon bubble"></span>
<i class="icon checkbox-checked"></i>Event监控
<i class="icon checkbox-checked"></i>业务大盘
</li>
<li data-icon="checkbox-checked" data-href="Problem_section" data-icons="bell">
<span class="icon bell"></span>
@@ -246,7 +246,7 @@
</li>
<li data-icon="checkbox-unchecked" data-href="Matraix_section" data-icons="rocket">
<span class="icon rocket"></span>
<i class="icon checkbox-unchecked"></i>Matraix监控
<i class="icon checkbox-unchecked"></i>网络大盘
</li>
</ul>
</article>
+10 -5
View File
@@ -488,14 +488,19 @@ function clearNotice(){
}
}
var playHandle;
function autoPlay(){
console.log("autoPlay")
var myAuto = document.getElementById('myaudio');
myAuto.play();
setTimeout(function(){
myAuto.pause();
console.log("autoPlay");
playHandle &&(clearTimeout(playHandle), playHandle=null);
playHandle = setTimeout(function(){
var myAuto = document.getElementById('myaudio');
myAuto.play();
setTimeout(function(){
myAuto.pause();
}, 1000);
}, 1000);
}