mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: 搜索页面和一堆更新
This commit is contained in:
parent
4d7bc14827
commit
b4590c3c34
17 changed files with 279 additions and 87 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import md5 from 'md5'
|
||||
import QRCode from 'qrcode'
|
||||
import { Fragment } from 'react'
|
||||
import {
|
||||
checkLoginQrCodeStatus,
|
||||
fetchLoginQrCodeKey,
|
||||
|
|
@ -166,7 +165,7 @@ const OtherLoginMethods = ({
|
|||
},
|
||||
]
|
||||
return (
|
||||
<Fragment>
|
||||
<>
|
||||
<div className='mt-8 mb-4 flex w-full items-center'>
|
||||
<span className='h-px flex-grow bg-gray-300 dark:bg-gray-700'></span>
|
||||
<span className='mx-2 text-sm text-gray-400 '>or</span>
|
||||
|
|
@ -187,7 +186,7 @@ const OtherLoginMethods = ({
|
|||
)
|
||||
)}
|
||||
</div>
|
||||
</Fragment>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -244,11 +243,11 @@ const LoginWithEmail = () => {
|
|||
}
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<>
|
||||
<EmailInput {...{ email, setEmail }} />
|
||||
<PasswordInput {...{ password, setPassword }} />
|
||||
<LoginButton onClick={handleLogin} disabled={doLogin.isLoading} />
|
||||
</Fragment>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -303,11 +302,11 @@ const LoginWithPhone = () => {
|
|||
}
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<>
|
||||
<PhoneInput {...{ countryCode, setCountryCode, phone, setPhone }} />
|
||||
<PasswordInput {...{ password, setPassword }} />
|
||||
<LoginButton onClick={handleLogin} disabled={doLogin.isLoading} />
|
||||
</Fragment>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue