//获取屏幕宽高
document.documentElement.clientWidth
document.documentElement.clientHeight
//判断是pc端事件还是移动端
"ontouchstart" in document (ture为移动端)
//获取屏幕宽高
document.documentElement.clientWidth
document.documentElement.clientHeight
//判断是pc端事件还是移动端
"ontouchstart" in document (ture为移动端)