摘要:
下要载nodjs https://nodejs.org/en/文件路径package.json{ "name": "template", "version": "1.0.0", "dependencies": { "tmodjs": "1.0.3" }, ... 阅读全文
摘要:
function oDate(currentdata,idex,ihref){ var stringTime = currentdata; var timestamp2 = Date.parse(new Date(stringTime)); ... 阅读全文
摘要:
.container { background-color: #eee; height: 200px;}.img { display: inline-block; width: 64px; height: 64px; background-color: g... 阅读全文
摘要:
阅读全文
摘要:
/***设置遮罩层***/.dv{position: fixed;top: 0;left:0;right: 0;bottom: 0;} 阅读全文
摘要:
background: url(../images/sd.png);background-position: left;//图片偏移量,向左偏移,可以有两个值(数字或left,top,right,bottom)background-size: cover;//设置图片大小, http://www.... 阅读全文
摘要:
/***正则的两种写法**/ var re=//; var re=new RegExp(); /***正则方法test 正则去匹配字符串,匹配成功true,不成功false**/ var ... 阅读全文
摘要:
1 /******jquery $.grep****/ 2 var arr=[1,2,3]; 3 $.grep(arr,function(n,i){//过滤返回一个新数组 4 return n... 阅读全文