let isTouchDevice='ontouchstart' in document.documentElement; console.log(isTouchDevice) 支持log出TRUE,不支持log出FALSE