摘要:
handleTimeFn(){ var date=new Date; var year=date.getFullYear(); var month=date.getMonth()+1; month =(month<10 ? "0"+month:month); var day=date.getDate 阅读全文
摘要:
IsPC() { var userAgentInfo = navigator.userAgent; var Agents = ["Android", "iPhone","SymbianOS", "Windows Phone","iPad", "iPod"]; for (var v = 0; v < 阅读全文
摘要:
combineCell(list) { for (var field in list[0]) { // 获取数据中的字段,也就是table中的column,只需要取其中一条记录的就可以了 var k = 0;// 定义数据list的index while (k < list.length) { li 阅读全文
摘要:
getBrowser() { this.browser = { versions: function () { let u = window.navigator.userAgent; return { trident: u.indexOf('Trident') > -1, //IE内核 presto 阅读全文