<?php
use wap\assets\AppAsset;
use yii\helpers\StringHelper;
use yii\helpers\Url;
use wap\models\Announcement;

$this->title = '消息中心';

$asset = $this->getAssetManager()->getBundle(AppAsset::className());
$this->registerJsFile($asset->baseUrl.'/js/scroll.load.js', ['depends' => [AppAsset::className()]]);
?>

<?= $this->render('/task/_search') ?>

<div class="mainbody">

    <div class="common-list task-list message-list">
        <ul id="scroll-ul" data-scroll-pagination="enabled" data-page-url="<?= Url::to(['index']) ?>" >
        </ul>
        <div id="loading" class="load"> 
            <p><img src="<?= Yii::getAlias('@web') ?>/static/images/scroll-loading.gif" alt="加载中"></p>
        </div>
        <div id="load-end">
            <p><a href="javascript:;">点击显示更多</a></p>
        </div>
        <div id="load-top"></div>

    </div>

</div>


