|
|
@@ -45,7 +45,7 @@ const HomeFair: React.FC = () => { |
|
|
|
list.length > 0 && list.map((item: any, index: number) => ( |
|
|
|
<> |
|
|
|
<Col span={6}> |
|
|
|
<Link to={{ pathname: `/talent/fair/detail?keyword=${item.title}` }} target="_blank" style={{ width: '100%' , color: '#000000'}}> |
|
|
|
<Link to={{ pathname: `/talent/fair/detail?id=${item.id}` }} target="_blank"> |
|
|
|
<Flex vertical align='center' justify='center' style={{ background: '#fff', borderRadius: '4px' }}> |
|
|
|
<div style={{ |
|
|
|
width: '100%', |
|
|
@@ -67,18 +67,19 @@ const HomeFair: React.FC = () => { |
|
|
|
style={{ fontSize: 16, fontWeight: 'bold', padding: '0 16px', marginTop: 8, minHeight: 50, width: '100%' }} |
|
|
|
> |
|
|
|
{item.title} |
|
|
|
|
|
|
|
</Typography.Paragraph> |
|
|
|
<Space size={4} style={{ |
|
|
|
padding: '0 16px', marginBottom: 16, width: '100%', color: 'gray' |
|
|
|
}}> |
|
|
|
<FieldTimeOutlined /> {item.open_date} {item.close_date ? <>至{item.close_date}</>: ''} |
|
|
|
</Space> |
|
|
|
<Space size={4} style={{ |
|
|
|
padding: '0 16px', marginBottom: 16, width: '100%',color: 'gray' |
|
|
|
}}> |
|
|
|
<Typography.Paragraph |
|
|
|
ellipsis={{ rows: 1 }} |
|
|
|
style={{ fontSize: 12, color: 'gray', padding: '0 16px', whiteSpace: 'nowrap', width: '100%' }} |
|
|
|
> |
|
|
|
<FieldTimeOutlined /> {item.open_date} {item.close_date ? <>至{item.close_date}</> : ''} |
|
|
|
</Typography.Paragraph> |
|
|
|
<Typography.Paragraph |
|
|
|
ellipsis={{ rows: 1 }} |
|
|
|
style={{ fontSize: 12, color: 'gray', padding: '0 16px', whiteSpace: 'nowrap', width: '100%' }} |
|
|
|
> |
|
|
|
<EnvironmentOutlined /> {item.address} |
|
|
|
</Space> |
|
|
|
</Typography.Paragraph> |
|
|
|
</Flex > |
|
|
|
</Link> |
|
|
|
</Col> |