摘要: var weekArray = ['周一'、'周二'、'周三'、'周四'、'周五']存:localStorage.setItem('weekDay',JSON.stringify(weekArray));取: weekArray = JSON.parse(localStorage.getItem(' 阅读全文
posted @ 2017-08-09 13:51 田天1 阅读(414) 评论(0) 推荐(0) 编辑
摘要: function deviceType(){ var ua = navigator.userAgent; var agent = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]; for(var i=0; i<l 阅读全文
posted @ 2017-08-09 13:50 田天1 阅读(327) 评论(0) 推荐(0) 编辑