我有大约20个结果。我想在平板电脑模式下显示2行,每行有4个网格,我想从左到右滑动网格(轮播)。我如何使用AngularJS做到这一点?
<div class="margin-25">
<div ng-repeat="customer in customerData" class="col-sm-3">
<div class="well">
<a href="profile.html">
<div class="col-sm-4">
<div class="text-center">
<img src="../app/imgs/photo.jpg" width="50" height="50" class="img-circle m-t-xs img-responsive" alt="image">
<div class="m-t-xs font-bold">{{customer.customerName}}</div>
</div>
</div>
<div class="col-sm-8">
<h4><strong>{{customer.CustomerNumber}}</strong></h4>
<address>
{{customer.branch.address}}<br>
{{customer.branch.city}}<br>
</address>
</div>
<div class="clearfix"></div>
</a>
</div>
</div>
</div>
有人可以提出最好的例子或任何方法吗?