如图所示,我想要实现点击首页下的任意一个子栏目,父首页都能选中,同时父级都能实现点击。
代码如下:
<ul class="nav nav-pills nav-stacked nav-level-1" ng-repeat="group in vm.data">
<li>
<h4>{{group.label}}</h4>
<ul class="nav nav-pills nav-level-2">
<li ui-sref-active="active" ng-repeat="item in group.items" title="{{item.progress !== 100?'仍在开发中':''}}">
<a ui-sref="{{item.state}}">{{item.label}}
<i class="glyphicon glyphicon-warning-sign" ng-if="item.progress !== 100"></i>
</a>
</li>
</ul>
</li>
</ul>
请问该如何修改?谢谢!!!