1、HTML页面自动适应大小 在<head>中插入标签 <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">