This commit is contained in:
Archer
2023-12-27 11:07:39 +08:00
committed by GitHub
parent 86286efb54
commit 759a2330e6
182 changed files with 3099 additions and 81685 deletions

View File

@@ -74,59 +74,34 @@ const Login = () => {
px={[0, '10vw']}
>
<Flex
height="100%"
w={'100%'}
maxW={'1240px'}
maxH={['auto', 'max(660px,80vh)']}
backgroundColor={'#fff'}
alignItems={'center'}
justifyContent={'center'}
py={[5, 10]}
px={'5vw'}
borderRadius={isPc ? 'md' : 'none'}
gap={5}
flexDirection={'column'}
w={['100%', 'auto']}
h={['100%', '80%']}
maxH={'700px'}
bg={'white'}
px={['5vw', '88px']}
py={'64px'}
borderRadius={[0, '24px']}
boxShadow={[
'',
'0px 0px 1px 0px rgba(19, 51, 107, 0.20), 0px 32px 64px -12px rgba(19, 51, 107, 0.20)'
]}
>
{isPc && (
<Image
src={'/icon/loginLeft.svg'}
order={pageType === PageTypeEnum.login ? 0 : 2}
flex={'1 0 0'}
w="0"
maxW={'600px'}
height={'100%'}
maxH={'450px'}
alt=""
loading={'lazy'}
/>
)}
<Box
position={'relative'}
order={1}
flex={`0 0 ${isPc ? '400px' : '100%'}`}
height={'100%'}
border="1px"
borderColor="gray.200"
py={5}
px={10}
borderRadius={isPc ? 'md' : 'none'}
>
<Box w={['100%', '380px']}>
<DynamicComponent type={pageType} />
{feConfigs?.concatMd && (
<Box
fontWeight={'bold'}
color={'blue.600'}
cursor={'pointer'}
position={'absolute'}
right={5}
bottom={3}
onClick={onOpen}
>
</Box>
)}
</Box>
{feConfigs?.concatMd && (
<Box
mt={8}
color={'primary.700'}
cursor={'pointer'}
textAlign={'center'}
onClick={onOpen}
>
</Box>
)}
</Flex>
{isOpen && <CommunityModal onClose={onClose} />}