Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework 离子1:大数据阿尔法索引列表中的延迟_Ionic Framework - Fatal编程技术网

Ionic framework 离子1:大数据阿尔法索引列表中的延迟

Ionic framework 离子1:大数据阿尔法索引列表中的延迟,ionic-framework,Ionic Framework,我在重定向到包含约700项的离子列表模板时遇到问题。大约4-5秒的延迟会降低性能。下面是我的代码。有人能给我建议一下解决办法吗 <ion-modal-view class="bgImg"> <ion-view> <ion-header-bar class="bar-light"> <h1><img class="title-image titleImg" src="img/logoIB.png"/></h1

我在重定向到包含约700项的离子列表模板时遇到问题。大约4-5秒的延迟会降低性能。下面是我的代码。有人能给我建议一下解决办法吗

<ion-modal-view class="bgImg">
<ion-view>
    <ion-header-bar class="bar-light">
        <h1><img class="title-image titleImg" src="img/logoIB.png"/></h1>
            <div class="buttons button-clear">
              <button class="button button-clear" ng-click="refreshList()" style="margin-top:40px;"><i class="icon ion-refresh" style="font-size:30px;"></i></button>
            </div>
    </ion-header-bar>
    <ion-content scroll="true" >
        <div data-ng-repeat="(letter, authors) in sorted_users" class="alpha_list">
            <ion-item class="item item-divider" id="index_{{letter}}">
                {{letter}}
            </ion-item>
            <ion-item ng-repeat="author in authors" ng-click="getSelectedUser(author.user_id,author.passcode,author.gesturecode,author.username)">
                {{author.last_name}} {{author.first_name}}
            </ion-item>
        </div>
    </ion-content>
    <ul class="alpha_sidebar">
        <li ng-click="gotoList('index_{{letter}}')" ng-repeat="letter in alphabet">
            {{letter}}
        </li>
    </ul>
</ion-view>

{{字母}}
{{作者.姓}{{作者.名}
  • {{字母}}