标签:hide play info spl style pod var false img
jquery弹出层插件:
layer http://layer.layui.com/ sweetalert
js判断PC还是移动端方法:
function IsPC() { var userAgentInfo = navigator.userAgent; var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"); var flag = true; for (var v = 0; v < Agents.length; v++) { if (userAgentInfo.indexOf(Agents[v]) > 0) { flag = false; break; } } return flag; }
日常杂项记录:(jquery弹出层插件、js判断是pc还是移动端)
标签:hide play info spl style pod var false img
原文地址:https://www.cnblogs.com/xiaoyaoweb/p/12462318.html