let iscroll = require('./outlet/nav'), Countdown = require('./outlet/countdown'); let el = $('.cd-lite'); // 导航滚动 iscroll({ el: '#index_nav' }).goto($('#index_nav').find('.active').index()); new Countdown.Countdown({ el: el });