outlet-will-end.page.js
590 Bytes
/**
* Created by runner on 16/6/14.
*/
let $ = require('yoho-jquery'),
iscroll = require('./outlet/nav'),
ajaxActivityTime = require('./outlet/ajaxActivityTime');
let $el = $('.cd-lite'),
$indexNav = $('#index_nav');
require('js/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();
}