1. Page
< ion-content class= "padding" style= "padding: 0px;" >
<div class="list list-inset" style="margin:0px;padding: 10px;background-color: -sharpddd;">
<label class="item item-input" style="border-radius: 10px;">
<i class="icon ion-search placeholder-icon"></i>
<input type="text" placeholder="">
</label>
</div>
<ion-scroll direction="y" style="width: 100%; height: 650px">
<div class="list" style="padding: 10px;">
<label class="item item-input" ng-repeat="data in icdlist" ng-click="showAlert(data)"
style="border-left-style:none;border-right-style:none;">
<span style="font-weight: bold;">{{data.code}}</span>
<span style="color: -sharp878787;margin-left: 5px;font-size: 10px;">{{data.cnname}}</span>
</label>
<ion-infinite-scroll ng-if="hasmore" on-infinite="loadMore()" distance="-1%" immediate-check="false"></ion-infinite-scroll>
</div>
</ion-scroll>
</ion-content>
2.js
$scope.loadMore = function(){
$scope.lastpage = $scope.lastpage + 17;
$scope.catevent($scope.judge);
}