摘要:
let year = new Date().getFullYear(); let month = (new Date().getMonth() + 1) < 10 ? '0'+(new Date().getMonth()+1): new Date().getMonth()+1; let day = 阅读全文
摘要:
connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;根据connection.type判断网络类型,connection.type有以下几种类型: bluetooth / 阅读全文