https://segmentfault.com/q/1010000002720680/a-1020000002720771
input type 设为 search,就可以了。
然后在css上设置 -webkit-appearance: none; 去除搜索输入框特有的样式。
https://segmentfault.com/q/1010000002720680/a-1020000002720771
input type 设为 search,就可以了。
然后在css上设置 -webkit-appearance: none; 去除搜索输入框特有的样式。