【问题标题】:Need to do a pagination on this ng-repeat需要对此 ng-repeat 进行分页
【发布时间】:2017-06-15 13:40:09
【问题描述】:

我需要对这个重复序列进行分页,这样一页上只有 5 个项目,它必须加载到同一页上,因为它从 json 文件中获取数据,然后将其发送到 ng-repeat,由于数据数量约为 50-60,所以我需要在不同页面上显示的数据将包括图像、名称、类型、关于书的描述

<div class="row" ng-repeat="book in books">
            <div class="col-md-4">
                <img ng-src="{{book.ImageUrl}}" class="img-responsive img-thumbnail" />
            </div>
            <div class="col-md-8">
                <h3>{{book.Name}}</h3>
                <h5>{{book.Type}}</h5>
                <p>{{book.Description}}</p>
                <button class="btn btn-default">Read More</button> &nbsp; Social Icons will go here
                <br />
                <br />
            </div>
        </div>

【问题讨论】:

标签: angularjs json modal-dialog pagination


【解决方案1】:

【讨论】:

  • 这更像是评论
【解决方案2】:
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-05-23
  • 2017-03-17
  • 2013-06-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多