05 2020 档案
摘要:function ChangeToDu() { var d = document.getElementById("input_dfm1").value;//度 var f = document.getElementById("input_dfm2").value;//分 var m = docume
阅读全文
摘要:var nowsize="";记录上次下载数据包大小 var st=new Date()记录上次刷新进度条时间 1 case 3: 2 var et=new Date() 3 var current = parseInt(100 * task.downloadedSize / task.totalS
阅读全文
摘要:效果图: background: linear-gradient(to right, red, blue); -webkit-background-clip: text; color: transparent; 转载:https://segmentfault.com/a/11900000118829
阅读全文
摘要:转载:https://www.cnblogs.com/Anxc/p/12052909.html
阅读全文
摘要:1.indexof array.indexOf();返回正整数或-1 2.includes() array.includes()返回true,false 3.findeIndex() array.findeIndex()返回false和数组下标 转载:https://www.cnblogs.com/
阅读全文
摘要:取整数 parseInt(); 进1 Math.ceil(); 向下取整 Math.floor(); 四舍五入 Math.round()
阅读全文