diff --git a/frontend/src/index.css b/frontend/src/index.css index 853ba2f..182b3e4 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -1092,3 +1092,13 @@ a:hover { font-size: 12px; font-weight: 700; } + +/* 消除浏览器自动填充默认淡蓝色/黄色背景侵入 */ +input:-webkit-autofill, +input:-webkit-autofill:hover, +input:-webkit-autofill:focus, +input:-webkit-autofill:active { + -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important; + -webkit-text-fill-color: #0f172a !important; + transition: background-color 5000s ease-in-out 0s; +} diff --git a/frontend/src/pages/PlatformRock.tsx b/frontend/src/pages/PlatformRock.tsx index 3799823..6f6d96b 100644 --- a/frontend/src/pages/PlatformRock.tsx +++ b/frontend/src/pages/PlatformRock.tsx @@ -587,7 +587,13 @@ export default function PlatformRock() { {/* 策略表单 */} -