问题:设置好{width:100%;}但是页面却可以左右滑动。

解决:最外围标签定义

{position: fixed;} 

或者{overflow-x:hidden;}

小程序

TAG标签: 微信小程序微信bug

http://www.xiaochengxub.com/read-106464.html