Commit f023f366 by 肖康

注册登录调整

parent 83d8ff81
Showing with 6 additions and 5 deletions
......@@ -196,7 +196,7 @@ const Page = () => {
<span
className={`${style.typeButton} ${style.cursorPointer} ${(loginType === '2') && style.typeButtonChoosen}`}
onClick={() => handleTypeChange('2')}>
免密登录/注册
免密登录
</span>
</div>
<form onSubmit={handleSubmit}>
......@@ -219,9 +219,7 @@ const Page = () => {
</Link>
</div>
<button type="submit" className={style.loginButton} >登录</button>
<div className={style.registerButton}>
<Link href="/reg" className={style.cursorPointer} >立即注册</Link>
</div>
</>
) : (
<>
......@@ -238,7 +236,7 @@ const Page = () => {
<input type="text" value={code} className={style.registerInput} placeholder='请输入短信验证码' onChange={handleCodeChange} required />
<button className={codeText=='发送验证码'?`${style.codeButton }`:`${style.codeButton } ${style.dis}`} onClick={handleCodeSend}>{codeText}</button>
</div>
<div className={style.registerTips}>未注册的手机号将自动完成注册</div>
{/* <div className={style.registerTips}>未注册的手机号将自动完成注册</div> */}
{ showMsg && (
<>
<p className={style.showMsg}>{msg}</p>
......@@ -253,6 +251,9 @@ const Page = () => {
<button type="submit" className={style.registerLoginButton}>登录</button>
</>
)}
<div className={style.registerButton}>
<Link href="/reg" className={style.cursorPointer} >去注册</Link>
</div>
</form>
</div>
{showRule && (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment