摘要: var now = new Date(); //当前日期var nowMonth = now.getMonth()+1; //当前月var nowYear = now.getFullYear(); //当前年 //获得日期getAllDate:function(date,fmt) { if(null 阅读全文
posted @ 2018-11-15 13:40 liw66 阅读(1334) 评论(0) 推荐(0)
摘要: getQueryString:function(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = decodeURI(decodeURI(window.location.search)).substr(1).m 阅读全文
posted @ 2018-11-15 11:58 liw66 阅读(415) 评论(0) 推荐(0)