fix: 调整微信登陆窗口UI
This commit is contained in:
@@ -266,22 +266,18 @@ export default function WechatRegister() {
|
|||||||
>
|
>
|
||||||
{/* 灰色二维码底图 - 始终显示 */}
|
{/* 灰色二维码底图 - 始终显示 */}
|
||||||
{wechatStatus === WECHAT_STATUS.WAITING ? (
|
{wechatStatus === WECHAT_STATUS.WAITING ? (
|
||||||
<Box position="relative" width="100%" height="100%">
|
<Box position="relative" width="96px" height="96px">
|
||||||
<iframe
|
<iframe
|
||||||
src={wechatAuthUrl}
|
src={wechatAuthUrl}
|
||||||
// width="100%"
|
width="96"
|
||||||
// height="100%"
|
height="96"
|
||||||
w={40} h={40}
|
style={{ borderRadius: '8px', border: 'none' }}
|
||||||
style={{ borderRadius: '8px' }}
|
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
) : (
|
) : (
|
||||||
<Icon as={FaQrcode} w={24} h={24} color="gray.300" />
|
<Icon as={FaQrcode} w={24} h={24} color="gray.300" />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
||||||
<Icon as={FaQrcode} w={24} h={24} color="gray.300" />
|
|
||||||
|
|
||||||
{/* 加载动画 */}
|
{/* 加载动画 */}
|
||||||
{isLoading && (
|
{isLoading && (
|
||||||
<Box
|
<Box
|
||||||
|
|||||||
Reference in New Issue
Block a user