guang.page.js 443 Bytes
/**
 * 逛首页
 * @author: xuqi<qi.xu@yoho.cn>
 * @date: 2015/12/15
 */

var $ = require('yoho-jquery');

var msg = require('./msg');

require('yoho-jquery-pjax');
require('../plugins/slider');

require('./img-blink');

require('./right-side');

$('#slider').slider(); // 初始化slider

$(document).pjax('.pjax-link, .msg-pager a', '#pjax-container', {
    timeout: 2000
});

$(document).on('pjax:end', function() {
    msg.dotLazy();
});