微信小程序取消button边框线 先给button定义个class属性 <button class="an"> 按钮 </button> 然后再css上加上 .an::after { border: none; }