标签:chapter width play isp 额外 text span style alc
如UL中的循环, 我们不期望添加额外的div之类的容器标签, 使用ng-repeat-start
和ng-repeat-end
可以实现
<li class="item item-icon-right" ng-repeat-start="chapter in chapterClass.chapters">{{chapter.chapter_name}} <span style="display: inline-block;float: right;">{{chapter.user_finished}}/{{chapter.totalclass}}</span><i class="icon ion-ios-arrow-right"></i></li>
<li class="item item-text-wrap" ng-repeat-end>
<div class="row">
<div><img width="100%" ng-src="{{chapterClass.img_url}}" alt=""></div>
</div>
</li>
标签:chapter width play isp 额外 text span style alc
原文地址:http://www.cnblogs.com/wancy86/p/7860131.html