This commit is contained in:
hailin 2025-03-14 18:30:41 +08:00
parent 2eca682a4b
commit 67466cb3cd
3 changed files with 21 additions and 1 deletions

View File

@ -178,6 +178,21 @@ export function MixSignUp(props: {
className="h-10 text-black duration-500 bg-transparent focus:text-black border-black/20 focus:bg-white focus:border-black rounded hover:bg-white/20 hover:border-black/40 placeholder:black/20 "
/>
<label htmlFor="referralcode" className="text-xs text-black/50">
{t("refcode")}
</label>
<Input
name="referralcode"
placeholder={t("auth.refcodeplaceholder")}
type="text"
defaultValue={props.emailValue}
autoCapitalize="none"
autoComplete="on"
autoCorrect="off"
required
className="h-10 text-black duration-500 bg-transparent focus:text-black border-black/20 focus:bg-white focus:border-black rounded hover:bg-white/20 hover:border-black/40 placeholder:black/20 "
/>
</div>
</div>

View File

@ -6,6 +6,7 @@
"username_placeholder": "John Doe",
"email": "Email",
"regname": "User Name",
"referralcode": "Referral Code",
"mixaccount": "Phone/Email",
"first_name": "First Name",
"password": "Password",
@ -29,6 +30,7 @@
"verification_code": "Six-digit verification code",
"send_again": "Send Again",
"email_address": "Email Address",
"refcodeplaceholder": "Enter your referral code",
"mixplacehoder": "Enter your phone number or Email address",
"creat_account": "Creat Account",
"frogot_password": "Frogot password?",

View File

@ -6,6 +6,8 @@
"username_placeholder": "李华",
"email": "邮箱",
"regname": "用户名",
"referralcode":"推荐码",
"refcode": "推荐码",
"mixaccount": "手机号/邮箱地址",
"first_name": "昵称",
"password": "密码",
@ -29,7 +31,8 @@
"verification_code": "六位验证码",
"send_again": "再次发送",
"email_address": "电子邮件地址",
"mixplacehoder": "输入您的手机号或者邮箱地址",
"mixplacehoder": "输入你的手机号或者邮箱地址",
"refcodeplaceholder": "填入你的推荐码",
"creat_account": "创建帐户",
"frogot_password": "忘记密码?",
"account_not_found": "未找到帐户,您想注册吗?",