4

我有一个这样的集合重复(参见下面的代码)并且工作正常,但是当用户向下滚动时,最后一项显示不佳。

为什么能解决这个问题?

<ion-content on-scroll="moreItens()" style="margin-top:60px;  min-height: 600px;" overflow-scroll=”true” has-bouncing="true"  style="padding:2%;">
<!-- <div class="list"> -->
<div class="card card-1 border-card item my-item"
    collection-item-width="'100%'"
    collection-item-height="'150px'"
    force-refresh-images="true"

    id="list_ticket"
    collection-repeat="ticket in ticketCtrl.tickets | filter:ticket_cod || ticket_codP | limitTo:numberDisplay : numberBegin"  item="ticket"
    ng-class="ticketCtrl.getClass(ticket[2])">

    <a class="ticket-detalhes"><a class="infoTitle">Status: </a><a >{{ticketCtrl.getRole(ticket[2])}}</br></a>    
    <a class="ticket-detalhes"><a class="infoTitle">Data: </a>{{ticket[4]}}</a>    
    <a class="ticket-detalhes" ng-if="!setVisible(ticket[6])"><a ng-if="!setVisible(ticket[6])" class="infoTitle" >Motivo: </a>{{ticket[6]}}</br></a>
    <a class="infoTitle">Protocolo:</a> {{ticket[1]}}

    <div class="w3-btn-group " style="margin-bottom:1px; margin-top:10px; " >
        <button ng-click="setInteracao(ticket)" class="w3-btn button-footer ion-plus-circled"></button>
        <button id="btn_chat_ticket"  ng-click="openChat(ticket)" class="w3-btn button-footer ion-chatbubbles"></button>
        <a id="call" ng-href="{{call}}" class="w3-btn button-footer ion-android-call"></a>
        <button ng-click="ticketCtrl.getTicket(ticket)" class="w3-btn button-footer ion-more"></button>
    </div>
</div>
4

0 回答 0