用户协议默认不勾选

This commit is contained in:
2026-07-15 19:50:09 +08:00
parent 5a2e8dfcf8
commit 68aa7d3ce2
34 changed files with 821 additions and 18 deletions
+7 -3
View File
@@ -36,7 +36,7 @@ export default function LoginPage() {
const savedProfile = getStoreProfile();
const [phone, setPhone] = useState(getLastPhone());
const [code, setCode] = useState('');
const [agreed, setAgreed] = useState(true);
const [agreed, setAgreed] = useState(false);
const [loading, setLoading] = useState(false);
const [wxLoading, setWxLoading] = useState(false);
const [msg, setMsg] = useState('');
@@ -309,9 +309,13 @@ export default function LoginPage() {
/>
<span>
我已阅读并同意
<a href="#user-agreement">《用户协议》</a>
<Link to="/legal/user-agreement" onClick={(e) => e.stopPropagation()}>
《用户协议》
</Link>
与
<a href="#privacy">《隐私政策》</a>
<Link to="/legal/privacy-policy" onClick={(e) => e.stopPropagation()}>
《隐私政策》
</Link>
</span>
</label>
</main>