input 设置 100% 和padding后宽度超出父节点
添加如下css即可:
box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;