|
|
|
|
@ -1838,13 +1838,12 @@ var Index_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
* 列表报名点击事件
|
|
|
|
|
*/
|
|
|
|
|
var onLickSignUpClick = function onLickSignUpClick(event, item) {
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
if (item.teacher_need_phone || item.member_need_phone) {
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
setshowphone(true);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (item !== null && item !== void 0 && item.need_check_mail) {
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
modal/* default.confirm */.Z.confirm({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '您暂未绑定邮箱,为了后续竞赛奖项颁发等相关事宜的正常且准确进行,请完成绑定再参加报名。',
|
|
|
|
|
@ -1859,7 +1858,6 @@ var Index_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (item.external_url) {
|
|
|
|
|
event.stopPropagation();
|
|
|
|
|
tourl(item.external_url);
|
|
|
|
|
} else {
|
|
|
|
|
gotocourse(event, item, item.mode === 2 ? 'ismodel' : item.personal ? 'personal' : item !== null && item !== void 0 && item.is_new ? "/competitions/detail/".concat(item.identifier, "?type=3") : "/competitions/".concat(item.identifier, "/detail/enroll"));
|
|
|
|
|
|