我有2个面板(左右)。 Panel-right有2个选项卡,其中一个用于显示通知。 如何将无限卷轴附加到此?因为它不像在任何其他页面中那样工作。 “无限”
的事件处理程序$$('.infinite-scroll').on('infinite', function () {
永远不会像索引页面(在面板后面)那样起火
这是html
<!-- Views -->
<div class="views">
<div class="panel-overlay"></div>
<!-- =========== PANEL IZQUIERDO ============ !-->
<div class="panel panel-left panel-cover">
</div>
<div class="panel panel-right panel-cover">
<div class="toolbar tabbar">
<div class="toolbar-inner">
<a href="#tab-perfil" class="tab-link active">Perfil</a>
<a href="#tab-notificaciones" class="tab-link tab-notificaciones">Notificaciones</a>
</div>
</div>
<div class="tabs">
<div id="tab-perfil" class="tab active">
<div class="content-block">
</div>
</div>
<div id="tab-notificaciones" class="tab page-content infinite-scroll ">
<div class="list-block">
<ul></ul>
</div>
</div>
</div>
</div><!-- panel panel-right panel-cover !-->
<!-- Your main view, should have "view-main" class -->
<div class="view view-main">
<div class="pages navbar-fixed toolbar-fixed">
<!-- =========== page-index ============ !-->
<div class="page page-index" data-page="index">