会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小_Li_Kelly
Keep your feet on the ground when your head's in the clouds.
博客园
首页
新随笔
联系
订阅
管理
2017年7月31日
javascript中常见的函数封装 :判断是否是手机,判断是否是微信,获取url地址?后面的具体参数值,毫秒格式化时间,手机端px、rem尺寸转换等
摘要: // 判断是否是手机function plat_is_mobile(){ var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIph
阅读全文
posted @ 2017-07-31 14:49 小_Li_Kelly_前端
阅读(538)
评论(0)
推荐(1)
编辑
公告