autoUpdataFile

dev_local_v9_brain_cloud
eduauto 2 years ago
parent 0b5d4b7463
commit b04a900dc5

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[74246],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[31625],{
/***/ 12487:
/*!******************************************************************************************************!*\
@ -46,7 +46,7 @@ if (false) {}
/***/ }),
/***/ 52831:
/***/ 74374:
/*!*************************************************************************************************!*\
!*** ./node_modules/_antd-img-crop@4.23.0@antd-img-crop/dist/antd-img-crop.esm.js + 19 modules ***!
\*************************************************************************************************/
@ -56,7 +56,7 @@ if (false) {}
// UNUSED EXPORTS: default
;// CONCATENATED MODULE: ./node_modules/_tslib@2.6.3@tslib/tslib.es6.mjs
;// CONCATENATED MODULE: ./node_modules/_tslib@2.7.0@tslib/tslib.es6.mjs
/******************************************************************************
Copyright (c) Microsoft Corporation.
@ -71,7 +71,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
@ -182,8 +182,8 @@ function __awaiter(thisArg, _arguments, P, generator) {
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
@ -287,7 +287,7 @@ function __await(v) {
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
@ -385,17 +385,22 @@ function __disposeResources(env) {
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
env.hasError = true;
}
var r, s = 0;
function next() {
while (env.stack.length) {
var rec = env.stack.pop();
while (r = env.stack.pop()) {
try {
var result = rec.dispose && rec.dispose.call(rec.value);
if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
if (r.dispose) {
var result = r.dispose.call(r.value);
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
}
else s |= 1;
}
catch (e) {
fail(e);
fail(e);
}
}
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
if (env.hasError) throw env.error;
}
return next();

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.6d30f611.js"></script>
<script src="/react/build/umi.f6052f62.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -11972,7 +11972,7 @@ var Edit_excluded = ["mode"];
var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
var _competitions$competi6, _competitions$competi7, _competitions$competi8, _competitions$competi9, _competitions$competi10, _competitions$competi11, _competitions$competi12, _competitions$competi13, _competitions$competi14, _competitions$competi15, _competitions$competi16, _competitions$competi17, _competitions$competi18, _competitions$competi19, _competitions$competi20, _competitions$competi21, _competitions$competi22, _competitions$competi23, _competitions$competi24, _competitions$competi25, _competitions$competi26, _competitions$competi27, _competitions$competi29, _tabsData$find, _competitions$competi30, _competitions$competi31, _competitions$competi32, _competitions$competi33, _competitions$competi34, _competitions$competi35, _competitions$competi36, _competitions$competi37, _competitions$competi38, _competitions$competi39;
var _competitions$competi7, _competitions$competi8, _competitions$competi9, _competitions$competi10, _competitions$competi11, _competitions$competi12, _competitions$competi13, _competitions$competi14, _competitions$competi15, _competitions$competi16, _competitions$competi17, _competitions$competi18, _competitions$competi19, _competitions$competi20, _competitions$competi21, _competitions$competi22, _competitions$competi23, _competitions$competi24, _competitions$competi25, _competitions$competi26, _competitions$competi27, _competitions$competi28, _competitions$competi30, _tabsData$find, _competitions$competi31, _competitions$competi32, _competitions$competi33, _competitions$competi34, _competitions$competi35, _competitions$competi36, _competitions$competi37, _competitions$competi38, _competitions$competi39, _competitions$competi40;
var competitions = _ref.competitions,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -12136,6 +12136,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
}();
var handleEnroll = /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var _competitions$competi3;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
@ -12145,8 +12146,15 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
}
return _context3.abrupt("return");
case 2:
if (competitions !== null && competitions !== void 0 && (_competitions$competi3 = competitions.competition) !== null && _competitions$competi3 !== void 0 && _competitions$competi3.joined) {
_context3.next = 5;
break;
}
message/* default */.ZP.warning('本次专题赛每位参赛者限报一个赛道,您已报名成功,请勿重复报名。');
return _context3.abrupt("return");
case 5:
setWayModal(true);
case 3:
case 6:
case "end":
return _context3.stop();
}
@ -12214,7 +12222,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
var start_time = new Date(competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.start_time).getTime();
var nowTime = new Date().getTime();
if (is_member) {
var _competitions$competi3;
var _competitions$competi4;
if (start_time - nowTime <= 0 && end_time - nowTime > 0) {
setCompetitionBut({
status: 1,
@ -12233,7 +12241,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
isShow: false
});
}
if ((competitions === null || competitions === void 0 || (_competitions$competi3 = competitions.competition) === null || _competitions$competi3 === void 0 ? void 0 : _competitions$competi3.competition_status) == types_competitions/* CompetitionStatus */.$f.ENDED) {
if ((competitions === null || competitions === void 0 || (_competitions$competi4 = competitions.competition) === null || _competitions$competi4 === void 0 ? void 0 : _competitions$competi4.competition_status) == types_competitions/* CompetitionStatus */.$f.ENDED) {
setCompetitionBut({
status: 3,
name: "已结束",
@ -12244,10 +12252,10 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
}
if (end_time) {
setInt.current = setInterval(function () {
var _competitions$competi4, _competitions$competi5;
var CompetitionStartTime = new Date(competitions === null || competitions === void 0 || (_competitions$competi4 = competitions.competition) === null || _competitions$competi4 === void 0 ? void 0 : _competitions$competi4.start_time).getTime();
var _competitions$competi5, _competitions$competi6;
var CompetitionStartTime = new Date(competitions === null || competitions === void 0 || (_competitions$competi5 = competitions.competition) === null || _competitions$competi5 === void 0 ? void 0 : _competitions$competi5.start_time).getTime();
var distance = end_time - new Date().getTime();
if (!(competitions !== null && competitions !== void 0 && (_competitions$competi5 = competitions.competition) !== null && _competitions$competi5 !== void 0 && _competitions$competi5.published) || competitionBut.status == 3 || distance <= 0 || CompetitionStartTime - nowTime > 0) {
if (!(competitions !== null && competitions !== void 0 && (_competitions$competi6 = competitions.competition) !== null && _competitions$competi6 !== void 0 && _competitions$competi6.published) || competitionBut.status == 3 || distance <= 0 || CompetitionStartTime - nowTime > 0) {
setTimeDown({
day: 0,
hour: 0,
@ -12294,7 +12302,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
href: "/competitions",
children: "\u5728\u7EBF\u7ADE\u8D5B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
children: competitions === null || competitions === void 0 || (_competitions$competi6 = competitions.competition) === null || _competitions$competi6 === void 0 ? void 0 : _competitions$competi6.name
children: competitions === null || competitions === void 0 || (_competitions$competi7 = competitions.competition) === null || _competitions$competi7 === void 0 ? void 0 : _competitions$competi7.name
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt20",
@ -12303,7 +12311,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
width: 335
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: "".concat(env/* default */.Z.IMG_SERVER).concat(competitions === null || competitions === void 0 || (_competitions$competi7 = competitions.competition) === null || _competitions$competi7 === void 0 ? void 0 : _competitions$competi7.image),
src: "".concat(env/* default */.Z.IMG_SERVER).concat(competitions === null || competitions === void 0 || (_competitions$competi8 = competitions.competition) === null || _competitions$competi8 === void 0 ? void 0 : _competitions$competi8.image),
style: {
height: "100%",
width: "100%",
@ -12319,13 +12327,13 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: competitions === null || competitions === void 0 || (_competitions$competi8 = competitions.competition) === null || _competitions$competi8 === void 0 ? void 0 : _competitions$competi8.name,
title: competitions === null || competitions === void 0 || (_competitions$competi9 = competitions.competition) === null || _competitions$competi9 === void 0 ? void 0 : _competitions$competi9.name,
overlayStyle: {
maxWidth: 495
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Editmodules.IntoTitle,
children: competitions === null || competitions === void 0 || (_competitions$competi9 = competitions.competition) === null || _competitions$competi9 === void 0 ? void 0 : _competitions$competi9.name
children: competitions === null || competitions === void 0 || (_competitions$competi10 = competitions.competition) === null || _competitions$competi10 === void 0 ? void 0 : _competitions$competi10.name
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt10",
@ -12337,16 +12345,16 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: competitions === null || competitions === void 0 || (_competitions$competi10 = competitions.competition) === null || _competitions$competi10 === void 0 ? void 0 : _competitions$competi10.description,
title: competitions === null || competitions === void 0 || (_competitions$competi11 = competitions.competition) === null || _competitions$competi11 === void 0 ? void 0 : _competitions$competi11.description,
overlayStyle: {
maxWidth: 495
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "font14 ".concat(Editmodules.MultiLine),
children: (competitions === null || competitions === void 0 || (_competitions$competi11 = competitions.competition) === null || _competitions$competi11 === void 0 ? void 0 : _competitions$competi11.description) || ''
children: (competitions === null || competitions === void 0 || (_competitions$competi12 = competitions.competition) === null || _competitions$competi12 === void 0 ? void 0 : _competitions$competi12.description) || ''
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(competitions === null || competitions === void 0 || (_competitions$competi12 = competitions.competition) === null || _competitions$competi12 === void 0 ? void 0 : _competitions$competi12.sponsor) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(competitions === null || competitions === void 0 || (_competitions$competi13 = competitions.competition) === null || _competitions$competi13 === void 0 ? void 0 : _competitions$competi13.sponsor) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(Editmodules.FlexNoWrap),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -12357,13 +12365,13 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
children: "\u4E3B\u529E\u5355\u4F4D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: competitions === null || competitions === void 0 || (_competitions$competi13 = competitions.competition) === null || _competitions$competi13 === void 0 ? void 0 : _competitions$competi13.sponsor,
title: competitions === null || competitions === void 0 || (_competitions$competi14 = competitions.competition) === null || _competitions$competi14 === void 0 ? void 0 : _competitions$competi14.sponsor,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "ml20 font12 ".concat(Editmodules.Onerow),
children: competitions === null || competitions === void 0 || (_competitions$competi14 = competitions.competition) === null || _competitions$competi14 === void 0 ? void 0 : _competitions$competi14.sponsor
children: competitions === null || competitions === void 0 || (_competitions$competi15 = competitions.competition) === null || _competitions$competi15 === void 0 ? void 0 : _competitions$competi15.sponsor
})
})]
}), (competitions === null || competitions === void 0 || (_competitions$competi15 = competitions.competition) === null || _competitions$competi15 === void 0 ? void 0 : _competitions$competi15.organizer) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), (competitions === null || competitions === void 0 || (_competitions$competi16 = competitions.competition) === null || _competitions$competi16 === void 0 ? void 0 : _competitions$competi16.organizer) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt10 ".concat(Editmodules.FlexNoWrap),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -12374,13 +12382,13 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
children: "\u627F\u529E\u5355\u4F4D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: competitions === null || competitions === void 0 || (_competitions$competi16 = competitions.competition) === null || _competitions$competi16 === void 0 ? void 0 : _competitions$competi16.organizer,
title: competitions === null || competitions === void 0 || (_competitions$competi17 = competitions.competition) === null || _competitions$competi17 === void 0 ? void 0 : _competitions$competi17.organizer,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "ml20 font12 ".concat(Editmodules.Onerow),
children: competitions === null || competitions === void 0 || (_competitions$competi17 = competitions.competition) === null || _competitions$competi17 === void 0 ? void 0 : _competitions$competi17.organizer
children: competitions === null || competitions === void 0 || (_competitions$competi18 = competitions.competition) === null || _competitions$competi18 === void 0 ? void 0 : _competitions$competi18.organizer
})
})]
}), (competitions === null || competitions === void 0 || (_competitions$competi18 = competitions.competition) === null || _competitions$competi18 === void 0 ? void 0 : _competitions$competi18.co_organizer) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), (competitions === null || competitions === void 0 || (_competitions$competi19 = competitions.competition) === null || _competitions$competi19 === void 0 ? void 0 : _competitions$competi19.co_organizer) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt10 ".concat(Editmodules.FlexNoWrap),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -12391,10 +12399,10 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
children: "\u534F\u529E\u5355\u4F4D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: competitions === null || competitions === void 0 || (_competitions$competi19 = competitions.competition) === null || _competitions$competi19 === void 0 ? void 0 : _competitions$competi19.co_organizer,
title: competitions === null || competitions === void 0 || (_competitions$competi20 = competitions.competition) === null || _competitions$competi20 === void 0 ? void 0 : _competitions$competi20.co_organizer,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "ml20 font12 ".concat(Editmodules.Onerow),
children: competitions === null || competitions === void 0 || (_competitions$competi20 = competitions.competition) === null || _competitions$competi20 === void 0 ? void 0 : _competitions$competi20.co_organizer
children: competitions === null || competitions === void 0 || (_competitions$competi21 = competitions.competition) === null || _competitions$competi21 === void 0 ? void 0 : _competitions$competi21.co_organizer
})
})]
})]
@ -12406,7 +12414,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
borderLeft: "1px solid #F6F7F9",
paddingLeft: 20
},
children: [competitions !== null && competitions !== void 0 && (_competitions$competi21 = competitions.competition) !== null && _competitions$competi21 !== void 0 && _competitions$competi21.bonus ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [competitions !== null && competitions !== void 0 && (_competitions$competi22 = competitions.competition) !== null && _competitions$competi22 !== void 0 && _competitions$competi22.bonus ? /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt10",
align: "bottom",
justify: "center",
@ -12427,7 +12435,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font20",
children: "\xA5"
}), parseInt(competitions === null || competitions === void 0 || (_competitions$competi22 = competitions.competition) === null || _competitions$competi22 === void 0 ? void 0 : _competitions$competi22.bonus).toLocaleString()]
}), parseInt(competitions === null || competitions === void 0 || (_competitions$competi23 = competitions.competition) === null || _competitions$competi23 === void 0 ? void 0 : _competitions$competi23.bonus).toLocaleString()]
})]
}) : null, /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
style: {
@ -12438,21 +12446,21 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: Editmodules.PublicNum,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (competitions === null || competitions === void 0 || (_competitions$competi23 = competitions.competition) === null || _competitions$competi23 === void 0 ? void 0 : _competitions$competi23.team_count) || 0
children: (competitions === null || competitions === void 0 || (_competitions$competi24 = competitions.competition) === null || _competitions$competi24 === void 0 ? void 0 : _competitions$competi24.team_count) || 0
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u603B\u53C2\u8D5B\u961F\u4F0D"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: Editmodules.PublicNum,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (competitions === null || competitions === void 0 || (_competitions$competi24 = competitions.competition) === null || _competitions$competi24 === void 0 ? void 0 : _competitions$competi24.member_count) || 0
children: (competitions === null || competitions === void 0 || (_competitions$competi25 = competitions.competition) === null || _competitions$competi25 === void 0 ? void 0 : _competitions$competi25.member_count) || 0
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u603B\u53C2\u8D5B\u4EBA\u5458"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: Editmodules.PublicNum,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (competitions === null || competitions === void 0 || (_competitions$competi25 = competitions.competition) === null || _competitions$competi25 === void 0 ? void 0 : _competitions$competi25.submit_count) || 0
children: (competitions === null || competitions === void 0 || (_competitions$competi26 = competitions.competition) === null || _competitions$competi26 === void 0 ? void 0 : _competitions$competi26.submit_count) || 0
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u63D0\u4EA4\u6B21\u6570"
})]
@ -12510,11 +12518,11 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
})
})]
})]
}), (competitions === null || competitions === void 0 || (_competitions$competi26 = competitions.competition) === null || _competitions$competi26 === void 0 || (_competitions$competi26 = _competitions$competi26.competition_stage_sections) === null || _competitions$competi26 === void 0 ? void 0 : _competitions$competi26.length) > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), (competitions === null || competitions === void 0 || (_competitions$competi27 = competitions.competition) === null || _competitions$competi27 === void 0 || (_competitions$competi27 = _competitions$competi27.competition_stage_sections) === null || _competitions$competi27 === void 0 ? void 0 : _competitions$competi27.length) > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt20 ".concat(Editmodules.StepsDiv),
children: /*#__PURE__*/(0,jsx_runtime.jsx)(steps/* default */.Z, {
children: competitions === null || competitions === void 0 || (_competitions$competi27 = competitions.competition) === null || _competitions$competi27 === void 0 || (_competitions$competi27 = _competitions$competi27.competition_stage_sections) === null || _competitions$competi27 === void 0 ? void 0 : _competitions$competi27.map(function (item, index) {
var _competitions$competi28;
children: competitions === null || competitions === void 0 || (_competitions$competi28 = competitions.competition) === null || _competitions$competi28 === void 0 || (_competitions$competi28 = _competitions$competi28.competition_stage_sections) === null || _competitions$competi28 === void 0 ? void 0 : _competitions$competi28.map(function (item, index) {
var _competitions$competi29;
return /*#__PURE__*/(0,jsx_runtime.jsx)(steps/* default */.Z.Step, {
icon: getStatus(item) == "wait" ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -12528,7 +12536,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
className: "iconfont icon-danxuanxuanzhong1"
}),
description: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: (competitions === null || competitions === void 0 || (_competitions$competi28 = competitions.competition) === null || _competitions$competi28 === void 0 || (_competitions$competi28 = _competitions$competi28.competition_stage_sections) === null || _competitions$competi28 === void 0 ? void 0 : _competitions$competi28.length) - 1 == index ? "bottomRight" : 'bottomLeft',
placement: (competitions === null || competitions === void 0 || (_competitions$competi29 = competitions.competition) === null || _competitions$competi29 === void 0 || (_competitions$competi29 = _competitions$competi29.competition_stage_sections) === null || _competitions$competi29 === void 0 ? void 0 : _competitions$competi29.length) - 1 == index ? "bottomRight" : 'bottomLeft',
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
color: "#fff"
@ -12578,7 +12586,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
tabId: tabId
}));
}
}), !(competitions !== null && competitions !== void 0 && (_competitions$competi29 = competitions.competition) !== null && _competitions$competi29 !== void 0 && _competitions$competi29.published) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), !(competitions !== null && competitions !== void 0 && (_competitions$competi30 = competitions.competition) !== null && _competitions$competi30 !== void 0 && _competitions$competi30.published) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Editmodules.tag,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, {}), " \u63D0\u793A\uFF1A\u8BE5\u7ADE\u8D5B\u8FD8\u672A\u5BA1\u6838\uFF0C\u6682\u65F6\u53EA\u6709\u7BA1\u7406\u5458\u53EF\u89C1"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -12664,13 +12672,13 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-tishi2 mr10 font13"
}), "\u6CE8\u610F\uFF1A\u672C\u6B21\u4E13\u9898\u8D5B\u4EC5\u9650\u5355\u8D5B\u9053\u62A5\u540D\uFF0C\u6BCF\u4F4D\u53C2\u8D5B\u8005\u9650\u62A5\u4E00\u4E2A\u8D5B\u9053\u3002"]
}), ((competitions === null || competitions === void 0 || (_competitions$competi30 = competitions.competition) === null || _competitions$competi30 === void 0 ? void 0 : _competitions$competi30.required_name) || (competitions === null || competitions === void 0 || (_competitions$competi31 = competitions.competition) === null || _competitions$competi31 === void 0 ? void 0 : _competitions$competi31.required_id_card) || (competitions === null || competitions === void 0 || (_competitions$competi32 = competitions.competition) === null || _competitions$competi32 === void 0 ? void 0 : _competitions$competi32.required_school) || (competitions === null || competitions === void 0 || (_competitions$competi33 = competitions.competition) === null || _competitions$competi33 === void 0 ? void 0 : _competitions$competi33.required_phone) || (competitions === null || competitions === void 0 || (_competitions$competi34 = competitions.competition) === null || _competitions$competi34 === void 0 ? void 0 : _competitions$competi34.required_mail)) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((competitions === null || competitions === void 0 || (_competitions$competi31 = competitions.competition) === null || _competitions$competi31 === void 0 ? void 0 : _competitions$competi31.required_name) || (competitions === null || competitions === void 0 || (_competitions$competi32 = competitions.competition) === null || _competitions$competi32 === void 0 ? void 0 : _competitions$competi32.required_id_card) || (competitions === null || competitions === void 0 || (_competitions$competi33 = competitions.competition) === null || _competitions$competi33 === void 0 ? void 0 : _competitions$competi33.required_school) || (competitions === null || competitions === void 0 || (_competitions$competi34 = competitions.competition) === null || _competitions$competi34 === void 0 ? void 0 : _competitions$competi34.required_phone) || (competitions === null || competitions === void 0 || (_competitions$competi35 = competitions.competition) === null || _competitions$competi35 === void 0 ? void 0 : _competitions$competi35.required_mail)) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mb10 font14",
style: {
fontWeight: 500
},
children: "\u5FC5\u586B\u4FE1\u606F"
}), (competitions === null || competitions === void 0 || (_competitions$competi35 = competitions.competition) === null || _competitions$competi35 === void 0 ? void 0 : _competitions$competi35.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi36 = competitions.competition) === null || _competitions$competi36 === void 0 ? void 0 : _competitions$competi36.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u4E2A\u4EBA\u540D\u79F0",
name: "user_name",
rules: [{
@ -12690,7 +12698,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u4E2A\u4EBA\u540D\u79F0"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi36 = competitions.competition) === null || _competitions$competi36 === void 0 ? void 0 : _competitions$competi36.required_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi37 = competitions.competition) === null || _competitions$competi37 === void 0 ? void 0 : _competitions$competi37.required_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u8EAB\u4EFD\u8BC1\u53F7",
name: "id_card",
rules: [{
@ -12710,7 +12718,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi37 = competitions.competition) === null || _competitions$competi37 === void 0 ? void 0 : _competitions$competi37.required_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi38 = competitions.competition) === null || _competitions$competi38 === void 0 ? void 0 : _competitions$competi38.required_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u5B66\u6821\u540D\u79F0",
name: "school_name",
rules: [{
@ -12730,7 +12738,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u5B66\u6821\u540D\u79F0"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi38 = competitions.competition) === null || _competitions$competi38 === void 0 ? void 0 : _competitions$competi38.required_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi39 = competitions.competition) === null || _competitions$competi39 === void 0 ? void 0 : _competitions$competi39.required_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u624B\u673A\u53F7\u7801",
name: "phone",
rules: [{
@ -12750,7 +12758,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi39 = competitions.competition) === null || _competitions$competi39 === void 0 ? void 0 : _competitions$competi39.required_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi40 = competitions.competition) === null || _competitions$competi40 === void 0 ? void 0 : _competitions$competi40.required_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u90AE\u7BB1\u8D26\u53F7",
name: "mail",
rules: [{

@ -444,7 +444,7 @@ var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/avatar/index.js + 4 modules
var es_avatar = __webpack_require__(26743);
// EXTERNAL MODULE: ./node_modules/_antd-img-crop@4.23.0@antd-img-crop/dist/antd-img-crop.esm.js + 19 modules
var antd_img_crop_esm = __webpack_require__(52831);
var antd_img_crop_esm = __webpack_require__(74374);
// EXTERNAL MODULE: ./src/service/forums.ts
var forums = __webpack_require__(50121);
;// CONCATENATED MODULE: ./src/pages/Forums/User/UserAvatar/index.less

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save