"use client"; import React, { useState } from "react"; import { Button, Input, Divider } from "antd-mobile"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faAngleLeft } from "@fortawesome/free-solid-svg-icons"; import { useRouter } from "next/navigation"; import UploadImgs from "@/components/UploadImgs"; export default function EditPassword() { const [regionCode, setRegionCode] = useState(""); const [mobilePhone, setMobilePhone] = useState(""); const [veriCode, setVeriCode] = useState(""); const [newPassword, setNewPassword] = useState(""); const [confirmPassword, setConfirmPassword] = useState(""); const [isCounting, setIsCounting] = useState(false); const [seconds, setSeconds] = useState(60); const router = useRouter(); return (
修改密码
请牢记密码
+{regionCode}
setMobilePhone(value)} value={mobilePhone} style={{"--color":"#FFFFFF","--font-size":"16px"}} />验证码
setVeriCode(value)} value={veriCode} type="number" style={{"--placeholder-color":"#FFFFFF80","--font-size":"16px"}} />新密码
setNewPassword(value)} value={newPassword} style={{"--placeholder-color":"#FFFFFF80","--font-size":"16px"}} />确认密码
setConfirmPassword(value)} value={confirmPassword} style={{"--placeholder-color":"#FFFFFF80","--font-size":"16px"}} />