<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Document</title> <style type="text/css"> input::-webkit-outer-spin-button, input::-webkit-inner-spin-button{ -webkit-appearance: none !important; margin: 0; } </style> </head> <body> <div id="header"> <div id="logo"></div> <ul id="nav"> <li class="item-1"><a href="weiwap/orderPlus/order.html">order</a></li> <li class="item-2"><a href="weiwap/orderPlusFwdzj/order_fwdzj.html">order_fwdzj</a></li> <li class="item-3"><a href="weiwap/waybill/index-query.html">index-query</a></li> <li class="item-4"><a href="weiwap/mysf/index-mysf.html">index-mysf</a></li> </ul> <input type="tel" /> <input type="number" /> <input type="text" /> </div> </body> </html>
如代码所示: 加入了style 这样就没有右边的图标了
还有一种说法是 把 type="number" 改为 type="tel" ,但是我没有试成功.