js 插件 issue

1 iscroll 5 和 lazyload 同时使用  转自 yinjie

//lazyload
var $scrollEle = $("#wrapper")
$("img.lazy").lazyload({
     effect: 'fadeIn',
     container: $scrollEle
});

//iscroll
var myscroll = new IScroll('#wrapper', {  //最外层的盒子
    mouseWheel: false,
    click: true,
    preventDefault: false,
    usetransform: false
});
document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
myscroll.on('scrollEnd', function () {
    $scrollEle.trigger('scroll');
}

 2 slestize.js 插件

http://blog.csdn.net/yijingchao/article/details/51313488

http://selectize.github.io/selectize.js/

github 下源码

3 daterangepicker 时间插件(做pc 用)

http://www.daterangepicker.com/#options

4 moment 

时间插件 http://momentjs.cn/docs/

posted @ 2016-11-28 17:16  xiamer  阅读(342)  评论(0编辑  收藏  举报