/** * Created by runner on 16/6/14. */ var $ = require('yoho-jquery'), Countdown = require('./outlet/countdown'), iscroll = require('./outlet/nav'); var $el = $('.cd-lite'); require('../common'); require('./outlet/set-backurl'); if ($el.length > 0) { $el.each(function() { new Countdown.Countdown({ el: $(this) }); }); } // 导航滚动 if ($('#index_nav').length > 0) { iscroll({ el: '#index_nav' }).goto($('#index_nav').find('.active').index()); } if ($('.back-ground-white').length < 1) { $('.empty').show(); }