摘要:
/** * Created by admin on 2016/3/30. */function setCookie(name,value,dayToLive){ var cookie = name + "=" +encodeURIComponent(value); if(typeof dayToLi 阅读全文
摘要:
var addEvent = (function() { if (document.addEventListener) { return function(el, type, fn) { if (el.length) { for (var i = 0; i < el.length; i++) { a 阅读全文