更新时间:2023-11-17 17:06:40
试试这个。 http://jsfiddle.net/zqdmny41/4/
从菜单和NG-鼠标离开在一旁标签上的子菜单列表,并使用NG-的mouseenter删除崩溃类。
Remove the collapse class from your sub menu list and use ng-mouseenter on the menu and ng-mouseleave on the aside tag.
<aside class="rightbar" id="rightMenu" ng-class="{'noneStyle' : noneStyle}" ng-mouseleave="subMenu = false">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#rightMenu" href="#" ng-mouseover="subMenu = true">Tools<i class="fa fa-file-text"></i></a>
此外,您的股利和李标签所有的地方,请正确构建它们。例如,DIV不能进来二里标记之间。
Also your div and li tags are all over the place, please structure them correctly. For example, div cannot come in between two li tags.