outlet-will-end.page.js 587 Bytes
/**
 * Created by runner on 16/6/14.
 */
var $ = require('yoho-jquery'),
    iscroll = require('./outlet/nav'),
    ajaxActivityTime = require('./outlet/ajaxActivityTime');

var $el = $('.cd-lite'),
    $indexNav = $('#index_nav');

require('common');
require('./outlet/set-backurl');

if ($el.length > 0) {
    ajaxActivityTime({
        type: window.queryString.type || 2
    });
}

// 导航滚动
if ($indexNav.length > 0) {
    iscroll({
        el: '#index_nav'
    }).goto($indexNav.find('.active').index());
}

if ($('.back-ground-white').length < 1) {
    $('.empty').show();
}