1. 判断设备的终端是移动还是PC
    2. UserAgent:用来识别浏览器名称,版本,引擎以及操作系统等信息的内容。
    1. <script>
    2. console.log(navigator.userAgent)
    3. </script>