我有一个主要的手风琴,由嵌套的手风琴组成。并且手风琴的标签与{{week.weekStartDate}}
之类的表达相关联但是当我点击主手风琴时,所有嵌套的手风琴都打开了,如果我关闭任何一个嵌套的手风琴,所有嵌套的手风琴都关闭,只有一个主要手风琴还剩下。我不希望这种情况发生。我希望所有嵌套的手风琴分别打开。我该怎么做?
以下是代码:
<div class="panel">
<div class="panel-heading" style="height: 35px;">
<h4 class="panel-title" style="line-height: 10px;">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion" href="#collapseOne" translate> <label>LOGIN_PERSON_OWN_EVENTS</label></a>
<i class="indicator glyphicon glyphicon-chevron-down pull-right"></i>
</h4>
</div>
<tbody data-ng-repeat="week in weekInfo">
<tr style="height: 35px">
<th colspan="10" style="padding: 0px; height: 35px; width: 100%;">
<div class="panel-heading panel-align">
<h4 class="panel-title" style="line-height: 10px;">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion" href="#collapseOne">
<div class="row">
<label class="control-label col-sm-1">{{week.weekNo}} </label>
<label class="control-label col-sm-6">{{week.weekStartDate}}
{{week.weekEndDate}}</label>
<i class="indicator glyphicon glyphicon-chevron-up pull-right"style="margin-right: 15px"></i>
</div>
</a>
</h4>
</div>
</th>
请帮忙。