报名页面展示报名时间错误

This commit is contained in:
谢思 2022-05-09 15:27:48 +08:00
parent c96da86078
commit 68f60d2a51
1 changed files with 3 additions and 5 deletions

View File

@ -46,7 +46,6 @@ function Apply(props) {
}else{ }else{
window.location.href="/login?go_page=/glcc/apply"; window.location.href="/login?go_page=/glcc/apply";
} }
}, []) }, [])
useEffect(()=>{ useEffect(()=>{
@ -108,7 +107,6 @@ function Apply(props) {
} }
return isLt100M && isType; return isLt100M && isType;
} }
function getBase64(img, callback) { function getBase64(img, callback) {
const reader = new FileReader(); const reader = new FileReader();
reader.addEventListener('load', () => callback(reader.result)); reader.addEventListener('load', () => callback(reader.result));
@ -128,7 +126,7 @@ function Apply(props) {
} }
return( return(
<div className="glcc_apply"> <div className="glcc_apply">
<img className="glcc-banner" src={banner}></img> <img className="glcc-banner" src={banner} alt=''></img>
<div className='apply'> <div className='apply'>
<Breadcrumb className='pt20 font-16'> <Breadcrumb className='pt20 font-16'>
<Breadcrumb.Item><a href="/glcc">开源夏令营</a></Breadcrumb.Item> <Breadcrumb.Item><a href="/glcc">开源夏令营</a></Breadcrumb.Item>
@ -177,7 +175,7 @@ function Apply(props) {
'logo格式为png、jpg、jpeg限制上传大小2m建议上传尺寸为382*228', 'logo格式为png、jpg、jpeg限制上传大小2m建议上传尺寸为382*228',
'logo', 'logo',
[{ required: true, message: "请正确上传项目logo" }], [{ required: true, message: "请正确上传项目logo" }],
userApplyInfo && userApplyInfo.projectLogoId ? <div className='projectLogo'><img src={`${main_site_url}/api/attachments/${userApplyInfo.projectLogoId}`}/></div> userApplyInfo && userApplyInfo.projectLogoId ? <div className='projectLogo'><img src={`${main_site_url}/api/attachments/${userApplyInfo.projectLogoId}`} alt=''/></div>
:<Upload :<Upload
listType="picture-card" listType="picture-card"
className="avatar-uploader" className="avatar-uploader"
@ -200,7 +198,7 @@ function Apply(props) {
</Form> </Form>
<div className={`explain ${userApplyInfo ? "mt70" : ""}`}> <div className={`explain ${userApplyInfo ? "mt70" : ""}`}>
<p className='font-15 c000'>申请说明</p> <p className='font-15 c000'>申请说明</p>
<div>1项目报名时间为<span className='c000'>4月15日58</span>请在报名截止时间北京时间<span className='c000'>2022年5月8日18</span>前提交报名信息</div> <div>1项目报名时间为<span className='c000'>4月15日520</span>请在报名截止时间北京时间<span className='c000'>2022年5月20日24</span>前提交报名信息</div>
<div>2本次夏令营使用Gitlink为代码托管平台学员基于Gitlink上项目数量完成课程任务如果您的项目还未在Gitlink中请现将项目迁移到Gitlink迁移事项请查看<a href='https://forum.gitlink.org.cn/forums/7296/detail' target="_blank" className='link'>迁移说明文档</a>如在迁移过程中遇到问题请加qq群: 1071514693 联系qq群管理员</div> <div>2本次夏令营使用Gitlink为代码托管平台学员基于Gitlink上项目数量完成课程任务如果您的项目还未在Gitlink中请现将项目迁移到Gitlink迁移事项请查看<a href='https://forum.gitlink.org.cn/forums/7296/detail' target="_blank" className='link'>迁移说明文档</a>如在迁移过程中遇到问题请加qq群: 1071514693 联系qq群管理员</div>
<div>3提交社区和项目信息后欢迎与组委会联系沟通本次编程夏令营宣传推广和后续合作工作联系人: _TigerWang微信号添加请备注Gitlink编程夏令营</div> <div>3提交社区和项目信息后欢迎与组委会联系沟通本次编程夏令营宣传推广和后续合作工作联系人: _TigerWang微信号添加请备注Gitlink编程夏令营</div>
</div> </div>