|
|
|
|
@ -2649,7 +2649,7 @@ var FirstEntryModal = function FirstEntryModal() {
|
|
|
|
|
/* harmony default export */ var components_FirstEntryModal = (FirstEntryModal);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Shixuns/Detail/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var Detailmodules = ({"flex_box_center":"flex_box_center___yLE9I","flex_space_between":"flex_space_between___oiROA","flex_box_vertical_center":"flex_box_vertical_center___EAVkE","flex_box_center_end":"flex_box_center_end___Y4sRU","flex_box_column":"flex_box_column___SSP3m","bg":"bg___UgpNC","tabs":"tabs___BSqmb","wrap":"wrap___NcfkY","checkWrap":"checkWrap___k5PF5","check":"check___XPhyn","tabsWrap":"tabsWrap___ZE6OM","verticalTabs":"verticalTabs___ioCA8","tabItem":"tabItem___gjoJK","activeIcon":"activeIcon___ksQyh","icon":"icon___GgnsD","activeTab":"activeTab___LK2Fz","content":"content___hFrYf"});
|
|
|
|
|
/* harmony default export */ var Detailmodules = ({"flex_box_center":"flex_box_center___yLE9I","flex_space_between":"flex_space_between___oiROA","flex_box_vertical_center":"flex_box_vertical_center___EAVkE","flex_box_center_end":"flex_box_center_end___Y4sRU","flex_box_column":"flex_box_column___SSP3m","bg":"bg___UgpNC","tabs":"tabs___BSqmb","wrap":"wrap___NcfkY","tabsWrap":"tabsWrap___ZE6OM","verticalTabs":"verticalTabs___ioCA8","tabItem":"tabItem___gjoJK","activeIcon":"activeIcon___ksQyh","icon":"icon___GgnsD","activeTab":"activeTab___LK2Fz","content":"content___hFrYf","checkWrap":"checkWrap___k5PF5","check":"check___XPhyn"});
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/drawer/index.js + 9 modules
|
|
|
|
|
var drawer = __webpack_require__(43428);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/progress/index.js + 13 modules
|
|
|
|
|
@ -3812,7 +3812,7 @@ var formatUrlToTabKey = function formatUrlToTabKey(url) {
|
|
|
|
|
return mapping[url] || "1";
|
|
|
|
|
};
|
|
|
|
|
var ShixunsDetailPage = function ShixunsDetailPage(_ref) {
|
|
|
|
|
var _shixunsDetail$detail, _user$userInfo, _user$userInfo2, _shixunsDetail$detail2, _shixunsDetail$detail3, _shixunsDetail$detail4, _shixunsDetail$detail5, _shixunsDetail$detail6, _shixunsDetail$detail7, _shixunsDetail$detail8, _shixunsDetail$detail9, _shixunsDetail$detail10, _shixunsDetail$detail11, _shixunsDetail$detail12, _shixunsDetail$detail13, _shixunsDetail$detail14, _shixunsDetail$detail15, _shixunsDetail$challe, _shixunsDetail$challe2, _shixunsDetail$detail16;
|
|
|
|
|
var _shixunsDetail$detail, _user$userInfo, _user$userInfo2, _shixunsDetail$detail2, _shixunsDetail$detail3, _shixunsDetail$detail4, _shixunsDetail$detail5, _shixunsDetail$detail6, _shixunsDetail$detail7, _shixunsDetail$detail8, _shixunsDetail$challe, _shixunsDetail$challe2, _shixunsDetail$detail9, _shixunsDetail$detail10, _shixunsDetail$detail11, _shixunsDetail$detail12, _shixunsDetail$detail13, _shixunsDetail$detail14, _shixunsDetail$detail15, _shixunsDetail$detail16;
|
|
|
|
|
var user = _ref.user,
|
|
|
|
|
shixunsDetail = _ref.shixunsDetail,
|
|
|
|
|
globalSetting = _ref.globalSetting,
|
|
|
|
|
@ -3927,48 +3927,15 @@ var ShixunsDetailPage = function ShixunsDetailPage(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(NewIndex/* default */.Z, {
|
|
|
|
|
title: "实践项目",
|
|
|
|
|
defaultBack: "/shixuns"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_Banner, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_Banner, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
|
|
|
|
|
className: Detailmodules.tabs,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
|
|
|
|
|
className: Detailmodules.wrap,
|
|
|
|
|
children: [ false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.tabsWrap,
|
|
|
|
|
children: tabList.map(function (tab) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: _classnames_2_5_1_classnames_default()(Detailmodules.tabItem, defineProperty_default()({}, Detailmodules.activeTab, selectedKeys === tab.key)),
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return handleMenuClick({
|
|
|
|
|
key: tab.key,
|
|
|
|
|
domEvent: {
|
|
|
|
|
currentTarget: {
|
|
|
|
|
textContent: tab.label
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: Detailmodules.activeIcon,
|
|
|
|
|
src: tab.activeIcon,
|
|
|
|
|
style: {
|
|
|
|
|
width: 14,
|
|
|
|
|
marginRight: 6
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: Detailmodules.icon,
|
|
|
|
|
src: selectedKeys === tab.key ? tab.activeIcon : tab.icon,
|
|
|
|
|
style: {
|
|
|
|
|
width: 14,
|
|
|
|
|
marginRight: 6
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: tab.label
|
|
|
|
|
})]
|
|
|
|
|
}, tab.key);
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.content,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {})
|
|
|
|
|
}), (0,authority/* isSuperAdmins */.Ny)() && !((_shixunsDetail$challe = shixunsDetail.challenges) !== null && _shixunsDetail$challe !== void 0 && _shixunsDetail$challe.is_jupyter || (_shixunsDetail$challe2 = shixunsDetail.challenges) !== null && _shixunsDetail$challe2 !== void 0 && _shixunsDetail$challe2.is_jupyter_lab) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "flex item-center",
|
|
|
|
|
style: {
|
|
|
|
|
width: '1200px',
|
|
|
|
|
margin: '0 auto'
|
|
|
|
|
},
|
|
|
|
|
children: [(0,authority/* isSuperAdmins */.Ny)() && !((_shixunsDetail$challe = shixunsDetail.challenges) !== null && _shixunsDetail$challe !== void 0 && _shixunsDetail$challe.is_jupyter || (_shixunsDetail$challe2 = shixunsDetail.challenges) !== null && _shixunsDetail$challe2 !== void 0 && _shixunsDetail$challe2.is_jupyter_lab) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.checkWrap,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
className: "".concat(Detailmodules.check, " ").concat(Detailmodules.activeCheck),
|
|
|
|
|
@ -3979,11 +3946,11 @@ var ShixunsDetailPage = function ShixunsDetailPage(_ref) {
|
|
|
|
|
className: "iconfont icon-hjj-yijianjiance font14"
|
|
|
|
|
}), "\u4E00\u952E\u68C0\u6D4B"]
|
|
|
|
|
})
|
|
|
|
|
}), own && editable && !((_shixunsDetail$detail16 = shixunsDetail.detail) !== null && _shixunsDetail$detail16 !== void 0 && _shixunsDetail$detail16.is_jupyter) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
}), own && editable && !((_shixunsDetail$detail9 = shixunsDetail.detail) !== null && _shixunsDetail$detail9 !== void 0 && _shixunsDetail$detail9.is_jupyter) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.checkWrap,
|
|
|
|
|
style: {
|
|
|
|
|
width: '78px',
|
|
|
|
|
marginLeft: 128
|
|
|
|
|
marginLeft: 20
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
|
|
|
|
|
className: Detailmodules.check,
|
|
|
|
|
@ -4011,6 +3978,46 @@ var ShixunsDetailPage = function ShixunsDetailPage(_ref) {
|
|
|
|
|
children: "\u8BBE\u7F6E"
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
|
|
|
|
|
className: Detailmodules.wrap,
|
|
|
|
|
children: [ false && /*#__PURE__*/0, /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.tabsWrap,
|
|
|
|
|
children: tabList.map(function (tab) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: _classnames_2_5_1_classnames_default()(Detailmodules.tabItem, defineProperty_default()({}, Detailmodules.activeTab, selectedKeys === tab.key)),
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return handleMenuClick({
|
|
|
|
|
key: tab.key,
|
|
|
|
|
domEvent: {
|
|
|
|
|
currentTarget: {
|
|
|
|
|
textContent: tab.label
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: Detailmodules.activeIcon,
|
|
|
|
|
src: tab.activeIcon,
|
|
|
|
|
style: {
|
|
|
|
|
width: 14,
|
|
|
|
|
marginRight: 6
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: Detailmodules.icon,
|
|
|
|
|
src: selectedKeys === tab.key ? tab.activeIcon : tab.icon,
|
|
|
|
|
style: {
|
|
|
|
|
width: 14,
|
|
|
|
|
marginRight: 6
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: tab.label
|
|
|
|
|
})]
|
|
|
|
|
}, tab.key);
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.content,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {})
|
|
|
|
|
}),
|
|
|
|
|
/*#__PURE__*/
|
|
|
|
|
// own && !shixunsDetail.detail?.is_jupyter &&
|
|
|
|
|
@ -4018,7 +4025,7 @@ var ShixunsDetailPage = function ShixunsDetailPage(_ref) {
|
|
|
|
|
isDrawer: isDrawer,
|
|
|
|
|
setIsDrawer: setIsDrawer
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
};
|