就是比如说你选择了记住密码,那么你下次登入的时候,会发现背景色为黄色。 解决方案: input:-webkit-autofill { box-shadow: 0 0 0 1000px white inset !important;}可以直接解决