学生报名 >
diff --git a/src/glcc/home/lightspot/index.jsx b/src/glcc/home/lightspot/index.jsx
index 8cfdb9ed..b8ba6af0 100644
--- a/src/glcc/home/lightspot/index.jsx
+++ b/src/glcc/home/lightspot/index.jsx
@@ -27,6 +27,14 @@ function Lightspot(props) {
}
}
+ function goToStudent(){
+ // 学生报名时间
+ const studentApply = Date.parse(new Date()) > 1653494400000;
+ if(!studentApply){
+ showNotification("不在报名时间,报名开始时间为5月26日");
+ }
+ }
+
return (
@@ -44,7 +52,7 @@ function Lightspot(props) {
你是开源新手,有兴趣参加GLCC吗?
想要参与一线开源项目开发,熟悉开源社区运作流程,接受资深开源软件专家指导,获得丰厚奖金和实习机会。参加GLCC,开启全新的开源之旅。
{/*
{!isGlccApplyDate && showNotification("不在报名时间,报名时间为4月15日~5月20日")}}>立即报名 */}
-
{window.location.href="/glcc/student/2"}}>学生报名
+
学生报名
{/*

*/}
diff --git a/src/glcc/index.jsx b/src/glcc/index.jsx
index ab4a17cc..1778b66d 100644
--- a/src/glcc/index.jsx
+++ b/src/glcc/index.jsx
@@ -44,8 +44,6 @@ const Project = Loadable({
const Glcc = (propsF) => {
// 判断时间是否在开源夏令营报名时间内(4月15日~5月20日)
const isGlccApplyDate = Date.parse(new Date()) < 1653062400000;
- // 刷新用户课题报名信息
- const [studentInfoReset, setStudentInfoReset] = useState(undefined);
return (
@@ -54,7 +52,7 @@ const Glcc = (propsF) => {
(
-
+
)}
>
{/* 开源夏令营报名页面 */}
@@ -75,7 +73,7 @@ const Glcc = (propsF) => {
(
-
+
)}
>
{/* 首页 */}
diff --git a/src/glcc/project/component/projectDetail.jsx b/src/glcc/project/component/projectDetail.jsx
index fe4b9ad9..e8575d90 100644
--- a/src/glcc/project/component/projectDetail.jsx
+++ b/src/glcc/project/component/projectDetail.jsx
@@ -50,11 +50,11 @@ export default ({ detail, projectId, applyTaskId, current_user, showLoginDialog,
邮箱地址: {item.tutorMail}
-
{item.taskDesc}
-
+
{item.taskDesc}
+
奖金: {item.taskReward}
+ {item.taskUrl &&
}
{(isStudentApplyDate || studentApplyEnd) && (applyTaskId && item.id && Object.keys(applyTaskId).includes(item.id.toString()) ? : isStudentApplyDate && )}
-
¥ {item.taskReward}