在 head 里已经加上了
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
看了 stackoverflow ,上面说改成下面这样可以,但是我试了不行
<meta name="viewport" content="width=device-width, user-scalable=no">
另外一种方法是设置overflow-x: hidden,但是这样的话上下滚动时,会发现没有重力滚动的效果,就是只能滚动固定长度。
求同学们指教,谢谢