Auto Submit

dev_local_v9_test6
autosubmit 2 years ago
parent 4b346608e5
commit 3be8787fae

@ -85,6 +85,11 @@ var SelectEnvironment = function SelectEnvironment(_ref) {
shixun_type = _ref.shixun_type,
extraContent = _ref.extraContent,
tab_type = _ref.tab_type,
_ref$mirrorTypeIds = _ref.mirrorTypeIds,
mirrorTypeIds = _ref$mirrorTypeIds === void 0 ? {
mirror_type_id: '',
mirror_cloud_type_id: ''
} : _ref$mirrorTypeIds,
is_create_mirror = _ref.is_create_mirror,
hiddenCreateOnline = _ref.hiddenCreateOnline;
var _useState = (0,_react_17_0_2_react.useState)(''),
@ -252,7 +257,7 @@ var SelectEnvironment = function SelectEnvironment(_ref) {
method: 'get',
params: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
is_create_mirror: is_create_mirror
})
}, mirrorTypeIds)
});
case 4:
res = _context.sent;

@ -570,8 +570,8 @@ var difficultyDesc = {
//params.taskId 普通实训 params.identifier jupyter实训
var uploadWorkspace = cloud_type === 4 ? "/data/workspace/userfiles" : windows_vnc ? "C:\/Windows\/AppReadiness\/userfiles" : "/data/workspace/userfiles";
var downloadWorkspace = cloud_type === 4 ? "/data/workspace/downloadfiles" : windows_vnc ? "C:\/Windows\/AppReadiness\/downloadfiles" : "/data/workspace/downloadfiles";
var uploadWorkspace = windows_vnc ? "C:\/Windows\/AppReadiness\/userfiles" : "/data/workspace/userfiles";
var downloadWorkspace = windows_vnc ? "C:\/Windows\/AppReadiness\/downloadfiles" : "/data/workspace/downloadfiles";
var isLoadData = !(0,lodash.isEmpty)(resData) || !(0,lodash.isEmpty)(jupyterData);
var mirror_description = jupyterData ? {
name: jupyterData === null || jupyterData === void 0 ? void 0 : jupyterData.main_mirror_name,
@ -862,7 +862,7 @@ var difficultyDesc = {
children: "\u7AEF\u53E3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "c-grey-333",
children: cloud_type === 4 ? resData === null || resData === void 0 ? void 0 : resData.gpPort : resData === null || resData === void 0 ? void 0 : resData.port
children: resData === null || resData === void 0 ? void 0 : resData.port
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt10",

@ -14,6 +14,9 @@ __webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ Cards_CourseList; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules
@ -78,6 +81,7 @@ var jsx_runtime = __webpack_require__(37712);
var CourseListIcons = [{
@ -119,8 +123,26 @@ var CourseList = function CourseList(_ref) {
_ref$wrapWidth = _ref.wrapWidth,
wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
trackEventItems = _ref.trackEventItems,
loading = _ref.loading;
loading = _ref.loading,
wrapClassName = _ref.wrapClassName,
imgClassName = _ref.imgClassName,
_ref$isArrow = _ref.isArrow,
isArrow = _ref$isArrow === void 0 ? false : _ref$isArrow;
var width = Math.floor((wrapWidth - (col - 1) * right) / col);
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
nameIndex = _useState2[0],
setNameIndex = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
arrIndex = _useState4[0],
setArrIndex = _useState4[1];
var handleNameMouseEnter = function handleNameMouseEnter(index) {
return setNameIndex(index);
};
var handleNameMouseLeave = function handleNameMouseLeave() {
return setNameIndex(-1);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -136,7 +158,7 @@ var CourseList = function CourseList(_ref) {
excellent = item.excellent,
is_plan = item.is_plan;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.wrap,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.wrap, wrapClassName),
style: {
width: width,
marginRight: (1 + index) % col === 0 ? 0 : right + precision,
@ -154,7 +176,7 @@ var CourseList = function CourseList(_ref) {
(0,util/* openNewWindow */.xg)("/paths/".concat(identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.img,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.img, imgClassName),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.cover,
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(image_url)
@ -200,12 +222,19 @@ var CourseList = function CourseList(_ref) {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CourseListmodules.e,
style: {
color: isArrow && nameIndex === index ? '#145DFF' : '#000000'
},
onMouseEnter: function onMouseEnter() {
handleNameMouseEnter(index);
},
onMouseLeave: handleNameMouseLeave,
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u7AE0\u8282\u6570",
@ -227,7 +256,18 @@ var CourseList = function CourseList(_ref) {
})]
})
})]
})
}), isArrow && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(arrIndex === index ? /*! @/assets/images/index/arrowhover.png */ 17756 : /*! @/assets/images/index/arrow.png */ 13310),
onMouseEnter: function onMouseEnter() {
setArrIndex(index);
},
onMouseLeave: function onMouseLeave() {
setArrIndex(-1);
},
width: 67
})
})]
})]
})
}, id);
@ -751,7 +791,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5173\u5361\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shixunguanqia font14 mr2"
className: "iconfont icon-shixunguanqia font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.challenges_count
})]
@ -761,7 +801,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5B66\u4E60\u4EBA\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengyuan font14 mr2"
className: "iconfont icon-chengyuan font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.myshixuns_count
})]
@ -1397,6 +1437,26 @@ var CustomCountdown_CustomCountdown = function CustomCountdown(_ref) {
/***/ }),
/***/ 13310:
/*!*******************************************!*\
!*** ./src/assets/images/index/arrow.png ***!
\*******************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAAsBJREFUaEPtmk+IjVEYxn9PJBv/lWw0jIWysLRWYqukrK0GRZLVhPxdKWMxsRlsFBYsrGTYiYTFbJQyFtb+SyEe99RN33zudO/3fef75k73nOW97/u8z33O07nnzyvS6FsFbD8AtmcIPpO0tQnCaqJIqlFOAdu3gT2Z7LeSNpRDK5aVjFFMr0ajbV8GRjJFv0la0gSJZIwmVC5Zw/ZZYDSXvljSj5KQPaclY/QsVfOBtg8DY7nK6yS9q5tNMkbdClfAt70NeJSD2C3pTgXYnlKTMXqSaW6CbC8FPgHZeboiaX/djJIx6la4Ir7tV8CmDMy0pOGKsF3TkzG6SjS3AbYngH05FsOSputkloxRp7oRsG3vAO7noE5IOhMBflaIZIw61Y2AbXsBEE4hazNwYd8xJOlzhBIdIZIx6lI2Iq7tC8DRHORpSScjlpkBlYxRl7IRcW2Ha/CwCV2Ugf0CrJf0IWKpf1DJGHWoWgOm7UvAoRz0LUl7ayg343xcB37CjKSA7dXAGyDcbWTHqKTzkcqkFSO2kE3gzXJF/gfYJeleTA7prySmmg1g2b4bjJAr9RXYKelJLArJGLGUbAjH9jLgJZDvywgvriOSrsegkowRQ8WGMVqrxpb249rKDqUvAsck/a5CKxmjinpzmNs2xyQQNqX58RA4IOl1WYrJGGWV64M825uBYII1Hej8an0eOsBOlbnrSMbogwmuQsH2UOv19SYwW5PwRyB0go0X6fxKxqgyK32S22oBXAicC3uLXO9GluF74AYwIWmqG/VkjG4KzaPv2y+x48DGLrSfA1fDSiMprCj/jWSMeTTxvVC1Hd5TDgLHgRVdcsLJ5UX7hBNaCB9L+h5yZPtILwVTzLxTYFXbIMsLMP8JPAUmgzFcIDGFDoYCU8kYgzHRRX/ltWSMopINRvxYMsZgTHTRXzn2FxIhqRpxDpJmAAAAAElFTkSuQmCC";
/***/ }),
/***/ 17756:
/*!************************************************!*\
!*** ./src/assets/images/index/arrowhover.png ***!
\************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAA0ZJREFUaEPtmk9IFGEYxp93tG0J0q1m1TqEqYeoQ8eOFUSdAiGMLrsbHsSSighPUllZpyAjxBD8N0tgBnXwFOnSJYqoDhIIkQoZgrtrbhmJf3beWCib3dZ2Z+ebcWW/ve77/t5nnu/hY/58BPnLWwdUPz8H4+iqQMKbqEYHnRBMTgyRM3JzwOvjQQbq/nQTMBkJUlVuNHNdMhjm/HK0Wg1wJ3Q0GoLxIxKkrU6IkMFwwuUcZ3gD3MY6WoztHg/cn+7TYo7IrNtkMLK2yvlCr58vMqPdONlVjN3TvTRltxoZDLsdtsCv8PORFUbIiFCAk+EgPbGAzapVBiMrm9anqOY8l8RiiAH4u04KHkT76azdimQw7HbYIl/18xgYew03oBORIFVbxGZsl8HIaNH6Fnj93M2MeqOKok2onumhCTuVyWDY6a4AdlmAj+k6niWhCFejGt0UgF8TIYNhp7sC2HWDXPRiCFMM7FzFEWIlblROdNE3ASPSImQw7HJWIFcN8B3ouJz0dKLgRrifrgkck7Ip2UWWXGEOlNdzVXwZYwBcBuh3twt7vnTTV2GDDCC5Y9jhqg1Mr4/vMXDBiCbCo4hGp20YZ3g+toMumcIc2NXA6tICxgGUpISjJaLRbWGDfoPkjiHaURt56V6Rg6AXKaid6aMhkaNlMES66QBL9fFTALUpd4rzCnA8rNErURJkMEQ56RCnqoFL5xfwnoGkcxlEWISCxkgf9YmQIoMhwkWHGWX1fEBfQQiM7amjFeDuoRNofnyK4lZkyWBYcW8dexPh4GUMM6D+I4MwAuBcVKOPuUqUwcjVuTzoqwjw/riOEQbK04RjmRidm124nsu7DhmMPFhgKxIqznDlShwDANY6JDwHQpunFB1mTn7JYFhZlTzpPdzKxR/GcQtAc9LZDYM+IsyC8ZAI3WGNRjNJl8HI5NAG+j/xJZZ1dDBQ81/ZhLcKoce9BQOfO2kuXa0MxgZa+Gyk7mtlV3gSTdBxBcC2DD1xEN4RECIFoWIXXk530c9ED6kBvpTNQFmzsRwgYAczmsDwmFC+RITXDAyT6mM20ShLC8ABIozKYBTAQpu9RCL0ymCYda0A6klBuwxGASy02UtMBOMXm5/YZBd52JAAAAAASUVORK5CYII=";
/***/ }),
/***/ 96908:

@ -560,7 +560,7 @@
color: #7d8592;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span {
margin-right: 5px;
margin-right: 12px;
font-size: 12px;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 {

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

@ -3616,7 +3616,7 @@ span.CodeMirror-selectedtext {
color: #7d8592;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span {
margin-right: 5px;
margin-right: 12px;
font-size: 12px;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 {

@ -2180,6 +2180,9 @@ __webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ Cards_CourseList; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules
@ -2244,6 +2247,7 @@ var jsx_runtime = __webpack_require__(37712);
var CourseListIcons = [{
@ -2285,8 +2289,26 @@ var CourseList = function CourseList(_ref) {
_ref$wrapWidth = _ref.wrapWidth,
wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
trackEventItems = _ref.trackEventItems,
loading = _ref.loading;
loading = _ref.loading,
wrapClassName = _ref.wrapClassName,
imgClassName = _ref.imgClassName,
_ref$isArrow = _ref.isArrow,
isArrow = _ref$isArrow === void 0 ? false : _ref$isArrow;
var width = Math.floor((wrapWidth - (col - 1) * right) / col);
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
nameIndex = _useState2[0],
setNameIndex = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
arrIndex = _useState4[0],
setArrIndex = _useState4[1];
var handleNameMouseEnter = function handleNameMouseEnter(index) {
return setNameIndex(index);
};
var handleNameMouseLeave = function handleNameMouseLeave() {
return setNameIndex(-1);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -2302,7 +2324,7 @@ var CourseList = function CourseList(_ref) {
excellent = item.excellent,
is_plan = item.is_plan;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.wrap,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.wrap, wrapClassName),
style: {
width: width,
marginRight: (1 + index) % col === 0 ? 0 : right + precision,
@ -2320,7 +2342,7 @@ var CourseList = function CourseList(_ref) {
(0,util/* openNewWindow */.xg)("/paths/".concat(identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.img,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.img, imgClassName),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.cover,
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(image_url)
@ -2366,12 +2388,19 @@ var CourseList = function CourseList(_ref) {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CourseListmodules.e,
style: {
color: isArrow && nameIndex === index ? '#145DFF' : '#000000'
},
onMouseEnter: function onMouseEnter() {
handleNameMouseEnter(index);
},
onMouseLeave: handleNameMouseLeave,
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u7AE0\u8282\u6570",
@ -2393,7 +2422,18 @@ var CourseList = function CourseList(_ref) {
})]
})
})]
})
}), isArrow && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(arrIndex === index ? /*! @/assets/images/index/arrowhover.png */ 17756 : /*! @/assets/images/index/arrow.png */ 13310),
onMouseEnter: function onMouseEnter() {
setArrIndex(index);
},
onMouseLeave: function onMouseLeave() {
setArrIndex(-1);
},
width: 67
})
})]
})]
})
}, id);
@ -2917,7 +2957,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5173\u5361\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shixunguanqia font14 mr2"
className: "iconfont icon-shixunguanqia font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.challenges_count
})]
@ -2927,7 +2967,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5B66\u4E60\u4EBA\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengyuan font14 mr2"
className: "iconfont icon-chengyuan font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.myshixuns_count
})]
@ -23831,6 +23871,26 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) {
/***/ }),
/***/ 13310:
/*!*******************************************!*\
!*** ./src/assets/images/index/arrow.png ***!
\*******************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAAsBJREFUaEPtmk+IjVEYxn9PJBv/lWw0jIWysLRWYqukrK0GRZLVhPxdKWMxsRlsFBYsrGTYiYTFbJQyFtb+SyEe99RN33zudO/3fef75k73nOW97/u8z33O07nnzyvS6FsFbD8AtmcIPpO0tQnCaqJIqlFOAdu3gT2Z7LeSNpRDK5aVjFFMr0ajbV8GRjJFv0la0gSJZIwmVC5Zw/ZZYDSXvljSj5KQPaclY/QsVfOBtg8DY7nK6yS9q5tNMkbdClfAt70NeJSD2C3pTgXYnlKTMXqSaW6CbC8FPgHZeboiaX/djJIx6la4Ir7tV8CmDMy0pOGKsF3TkzG6SjS3AbYngH05FsOSputkloxRp7oRsG3vAO7noE5IOhMBflaIZIw61Y2AbXsBEE4hazNwYd8xJOlzhBIdIZIx6lI2Iq7tC8DRHORpSScjlpkBlYxRl7IRcW2Ha/CwCV2Ugf0CrJf0IWKpf1DJGHWoWgOm7UvAoRz0LUl7ayg343xcB37CjKSA7dXAGyDcbWTHqKTzkcqkFSO2kE3gzXJF/gfYJeleTA7prySmmg1g2b4bjJAr9RXYKelJLArJGLGUbAjH9jLgJZDvywgvriOSrsegkowRQ8WGMVqrxpb249rKDqUvAsck/a5CKxmjinpzmNs2xyQQNqX58RA4IOl1WYrJGGWV64M825uBYII1Hej8an0eOsBOlbnrSMbogwmuQsH2UOv19SYwW5PwRyB0go0X6fxKxqgyK32S22oBXAicC3uLXO9GluF74AYwIWmqG/VkjG4KzaPv2y+x48DGLrSfA1fDSiMprCj/jWSMeTTxvVC1Hd5TDgLHgRVdcsLJ5UX7hBNaCB9L+h5yZPtILwVTzLxTYFXbIMsLMP8JPAUmgzFcIDGFDoYCU8kYgzHRRX/ltWSMopINRvxYMsZgTHTRXzn2FxIhqRpxDpJmAAAAAElFTkSuQmCC";
/***/ }),
/***/ 17756:
/*!************************************************!*\
!*** ./src/assets/images/index/arrowhover.png ***!
\************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAA0ZJREFUaEPtmk9IFGEYxp93tG0J0q1m1TqEqYeoQ8eOFUSdAiGMLrsbHsSSighPUllZpyAjxBD8N0tgBnXwFOnSJYqoDhIIkQoZgrtrbhmJf3beWCib3dZ2Z+ebcWW/ve77/t5nnu/hY/58BPnLWwdUPz8H4+iqQMKbqEYHnRBMTgyRM3JzwOvjQQbq/nQTMBkJUlVuNHNdMhjm/HK0Wg1wJ3Q0GoLxIxKkrU6IkMFwwuUcZ3gD3MY6WoztHg/cn+7TYo7IrNtkMLK2yvlCr58vMqPdONlVjN3TvTRltxoZDLsdtsCv8PORFUbIiFCAk+EgPbGAzapVBiMrm9anqOY8l8RiiAH4u04KHkT76azdimQw7HbYIl/18xgYew03oBORIFVbxGZsl8HIaNH6Fnj93M2MeqOKok2onumhCTuVyWDY6a4AdlmAj+k6niWhCFejGt0UgF8TIYNhp7sC2HWDXPRiCFMM7FzFEWIlblROdNE3ASPSImQw7HJWIFcN8B3ouJz0dKLgRrifrgkck7Ip2UWWXGEOlNdzVXwZYwBcBuh3twt7vnTTV2GDDCC5Y9jhqg1Mr4/vMXDBiCbCo4hGp20YZ3g+toMumcIc2NXA6tICxgGUpISjJaLRbWGDfoPkjiHaURt56V6Rg6AXKaid6aMhkaNlMES66QBL9fFTALUpd4rzCnA8rNErURJkMEQ56RCnqoFL5xfwnoGkcxlEWISCxkgf9YmQIoMhwkWHGWX1fEBfQQiM7amjFeDuoRNofnyK4lZkyWBYcW8dexPh4GUMM6D+I4MwAuBcVKOPuUqUwcjVuTzoqwjw/riOEQbK04RjmRidm124nsu7DhmMPFhgKxIqznDlShwDANY6JDwHQpunFB1mTn7JYFhZlTzpPdzKxR/GcQtAc9LZDYM+IsyC8ZAI3WGNRjNJl8HI5NAG+j/xJZZ1dDBQ81/ZhLcKoce9BQOfO2kuXa0MxgZa+Gyk7mtlV3gSTdBxBcC2DD1xEN4RECIFoWIXXk530c9ED6kBvpTNQFmzsRwgYAczmsDwmFC+RITXDAyT6mM20ShLC8ABIozKYBTAQpu9RCL0ymCYda0A6klBuwxGASy02UtMBOMXm5/YZBd52JAAAAAASUVORK5CYII=";
/***/ }),
/***/ 96908:
/*!**************************************************************************!*\
!*** ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png ***!

@ -88,6 +88,9 @@ __webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ Cards_CourseList; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules
@ -152,6 +155,7 @@ var jsx_runtime = __webpack_require__(37712);
var CourseListIcons = [{
@ -193,8 +197,26 @@ var CourseList = function CourseList(_ref) {
_ref$wrapWidth = _ref.wrapWidth,
wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
trackEventItems = _ref.trackEventItems,
loading = _ref.loading;
loading = _ref.loading,
wrapClassName = _ref.wrapClassName,
imgClassName = _ref.imgClassName,
_ref$isArrow = _ref.isArrow,
isArrow = _ref$isArrow === void 0 ? false : _ref$isArrow;
var width = Math.floor((wrapWidth - (col - 1) * right) / col);
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
nameIndex = _useState2[0],
setNameIndex = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
arrIndex = _useState4[0],
setArrIndex = _useState4[1];
var handleNameMouseEnter = function handleNameMouseEnter(index) {
return setNameIndex(index);
};
var handleNameMouseLeave = function handleNameMouseLeave() {
return setNameIndex(-1);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -210,7 +232,7 @@ var CourseList = function CourseList(_ref) {
excellent = item.excellent,
is_plan = item.is_plan;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.wrap,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.wrap, wrapClassName),
style: {
width: width,
marginRight: (1 + index) % col === 0 ? 0 : right + precision,
@ -228,7 +250,7 @@ var CourseList = function CourseList(_ref) {
(0,util/* openNewWindow */.xg)("/paths/".concat(identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.img,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.img, imgClassName),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.cover,
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(image_url)
@ -274,12 +296,19 @@ var CourseList = function CourseList(_ref) {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CourseListmodules.e,
style: {
color: isArrow && nameIndex === index ? '#145DFF' : '#000000'
},
onMouseEnter: function onMouseEnter() {
handleNameMouseEnter(index);
},
onMouseLeave: handleNameMouseLeave,
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u7AE0\u8282\u6570",
@ -301,7 +330,18 @@ var CourseList = function CourseList(_ref) {
})]
})
})]
})
}), isArrow && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(arrIndex === index ? /*! @/assets/images/index/arrowhover.png */ 17756 : /*! @/assets/images/index/arrow.png */ 13310),
onMouseEnter: function onMouseEnter() {
setArrIndex(index);
},
onMouseLeave: function onMouseLeave() {
setArrIndex(-1);
},
width: 67
})
})]
})]
})
}, id);
@ -825,7 +865,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5173\u5361\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shixunguanqia font14 mr2"
className: "iconfont icon-shixunguanqia font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.challenges_count
})]
@ -835,7 +875,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5B66\u4E60\u4EBA\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengyuan font14 mr2"
className: "iconfont icon-chengyuan font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.myshixuns_count
})]
@ -7106,6 +7146,26 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
/***/ }),
/***/ 13310:
/*!*******************************************!*\
!*** ./src/assets/images/index/arrow.png ***!
\*******************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAAsBJREFUaEPtmk+IjVEYxn9PJBv/lWw0jIWysLRWYqukrK0GRZLVhPxdKWMxsRlsFBYsrGTYiYTFbJQyFtb+SyEe99RN33zudO/3fef75k73nOW97/u8z33O07nnzyvS6FsFbD8AtmcIPpO0tQnCaqJIqlFOAdu3gT2Z7LeSNpRDK5aVjFFMr0ajbV8GRjJFv0la0gSJZIwmVC5Zw/ZZYDSXvljSj5KQPaclY/QsVfOBtg8DY7nK6yS9q5tNMkbdClfAt70NeJSD2C3pTgXYnlKTMXqSaW6CbC8FPgHZeboiaX/djJIx6la4Ir7tV8CmDMy0pOGKsF3TkzG6SjS3AbYngH05FsOSputkloxRp7oRsG3vAO7noE5IOhMBflaIZIw61Y2AbXsBEE4hazNwYd8xJOlzhBIdIZIx6lI2Iq7tC8DRHORpSScjlpkBlYxRl7IRcW2Ha/CwCV2Ugf0CrJf0IWKpf1DJGHWoWgOm7UvAoRz0LUl7ayg343xcB37CjKSA7dXAGyDcbWTHqKTzkcqkFSO2kE3gzXJF/gfYJeleTA7prySmmg1g2b4bjJAr9RXYKelJLArJGLGUbAjH9jLgJZDvywgvriOSrsegkowRQ8WGMVqrxpb249rKDqUvAsck/a5CKxmjinpzmNs2xyQQNqX58RA4IOl1WYrJGGWV64M825uBYII1Hej8an0eOsBOlbnrSMbogwmuQsH2UOv19SYwW5PwRyB0go0X6fxKxqgyK32S22oBXAicC3uLXO9GluF74AYwIWmqG/VkjG4KzaPv2y+x48DGLrSfA1fDSiMprCj/jWSMeTTxvVC1Hd5TDgLHgRVdcsLJ5UX7hBNaCB9L+h5yZPtILwVTzLxTYFXbIMsLMP8JPAUmgzFcIDGFDoYCU8kYgzHRRX/ltWSMopINRvxYMsZgTHTRXzn2FxIhqRpxDpJmAAAAAElFTkSuQmCC";
/***/ }),
/***/ 17756:
/*!************************************************!*\
!*** ./src/assets/images/index/arrowhover.png ***!
\************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAA0ZJREFUaEPtmk9IFGEYxp93tG0J0q1m1TqEqYeoQ8eOFUSdAiGMLrsbHsSSighPUllZpyAjxBD8N0tgBnXwFOnSJYqoDhIIkQoZgrtrbhmJf3beWCib3dZ2Z+ebcWW/ve77/t5nnu/hY/58BPnLWwdUPz8H4+iqQMKbqEYHnRBMTgyRM3JzwOvjQQbq/nQTMBkJUlVuNHNdMhjm/HK0Wg1wJ3Q0GoLxIxKkrU6IkMFwwuUcZ3gD3MY6WoztHg/cn+7TYo7IrNtkMLK2yvlCr58vMqPdONlVjN3TvTRltxoZDLsdtsCv8PORFUbIiFCAk+EgPbGAzapVBiMrm9anqOY8l8RiiAH4u04KHkT76azdimQw7HbYIl/18xgYew03oBORIFVbxGZsl8HIaNH6Fnj93M2MeqOKok2onumhCTuVyWDY6a4AdlmAj+k6niWhCFejGt0UgF8TIYNhp7sC2HWDXPRiCFMM7FzFEWIlblROdNE3ASPSImQw7HJWIFcN8B3ouJz0dKLgRrifrgkck7Ip2UWWXGEOlNdzVXwZYwBcBuh3twt7vnTTV2GDDCC5Y9jhqg1Mr4/vMXDBiCbCo4hGp20YZ3g+toMumcIc2NXA6tICxgGUpISjJaLRbWGDfoPkjiHaURt56V6Rg6AXKaid6aMhkaNlMES66QBL9fFTALUpd4rzCnA8rNErURJkMEQ56RCnqoFL5xfwnoGkcxlEWISCxkgf9YmQIoMhwkWHGWX1fEBfQQiM7amjFeDuoRNofnyK4lZkyWBYcW8dexPh4GUMM6D+I4MwAuBcVKOPuUqUwcjVuTzoqwjw/riOEQbK04RjmRidm124nsu7DhmMPFhgKxIqznDlShwDANY6JDwHQpunFB1mTn7JYFhZlTzpPdzKxR/GcQtAc9LZDYM+IsyC8ZAI3WGNRjNJl8HI5NAG+j/xJZZ1dDBQ81/ZhLcKoce9BQOfO2kuXa0MxgZa+Gyk7mtlV3gSTdBxBcC2DD1xEN4RECIFoWIXXk530c9ED6kBvpTNQFmzsRwgYAczmsDwmFC+RITXDAyT6mM20ShLC8ABIozKYBTAQpu9RCL0ymCYda0A6klBuwxGASy02UtMBOMXm5/YZBd52JAAAAAASUVORK5CYII=";
/***/ }),
/***/ 96908:
/*!**************************************************************************!*\
!*** ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png ***!

@ -1423,7 +1423,7 @@
color: #7d8592;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span {
margin-right: 5px;
margin-right: 12px;
font-size: 12px;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 {

@ -321,6 +321,17 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u8BC4\u6D4B\u6B21\u6570"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: StudentDetailmodules.titlecoent,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: StudentDetailmodules.fonttitle,
style: {
color: '#E30000'
},
children: Number(table_data === null || table_data === void 0 ? void 0 : table_data.opportune_compelete_count) + Number(table_data === null || table_data === void 0 ? void 0 : table_data.late_compelete_count) || 0
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u5B8C\u6210\u603B\u6B21\u6570"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
columns: columns,
@ -1437,6 +1448,19 @@ var StudentDetail_ShixunsListPage = function ShixunsListPage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u7EFC\u5408\u603B\u6392\u540D\uFF08\u6392\u540D / \u603B\u4EBA\u6570\uFF09"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: StudentDetailmodules.ling
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: StudentDetailmodules.rightdiv,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: StudentDetailmodules.fonttitle,
style: {
color: '#272A3A'
},
children: [Math.floor(Number(data === null || data === void 0 ? void 0 : data.total_video_time) / 3600), "\u65F6", Math.ceil(Number(data === null || data === void 0 ? void 0 : data.total_video_time) % 3600 / 60), "\u5206"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u5B66\u4E60\u603B\u65F6\u957F"
})]
})]
})]
})]

@ -30,7 +30,7 @@
box-orient: block-axis;
}
.bg____UUAK {
width: 1200px;
width: 1400px;
margin: 0px auto;
}
.bg____UUAK .title___dswVh {
@ -87,16 +87,19 @@
align-items: center;
}
.bg____UUAK .title___dswVh .right___T8moz .bottom___fIm8n > div:nth-child(3) {
margin-left: 50px;
margin-left: 40px;
}
.bg____UUAK .title___dswVh .right___T8moz .bottom___fIm8n > div:nth-child(5) {
margin-left: 50px;
margin-left: 40px;
}
.bg____UUAK .title___dswVh .right___T8moz .bottom___fIm8n > div:nth-child(7) {
margin-left: 50px;
margin-left: 40px;
}
.bg____UUAK .title___dswVh .right___T8moz .bottom___fIm8n > div:nth-child(9) {
margin-left: 40px;
}
.bg____UUAK .title___dswVh .right___T8moz .bottom___fIm8n .rightdiv___dgVbw {
margin-right: 50px;
margin-right: 40px;
}
.bg____UUAK .title___dswVh .right___T8moz .bottom___fIm8n .rightdiv___dgVbw .fonttitle___WMXHQ {
font-size: 20px;

@ -2871,6 +2871,9 @@ __webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ Cards_CourseList; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules
@ -2935,6 +2938,7 @@ var jsx_runtime = __webpack_require__(37712);
var CourseListIcons = [{
@ -2976,8 +2980,26 @@ var CourseList = function CourseList(_ref) {
_ref$wrapWidth = _ref.wrapWidth,
wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
trackEventItems = _ref.trackEventItems,
loading = _ref.loading;
loading = _ref.loading,
wrapClassName = _ref.wrapClassName,
imgClassName = _ref.imgClassName,
_ref$isArrow = _ref.isArrow,
isArrow = _ref$isArrow === void 0 ? false : _ref$isArrow;
var width = Math.floor((wrapWidth - (col - 1) * right) / col);
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
nameIndex = _useState2[0],
setNameIndex = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
arrIndex = _useState4[0],
setArrIndex = _useState4[1];
var handleNameMouseEnter = function handleNameMouseEnter(index) {
return setNameIndex(index);
};
var handleNameMouseLeave = function handleNameMouseLeave() {
return setNameIndex(-1);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -2993,7 +3015,7 @@ var CourseList = function CourseList(_ref) {
excellent = item.excellent,
is_plan = item.is_plan;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.wrap,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.wrap, wrapClassName),
style: {
width: width,
marginRight: (1 + index) % col === 0 ? 0 : right + precision,
@ -3011,7 +3033,7 @@ var CourseList = function CourseList(_ref) {
(0,util/* openNewWindow */.xg)("/paths/".concat(identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.img,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.img, imgClassName),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.cover,
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(image_url)
@ -3057,12 +3079,19 @@ var CourseList = function CourseList(_ref) {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CourseListmodules.e,
style: {
color: isArrow && nameIndex === index ? '#145DFF' : '#000000'
},
onMouseEnter: function onMouseEnter() {
handleNameMouseEnter(index);
},
onMouseLeave: handleNameMouseLeave,
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u7AE0\u8282\u6570",
@ -3084,7 +3113,18 @@ var CourseList = function CourseList(_ref) {
})]
})
})]
})
}), isArrow && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(arrIndex === index ? /*! @/assets/images/index/arrowhover.png */ 17756 : /*! @/assets/images/index/arrow.png */ 13310),
onMouseEnter: function onMouseEnter() {
setArrIndex(index);
},
onMouseLeave: function onMouseLeave() {
setArrIndex(-1);
},
width: 67
})
})]
})]
})
}, id);
@ -3608,7 +3648,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5173\u5361\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shixunguanqia font14 mr2"
className: "iconfont icon-shixunguanqia font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.challenges_count
})]
@ -3618,7 +3658,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5B66\u4E60\u4EBA\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengyuan font14 mr2"
className: "iconfont icon-chengyuan font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.myshixuns_count
})]
@ -20916,6 +20956,26 @@ var ShixunStatusModel = function ShixunStatusModel(dispatch) {
/***/ }),
/***/ 13310:
/*!*******************************************!*\
!*** ./src/assets/images/index/arrow.png ***!
\*******************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAAsBJREFUaEPtmk+IjVEYxn9PJBv/lWw0jIWysLRWYqukrK0GRZLVhPxdKWMxsRlsFBYsrGTYiYTFbJQyFtb+SyEe99RN33zudO/3fef75k73nOW97/u8z33O07nnzyvS6FsFbD8AtmcIPpO0tQnCaqJIqlFOAdu3gT2Z7LeSNpRDK5aVjFFMr0ajbV8GRjJFv0la0gSJZIwmVC5Zw/ZZYDSXvljSj5KQPaclY/QsVfOBtg8DY7nK6yS9q5tNMkbdClfAt70NeJSD2C3pTgXYnlKTMXqSaW6CbC8FPgHZeboiaX/djJIx6la4Ir7tV8CmDMy0pOGKsF3TkzG6SjS3AbYngH05FsOSputkloxRp7oRsG3vAO7noE5IOhMBflaIZIw61Y2AbXsBEE4hazNwYd8xJOlzhBIdIZIx6lI2Iq7tC8DRHORpSScjlpkBlYxRl7IRcW2Ha/CwCV2Ugf0CrJf0IWKpf1DJGHWoWgOm7UvAoRz0LUl7ayg343xcB37CjKSA7dXAGyDcbWTHqKTzkcqkFSO2kE3gzXJF/gfYJeleTA7prySmmg1g2b4bjJAr9RXYKelJLArJGLGUbAjH9jLgJZDvywgvriOSrsegkowRQ8WGMVqrxpb249rKDqUvAsck/a5CKxmjinpzmNs2xyQQNqX58RA4IOl1WYrJGGWV64M825uBYII1Hej8an0eOsBOlbnrSMbogwmuQsH2UOv19SYwW5PwRyB0go0X6fxKxqgyK32S22oBXAicC3uLXO9GluF74AYwIWmqG/VkjG4KzaPv2y+x48DGLrSfA1fDSiMprCj/jWSMeTTxvVC1Hd5TDgLHgRVdcsLJ5UX7hBNaCB9L+h5yZPtILwVTzLxTYFXbIMsLMP8JPAUmgzFcIDGFDoYCU8kYgzHRRX/ltWSMopINRvxYMsZgTHTRXzn2FxIhqRpxDpJmAAAAAElFTkSuQmCC";
/***/ }),
/***/ 17756:
/*!************************************************!*\
!*** ./src/assets/images/index/arrowhover.png ***!
\************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAA0ZJREFUaEPtmk9IFGEYxp93tG0J0q1m1TqEqYeoQ8eOFUSdAiGMLrsbHsSSighPUllZpyAjxBD8N0tgBnXwFOnSJYqoDhIIkQoZgrtrbhmJf3beWCib3dZ2Z+ebcWW/ve77/t5nnu/hY/58BPnLWwdUPz8H4+iqQMKbqEYHnRBMTgyRM3JzwOvjQQbq/nQTMBkJUlVuNHNdMhjm/HK0Wg1wJ3Q0GoLxIxKkrU6IkMFwwuUcZ3gD3MY6WoztHg/cn+7TYo7IrNtkMLK2yvlCr58vMqPdONlVjN3TvTRltxoZDLsdtsCv8PORFUbIiFCAk+EgPbGAzapVBiMrm9anqOY8l8RiiAH4u04KHkT76azdimQw7HbYIl/18xgYew03oBORIFVbxGZsl8HIaNH6Fnj93M2MeqOKok2onumhCTuVyWDY6a4AdlmAj+k6niWhCFejGt0UgF8TIYNhp7sC2HWDXPRiCFMM7FzFEWIlblROdNE3ASPSImQw7HJWIFcN8B3ouJz0dKLgRrifrgkck7Ip2UWWXGEOlNdzVXwZYwBcBuh3twt7vnTTV2GDDCC5Y9jhqg1Mr4/vMXDBiCbCo4hGp20YZ3g+toMumcIc2NXA6tICxgGUpISjJaLRbWGDfoPkjiHaURt56V6Rg6AXKaid6aMhkaNlMES66QBL9fFTALUpd4rzCnA8rNErURJkMEQ56RCnqoFL5xfwnoGkcxlEWISCxkgf9YmQIoMhwkWHGWX1fEBfQQiM7amjFeDuoRNofnyK4lZkyWBYcW8dexPh4GUMM6D+I4MwAuBcVKOPuUqUwcjVuTzoqwjw/riOEQbK04RjmRidm124nsu7DhmMPFhgKxIqznDlShwDANY6JDwHQpunFB1mTn7JYFhZlTzpPdzKxR/GcQtAc9LZDYM+IsyC8ZAI3WGNRjNJl8HI5NAG+j/xJZZ1dDBQ81/ZhLcKoce9BQOfO2kuXa0MxgZa+Gyk7mtlV3gSTdBxBcC2DD1xEN4RECIFoWIXXk530c9ED6kBvpTNQFmzsRwgYAczmsDwmFC+RITXDAyT6mM20ShLC8ABIozKYBTAQpu9RCL0ymCYda0A6klBuwxGASy02UtMBOMXm5/YZBd52JAAAAAASUVORK5CYII=";
/***/ }),
/***/ 96908:
/*!**************************************************************************!*\
!*** ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png ***!

@ -919,7 +919,7 @@
color: #7d8592;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span {
margin-right: 5px;
margin-right: 12px;
font-size: 12px;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 {

@ -1838,6 +1838,9 @@ __webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ Cards_CourseList; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules
@ -1902,6 +1905,7 @@ var jsx_runtime = __webpack_require__(37712);
var CourseListIcons = [{
@ -1943,8 +1947,26 @@ var CourseList = function CourseList(_ref) {
_ref$wrapWidth = _ref.wrapWidth,
wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
trackEventItems = _ref.trackEventItems,
loading = _ref.loading;
loading = _ref.loading,
wrapClassName = _ref.wrapClassName,
imgClassName = _ref.imgClassName,
_ref$isArrow = _ref.isArrow,
isArrow = _ref$isArrow === void 0 ? false : _ref$isArrow;
var width = Math.floor((wrapWidth - (col - 1) * right) / col);
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
nameIndex = _useState2[0],
setNameIndex = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
arrIndex = _useState4[0],
setArrIndex = _useState4[1];
var handleNameMouseEnter = function handleNameMouseEnter(index) {
return setNameIndex(index);
};
var handleNameMouseLeave = function handleNameMouseLeave() {
return setNameIndex(-1);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -1960,7 +1982,7 @@ var CourseList = function CourseList(_ref) {
excellent = item.excellent,
is_plan = item.is_plan;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.wrap,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.wrap, wrapClassName),
style: {
width: width,
marginRight: (1 + index) % col === 0 ? 0 : right + precision,
@ -1978,7 +2000,7 @@ var CourseList = function CourseList(_ref) {
(0,util/* openNewWindow */.xg)("/paths/".concat(identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.img,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.img, imgClassName),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.cover,
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(image_url)
@ -2024,12 +2046,19 @@ var CourseList = function CourseList(_ref) {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CourseListmodules.e,
style: {
color: isArrow && nameIndex === index ? '#145DFF' : '#000000'
},
onMouseEnter: function onMouseEnter() {
handleNameMouseEnter(index);
},
onMouseLeave: handleNameMouseLeave,
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u7AE0\u8282\u6570",
@ -2051,7 +2080,18 @@ var CourseList = function CourseList(_ref) {
})]
})
})]
})
}), isArrow && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(arrIndex === index ? /*! @/assets/images/index/arrowhover.png */ 17756 : /*! @/assets/images/index/arrow.png */ 13310),
onMouseEnter: function onMouseEnter() {
setArrIndex(index);
},
onMouseLeave: function onMouseLeave() {
setArrIndex(-1);
},
width: 67
})
})]
})]
})
}, id);
@ -2575,7 +2615,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5173\u5361\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shixunguanqia font14 mr2"
className: "iconfont icon-shixunguanqia font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.challenges_count
})]
@ -2585,7 +2625,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5B66\u4E60\u4EBA\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengyuan font14 mr2"
className: "iconfont icon-chengyuan font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.myshixuns_count
})]
@ -9240,6 +9280,26 @@ function useCustomRequest(request, baseParams) {
}
/***/ }),
/***/ 13310:
/*!*******************************************!*\
!*** ./src/assets/images/index/arrow.png ***!
\*******************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAAsBJREFUaEPtmk+IjVEYxn9PJBv/lWw0jIWysLRWYqukrK0GRZLVhPxdKWMxsRlsFBYsrGTYiYTFbJQyFtb+SyEe99RN33zudO/3fef75k73nOW97/u8z33O07nnzyvS6FsFbD8AtmcIPpO0tQnCaqJIqlFOAdu3gT2Z7LeSNpRDK5aVjFFMr0ajbV8GRjJFv0la0gSJZIwmVC5Zw/ZZYDSXvljSj5KQPaclY/QsVfOBtg8DY7nK6yS9q5tNMkbdClfAt70NeJSD2C3pTgXYnlKTMXqSaW6CbC8FPgHZeboiaX/djJIx6la4Ir7tV8CmDMy0pOGKsF3TkzG6SjS3AbYngH05FsOSputkloxRp7oRsG3vAO7noE5IOhMBflaIZIw61Y2AbXsBEE4hazNwYd8xJOlzhBIdIZIx6lI2Iq7tC8DRHORpSScjlpkBlYxRl7IRcW2Ha/CwCV2Ugf0CrJf0IWKpf1DJGHWoWgOm7UvAoRz0LUl7ayg343xcB37CjKSA7dXAGyDcbWTHqKTzkcqkFSO2kE3gzXJF/gfYJeleTA7prySmmg1g2b4bjJAr9RXYKelJLArJGLGUbAjH9jLgJZDvywgvriOSrsegkowRQ8WGMVqrxpb249rKDqUvAsck/a5CKxmjinpzmNs2xyQQNqX58RA4IOl1WYrJGGWV64M825uBYII1Hej8an0eOsBOlbnrSMbogwmuQsH2UOv19SYwW5PwRyB0go0X6fxKxqgyK32S22oBXAicC3uLXO9GluF74AYwIWmqG/VkjG4KzaPv2y+x48DGLrSfA1fDSiMprCj/jWSMeTTxvVC1Hd5TDgLHgRVdcsLJ5UX7hBNaCB9L+h5yZPtILwVTzLxTYFXbIMsLMP8JPAUmgzFcIDGFDoYCU8kYgzHRRX/ltWSMopINRvxYMsZgTHTRXzn2FxIhqRpxDpJmAAAAAElFTkSuQmCC";
/***/ }),
/***/ 17756:
/*!************************************************!*\
!*** ./src/assets/images/index/arrowhover.png ***!
\************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAA0ZJREFUaEPtmk9IFGEYxp93tG0J0q1m1TqEqYeoQ8eOFUSdAiGMLrsbHsSSighPUllZpyAjxBD8N0tgBnXwFOnSJYqoDhIIkQoZgrtrbhmJf3beWCib3dZ2Z+ebcWW/ve77/t5nnu/hY/58BPnLWwdUPz8H4+iqQMKbqEYHnRBMTgyRM3JzwOvjQQbq/nQTMBkJUlVuNHNdMhjm/HK0Wg1wJ3Q0GoLxIxKkrU6IkMFwwuUcZ3gD3MY6WoztHg/cn+7TYo7IrNtkMLK2yvlCr58vMqPdONlVjN3TvTRltxoZDLsdtsCv8PORFUbIiFCAk+EgPbGAzapVBiMrm9anqOY8l8RiiAH4u04KHkT76azdimQw7HbYIl/18xgYew03oBORIFVbxGZsl8HIaNH6Fnj93M2MeqOKok2onumhCTuVyWDY6a4AdlmAj+k6niWhCFejGt0UgF8TIYNhp7sC2HWDXPRiCFMM7FzFEWIlblROdNE3ASPSImQw7HJWIFcN8B3ouJz0dKLgRrifrgkck7Ip2UWWXGEOlNdzVXwZYwBcBuh3twt7vnTTV2GDDCC5Y9jhqg1Mr4/vMXDBiCbCo4hGp20YZ3g+toMumcIc2NXA6tICxgGUpISjJaLRbWGDfoPkjiHaURt56V6Rg6AXKaid6aMhkaNlMES66QBL9fFTALUpd4rzCnA8rNErURJkMEQ56RCnqoFL5xfwnoGkcxlEWISCxkgf9YmQIoMhwkWHGWX1fEBfQQiM7amjFeDuoRNofnyK4lZkyWBYcW8dexPh4GUMM6D+I4MwAuBcVKOPuUqUwcjVuTzoqwjw/riOEQbK04RjmRidm124nsu7DhmMPFhgKxIqznDlShwDANY6JDwHQpunFB1mTn7JYFhZlTzpPdzKxR/GcQtAc9LZDYM+IsyC8ZAI3WGNRjNJl8HI5NAG+j/xJZZ1dDBQ81/ZhLcKoce9BQOfO2kuXa0MxgZa+Gyk7mtlV3gSTdBxBcC2DD1xEN4RECIFoWIXXk530c9ED6kBvpTNQFmzsRwgYAczmsDwmFC+RITXDAyT6mM20ShLC8ABIozKYBTAQpu9RCL0ymCYda0A6klBuwxGASy02UtMBOMXm5/YZBd52JAAAAAASUVORK5CYII=";
/***/ }),
/***/ 73631:

@ -907,7 +907,7 @@
color: #7d8592;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span {
margin-right: 5px;
margin-right: 12px;
font-size: 12px;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 {

@ -5104,7 +5104,7 @@ body {
color: #7d8592;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span {
margin-right: 5px;
margin-right: 12px;
font-size: 12px;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 {

@ -3786,6 +3786,9 @@ __webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ Cards_CourseList; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules
@ -3850,6 +3853,7 @@ var jsx_runtime = __webpack_require__(37712);
var CourseListIcons = [{
@ -3891,8 +3895,26 @@ var CourseList = function CourseList(_ref) {
_ref$wrapWidth = _ref.wrapWidth,
wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
trackEventItems = _ref.trackEventItems,
loading = _ref.loading;
loading = _ref.loading,
wrapClassName = _ref.wrapClassName,
imgClassName = _ref.imgClassName,
_ref$isArrow = _ref.isArrow,
isArrow = _ref$isArrow === void 0 ? false : _ref$isArrow;
var width = Math.floor((wrapWidth - (col - 1) * right) / col);
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
nameIndex = _useState2[0],
setNameIndex = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
arrIndex = _useState4[0],
setArrIndex = _useState4[1];
var handleNameMouseEnter = function handleNameMouseEnter(index) {
return setNameIndex(index);
};
var handleNameMouseLeave = function handleNameMouseLeave() {
return setNameIndex(-1);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -3908,7 +3930,7 @@ var CourseList = function CourseList(_ref) {
excellent = item.excellent,
is_plan = item.is_plan;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.wrap,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.wrap, wrapClassName),
style: {
width: width,
marginRight: (1 + index) % col === 0 ? 0 : right + precision,
@ -3926,7 +3948,7 @@ var CourseList = function CourseList(_ref) {
(0,util/* openNewWindow */.xg)("/paths/".concat(identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.img,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.img, imgClassName),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.cover,
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(image_url)
@ -3972,12 +3994,19 @@ var CourseList = function CourseList(_ref) {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CourseListmodules.e,
style: {
color: isArrow && nameIndex === index ? '#145DFF' : '#000000'
},
onMouseEnter: function onMouseEnter() {
handleNameMouseEnter(index);
},
onMouseLeave: handleNameMouseLeave,
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u7AE0\u8282\u6570",
@ -3999,7 +4028,18 @@ var CourseList = function CourseList(_ref) {
})]
})
})]
})
}), isArrow && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(arrIndex === index ? /*! @/assets/images/index/arrowhover.png */ 17756 : /*! @/assets/images/index/arrow.png */ 13310),
onMouseEnter: function onMouseEnter() {
setArrIndex(index);
},
onMouseLeave: function onMouseLeave() {
setArrIndex(-1);
},
width: 67
})
})]
})]
})
}, id);
@ -4523,7 +4563,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5173\u5361\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shixunguanqia font14 mr2"
className: "iconfont icon-shixunguanqia font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.challenges_count
})]
@ -4533,7 +4573,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5B66\u4E60\u4EBA\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengyuan font14 mr2"
className: "iconfont icon-chengyuan font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.myshixuns_count
})]
@ -20696,6 +20736,26 @@ var ShixunStatusModel = function ShixunStatusModel(dispatch) {
/***/ }),
/***/ 13310:
/*!*******************************************!*\
!*** ./src/assets/images/index/arrow.png ***!
\*******************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAAsBJREFUaEPtmk+IjVEYxn9PJBv/lWw0jIWysLRWYqukrK0GRZLVhPxdKWMxsRlsFBYsrGTYiYTFbJQyFtb+SyEe99RN33zudO/3fef75k73nOW97/u8z33O07nnzyvS6FsFbD8AtmcIPpO0tQnCaqJIqlFOAdu3gT2Z7LeSNpRDK5aVjFFMr0ajbV8GRjJFv0la0gSJZIwmVC5Zw/ZZYDSXvljSj5KQPaclY/QsVfOBtg8DY7nK6yS9q5tNMkbdClfAt70NeJSD2C3pTgXYnlKTMXqSaW6CbC8FPgHZeboiaX/djJIx6la4Ir7tV8CmDMy0pOGKsF3TkzG6SjS3AbYngH05FsOSputkloxRp7oRsG3vAO7noE5IOhMBflaIZIw61Y2AbXsBEE4hazNwYd8xJOlzhBIdIZIx6lI2Iq7tC8DRHORpSScjlpkBlYxRl7IRcW2Ha/CwCV2Ugf0CrJf0IWKpf1DJGHWoWgOm7UvAoRz0LUl7ayg343xcB37CjKSA7dXAGyDcbWTHqKTzkcqkFSO2kE3gzXJF/gfYJeleTA7prySmmg1g2b4bjJAr9RXYKelJLArJGLGUbAjH9jLgJZDvywgvriOSrsegkowRQ8WGMVqrxpb249rKDqUvAsck/a5CKxmjinpzmNs2xyQQNqX58RA4IOl1WYrJGGWV64M825uBYII1Hej8an0eOsBOlbnrSMbogwmuQsH2UOv19SYwW5PwRyB0go0X6fxKxqgyK32S22oBXAicC3uLXO9GluF74AYwIWmqG/VkjG4KzaPv2y+x48DGLrSfA1fDSiMprCj/jWSMeTTxvVC1Hd5TDgLHgRVdcsLJ5UX7hBNaCB9L+h5yZPtILwVTzLxTYFXbIMsLMP8JPAUmgzFcIDGFDoYCU8kYgzHRRX/ltWSMopINRvxYMsZgTHTRXzn2FxIhqRpxDpJmAAAAAElFTkSuQmCC";
/***/ }),
/***/ 17756:
/*!************************************************!*\
!*** ./src/assets/images/index/arrowhover.png ***!
\************************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAA0ZJREFUaEPtmk9IFGEYxp93tG0J0q1m1TqEqYeoQ8eOFUSdAiGMLrsbHsSSighPUllZpyAjxBD8N0tgBnXwFOnSJYqoDhIIkQoZgrtrbhmJf3beWCib3dZ2Z+ebcWW/ve77/t5nnu/hY/58BPnLWwdUPz8H4+iqQMKbqEYHnRBMTgyRM3JzwOvjQQbq/nQTMBkJUlVuNHNdMhjm/HK0Wg1wJ3Q0GoLxIxKkrU6IkMFwwuUcZ3gD3MY6WoztHg/cn+7TYo7IrNtkMLK2yvlCr58vMqPdONlVjN3TvTRltxoZDLsdtsCv8PORFUbIiFCAk+EgPbGAzapVBiMrm9anqOY8l8RiiAH4u04KHkT76azdimQw7HbYIl/18xgYew03oBORIFVbxGZsl8HIaNH6Fnj93M2MeqOKok2onumhCTuVyWDY6a4AdlmAj+k6niWhCFejGt0UgF8TIYNhp7sC2HWDXPRiCFMM7FzFEWIlblROdNE3ASPSImQw7HJWIFcN8B3ouJz0dKLgRrifrgkck7Ip2UWWXGEOlNdzVXwZYwBcBuh3twt7vnTTV2GDDCC5Y9jhqg1Mr4/vMXDBiCbCo4hGp20YZ3g+toMumcIc2NXA6tICxgGUpISjJaLRbWGDfoPkjiHaURt56V6Rg6AXKaid6aMhkaNlMES66QBL9fFTALUpd4rzCnA8rNErURJkMEQ56RCnqoFL5xfwnoGkcxlEWISCxkgf9YmQIoMhwkWHGWX1fEBfQQiM7amjFeDuoRNofnyK4lZkyWBYcW8dexPh4GUMM6D+I4MwAuBcVKOPuUqUwcjVuTzoqwjw/riOEQbK04RjmRidm124nsu7DhmMPFhgKxIqznDlShwDANY6JDwHQpunFB1mTn7JYFhZlTzpPdzKxR/GcQtAc9LZDYM+IsyC8ZAI3WGNRjNJl8HI5NAG+j/xJZZ1dDBQ81/ZhLcKoce9BQOfO2kuXa0MxgZa+Gyk7mtlV3gSTdBxBcC2DD1xEN4RECIFoWIXXk530c9ED6kBvpTNQFmzsRwgYAczmsDwmFC+RITXDAyT6mM20ShLC8ABIozKYBTAQpu9RCL0ymCYda0A6klBuwxGASy02UtMBOMXm5/YZBd52JAAAAAASUVORK5CYII=";
/***/ }),
/***/ 96908:
/*!**************************************************************************!*\
!*** ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png ***!

@ -3009,7 +3009,7 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
color: #7d8592;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span {
margin-right: 5px;
margin-right: 12px;
font-size: 12px;
}
.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 {
@ -5505,6 +5505,19 @@ button[class~='ant-btn-default']:disabled.btn___In02G {
height: 580px;
padding-bottom: 4px;
}
.mirrorModal___z1tEP .selSpanSty___z5X9Y {
display: inline-block;
width: 68px;
height: 32px;
line-height: 32px;
border: 1px solid #DCDCDC;
border-radius: 2px;
background: #F6F7F9;
font-size: 14px;
color: #666666;
text-align: center;
border-right: none;
}
.mirrorModal___z1tEP .right___ZlGrr {
flex: 1 1;
background-color: white;

@ -2361,6 +2361,9 @@ __webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ Cards_CourseList; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules
@ -2425,6 +2428,7 @@ var jsx_runtime = __webpack_require__(37712);
var CourseListIcons = [{
@ -2466,8 +2470,26 @@ var CourseList = function CourseList(_ref) {
_ref$wrapWidth = _ref.wrapWidth,
wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth,
trackEventItems = _ref.trackEventItems,
loading = _ref.loading;
loading = _ref.loading,
wrapClassName = _ref.wrapClassName,
imgClassName = _ref.imgClassName,
_ref$isArrow = _ref.isArrow,
isArrow = _ref$isArrow === void 0 ? false : _ref$isArrow;
var width = Math.floor((wrapWidth - (col - 1) * right) / col);
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
nameIndex = _useState2[0],
setNameIndex = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
arrIndex = _useState4[0],
setArrIndex = _useState4[1];
var handleNameMouseEnter = function handleNameMouseEnter(index) {
return setNameIndex(index);
};
var handleNameMouseLeave = function handleNameMouseLeave() {
return setNameIndex(-1);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -2483,7 +2505,7 @@ var CourseList = function CourseList(_ref) {
excellent = item.excellent,
is_plan = item.is_plan;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CourseListmodules.wrap,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.wrap, wrapClassName),
style: {
width: width,
marginRight: (1 + index) % col === 0 ? 0 : right + precision,
@ -2501,7 +2523,7 @@ var CourseList = function CourseList(_ref) {
(0,util/* openNewWindow */.xg)("/paths/".concat(identifier));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.img,
className: _classnames_2_5_1_classnames_default()(CourseListmodules.img, imgClassName),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: CourseListmodules.cover,
src: "".concat(env/* default */.Z.IMG_SERVER, "/").concat(image_url)
@ -2547,12 +2569,19 @@ var CourseList = function CourseList(_ref) {
title: name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CourseListmodules.e,
style: {
color: isArrow && nameIndex === index ? '#145DFF' : '#000000'
},
onMouseEnter: function onMouseEnter() {
handleNameMouseEnter(index);
},
onMouseLeave: handleNameMouseLeave,
children: name
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CourseListmodules.tags,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottom",
title: "\u7AE0\u8282\u6570",
@ -2574,7 +2603,18 @@ var CourseList = function CourseList(_ref) {
})]
})
})]
})
}), isArrow && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(arrIndex === index ? /*! @/assets/images/index/arrowhover.png */ 17756 : /*! @/assets/images/index/arrow.png */ 13310),
onMouseEnter: function onMouseEnter() {
setArrIndex(index);
},
onMouseLeave: function onMouseLeave() {
setArrIndex(-1);
},
width: 67
})
})]
})]
})
}, id);
@ -3099,7 +3139,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5173\u5361\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shixunguanqia font14 mr2"
className: "iconfont icon-shixunguanqia font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.challenges_count
})]
@ -3109,7 +3149,7 @@ var ShixunList = function ShixunList(_ref) {
title: "\u5B66\u4E60\u4EBA\u6570",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chengyuan font14 mr2"
className: "iconfont icon-chengyuan font14 mr3"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item.myshixuns_count
})]
@ -12824,7 +12864,7 @@ var RenderHtml = __webpack_require__(78458);
var SelectEnvironment = __webpack_require__(6344);
;// CONCATENATED MODULE: ./src/pages/Shixuns/Edit/body/Environment/MirrorModal/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var MirrorModalmodules = ({"mirrorModal":"mirrorModal___z1tEP","right":"right___ZlGrr","title":"title___lWaS3","content":"content___bCC9x","des":"des___ujB5y","btns":"btns___L4vgc","confirm":"confirm___RFRg4","cancel":"cancel___F1WB_","modal":"modal___A5dbG"});
/* harmony default export */ var MirrorModalmodules = ({"mirrorModal":"mirrorModal___z1tEP","selSpanSty":"selSpanSty___z5X9Y","right":"right___ZlGrr","title":"title___lWaS3","content":"content___bCC9x","des":"des___ujB5y","btns":"btns___L4vgc","confirm":"confirm___RFRg4","cancel":"cancel___F1WB_","modal":"modal___A5dbG"});
// EXTERNAL MODULE: ./src/pages/Shixuns/New/components/ApplyModal/index.tsx + 1 modules
var ApplyModal = __webpack_require__(89367);
// EXTERNAL MODULE: ./src/pages/Shixuns/New/components/CreateEnvironment/index.tsx
@ -12846,8 +12886,10 @@ var CreateEnvironment = __webpack_require__(9465);
var MirrorModal = function MirrorModal(_ref) {
var _newShixuns$actionTab, _ref3;
var _newShixuns$actionTab, _ref5;
var newShixuns = _ref.newShixuns,
user = _ref.user,
dispatch = _ref.dispatch,
@ -12880,16 +12922,84 @@ var MirrorModal = function MirrorModal(_ref) {
other_image = _environmentData$othe === void 0 ? [] : _environmentData$othe;
var name = detail.name,
description = detail.description;
var _useState7 = (0,_react_17_0_2_react.useState)({
mirror_types: [],
mirror_cloud_types: []
}),
_useState8 = slicedToArray_default()(_useState7, 2),
mirrtypeInfo = _useState8[0],
setMirrorTypeInfo = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)({
mirror_type_id: '',
mirror_cloud_type_id: ''
}),
_useState10 = slicedToArray_default()(_useState9, 2),
mirrorTypeIds = _useState10[0],
setMirrTypeIds = _useState10[1];
var getMirrorData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(mirror_type_id, mirror_cloud_type_id) {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
dispatch({
type: 'newShixuns/getEnvironmentData',
payload: {
tab_type: tab_type,
mirror_type_id: mirror_type_id,
mirror_cloud_type_id: mirror_cloud_type_id
}
});
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getMirrorData(_x, _x2) {
return _ref2.apply(this, arguments);
};
}();
var getMirrorTypes = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var res, _res$data, _res$data2;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return (0,fetch/* default */.ZP)("/api/shixuns/get_mirror_types.json", {
method: 'get'
});
case 2:
res = _context2.sent;
if (res.status === 0) {
mirrtypeInfo.mirror_types = (res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.mirror_types) || [];
mirrtypeInfo.mirror_cloud_types = (res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.mirror_cloud_types) || [];
setMirrorTypeInfo(objectSpread2_default()({}, mirrtypeInfo));
}
case 4:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function getMirrorTypes() {
return _ref3.apply(this, arguments);
};
}();
(0,_react_17_0_2_react.useEffect)(function () {
if (visible) {
dispatch({
type: 'newShixuns/getEnvironmentData',
payload: {
tab_type: tab_type
}
});
// dispatch({
// type: 'newShixuns/getEnvironmentData',
// payload:{
// tab_type
// }
// });
getMirrorData();
setKeyword("");
setActiveId(useId);
if (tab_type === 'public') {
getMirrorTypes();
}
}
}, [visible, useId]);
(0,_react_17_0_2_react.useEffect)(function () {
@ -12902,28 +13012,28 @@ var MirrorModal = function MirrorModal(_ref) {
getData();
}, [activeId]);
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
_context.next = 2;
_context3.next = 2;
return (0,shixuns/* getEnvironmentDetail */.Q1)({
mirror_repository_id: activeId,
identifier: identifier,
shixun_environment_id: shixun_environment_id
});
case 2:
res = _context.sent;
res = _context3.sent;
setDetail(res.data);
case 4:
case "end":
return _context.stop();
return _context3.stop();
}
}, _callee);
}, _callee3);
}));
return function getData() {
return _ref2.apply(this, arguments);
return _ref4.apply(this, arguments);
};
}();
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
@ -12950,7 +13060,64 @@ var MirrorModal = function MirrorModal(_ref) {
onSearchWord: function onSearchWord(value) {
return setKeyword(value);
},
tab_type: tab_type
tab_type: tab_type,
extraContent: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: tab_type === 'public' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: "flex"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginRight: '10px',
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MirrorModalmodules.selSpanSty,
children: "\u955C\u50CF\u5206\u7C7B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
allowClear: true,
value: mirrorTypeIds.mirror_type_id,
style: {
width: 77
},
options: mirrtypeInfo.mirror_types,
fieldNames: {
label: 'name',
value: 'id'
},
onChange: function onChange(value) {
getMirrorData(value, mirrorTypeIds.mirror_cloud_type_id);
mirrorTypeIds.mirror_type_id = value;
setMirrTypeIds(objectSpread2_default()({}, mirrorTypeIds));
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MirrorModalmodules.selSpanSty,
children: "\u8DE8\u4E91\u5206\u7C7B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
allowClear: true,
value: mirrorTypeIds.mirror_cloud_type_id,
style: {
width: 77
},
options: mirrtypeInfo.mirror_cloud_types,
fieldNames: {
label: 'name',
value: 'id'
},
onChange: function onChange(value) {
getMirrorData(mirrorTypeIds.mirror_type_id, value);
mirrorTypeIds.mirror_cloud_type_id = value;
setMirrTypeIds(objectSpread2_default()({}, mirrorTypeIds));
}
})]
})]
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MirrorModalmodules.right,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("header", {
@ -12958,7 +13125,7 @@ var MirrorModal = function MirrorModal(_ref) {
className: MirrorModalmodules.title,
children: ["\u5B9E\u9A8C\u73AF\u5883:\xA0", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: activeId === null ? '— —' : (_ref3 = name || "") === null || _ref3 === void 0 ? void 0 : _ref3.replace(new RegExp(keyword === null || keyword === void 0 ? void 0 : keyword.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"), '<span style="color:#0152d9;background-color:#1890ff33">$&</span>')
__html: activeId === null ? '— —' : (_ref5 = name || "") === null || _ref5 === void 0 ? void 0 : _ref5.replace(new RegExp(keyword === null || keyword === void 0 ? void 0 : keyword.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"), '<span style="color:#0152d9;background-color:#1890ff33">$&</span>')
}
})]
})
@ -12998,10 +13165,10 @@ var MirrorModal = function MirrorModal(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ApplyModal/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(CreateEnvironment/* default */.Z, {})]
});
};
/* harmony default export */ var Environment_MirrorModal = ((0,_umi_production_exports.connect)(function (_ref4) {
var newShixuns = _ref4.newShixuns,
globalSetting = _ref4.globalSetting,
user = _ref4.user;
/* harmony default export */ var Environment_MirrorModal = ((0,_umi_production_exports.connect)(function (_ref6) {
var newShixuns = _ref6.newShixuns,
globalSetting = _ref6.globalSetting,
user = _ref6.user;
return {
newShixuns: newShixuns,
globalSetting: globalSetting,
@ -13661,7 +13828,7 @@ var resetmodules = __webpack_require__(32185);
var Option = es_select["default"].Option;
var MAX_COUNT = 3;
var Environment = function Environment(_ref) {
var _cloudList$find, _cloudList$find2, _mirror_repository$ch, _mirror_repository$sh2, _mirror_repository$sh3, _mirror_repository$sh4, _mirror_repository$sh5, _boosters$find, _network_mode_list$fi, _mirrorItems$Number2;
var _cloudList$find, _mirror_repository$ch, _mirror_repository$sh2, _mirror_repository$sh3, _mirror_repository$sh4, _mirror_repository$sh5, _boosters$find, _network_mode_list$fi, _mirrorItems$Number2;
var practiceSetting = _ref.practiceSetting,
dispatch = _ref.dispatch,
shixunsDetail = _ref.shixunsDetail,
@ -13817,9 +13984,6 @@ var Environment = function Environment(_ref) {
var isAliCloud = (cloudList === null || cloudList === void 0 || (_cloudList$find = cloudList.find(function (e) {
return e.id === (shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.private_cloud_id);
})) === null || _cloudList$find === void 0 ? void 0 : _cloudList$find.cloud_type) === 1;
var isCoderCloud = (cloudList === null || cloudList === void 0 || (_cloudList$find2 = cloudList.find(function (e) {
return e.id === (shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.private_cloud_id);
})) === null || _cloudList$find2 === void 0 ? void 0 : _cloudList$find2.cloud_type) === 4;
(0,_react_17_0_2_react.useEffect)(function () {
window.addEventListener("click", handleClick);
return function () {
@ -15833,7 +15997,7 @@ var Environment = function Environment(_ref) {
})
})]
})
}), renderInterface(false), (shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.operating_system) === 1 && (shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.private_is_support_vnc) && (isAliCloud || isCoderCloud && virt_type === 1) && /*#__PURE__*/(0,jsx_runtime.jsx)(Label/* default */.Z, {
}), renderInterface(false), (shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.operating_system) === 1 && (shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.private_is_support_vnc) && isAliCloud && /*#__PURE__*/(0,jsx_runtime.jsx)(Label/* default */.Z, {
required: true,
name: "\u5B9E\u4F8B\u542F\u52A8\u65B9\u5F0F",
errorKey: "instance_startup_type",
@ -19229,6 +19393,28 @@ var ShixunStatusModel = function ShixunStatusModel(dispatch) {
/***/ }),
/***/ 13310:
/*!*******************************************!*\
!*** ./src/assets/images/index/arrow.png ***!
\*******************************************/
/***/ (function(module) {
"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAAsBJREFUaEPtmk+IjVEYxn9PJBv/lWw0jIWysLRWYqukrK0GRZLVhPxdKWMxsRlsFBYsrGTYiYTFbJQyFtb+SyEe99RN33zudO/3fef75k73nOW97/u8z33O07nnzyvS6FsFbD8AtmcIPpO0tQnCaqJIqlFOAdu3gT2Z7LeSNpRDK5aVjFFMr0ajbV8GRjJFv0la0gSJZIwmVC5Zw/ZZYDSXvljSj5KQPaclY/QsVfOBtg8DY7nK6yS9q5tNMkbdClfAt70NeJSD2C3pTgXYnlKTMXqSaW6CbC8FPgHZeboiaX/djJIx6la4Ir7tV8CmDMy0pOGKsF3TkzG6SjS3AbYngH05FsOSputkloxRp7oRsG3vAO7noE5IOhMBflaIZIw61Y2AbXsBEE4hazNwYd8xJOlzhBIdIZIx6lI2Iq7tC8DRHORpSScjlpkBlYxRl7IRcW2Ha/CwCV2Ugf0CrJf0IWKpf1DJGHWoWgOm7UvAoRz0LUl7ayg343xcB37CjKSA7dXAGyDcbWTHqKTzkcqkFSO2kE3gzXJF/gfYJeleTA7prySmmg1g2b4bjJAr9RXYKelJLArJGLGUbAjH9jLgJZDvywgvriOSrsegkowRQ8WGMVqrxpb249rKDqUvAsck/a5CKxmjinpzmNs2xyQQNqX58RA4IOl1WYrJGGWV64M825uBYII1Hej8an0eOsBOlbnrSMbogwmuQsH2UOv19SYwW5PwRyB0go0X6fxKxqgyK32S22oBXAicC3uLXO9GluF74AYwIWmqG/VkjG4KzaPv2y+x48DGLrSfA1fDSiMprCj/jWSMeTTxvVC1Hd5TDgLHgRVdcsLJ5UX7hBNaCB9L+h5yZPtILwVTzLxTYFXbIMsLMP8JPAUmgzFcIDGFDoYCU8kYgzHRRX/ltWSMopINRvxYMsZgTHTRXzn2FxIhqRpxDpJmAAAAAElFTkSuQmCC";
/***/ }),
/***/ 17756:
/*!************************************************!*\
!*** ./src/assets/images/index/arrowhover.png ***!
\************************************************/
/***/ (function(module) {
"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAAeCAYAAADpTGa/AAAAAXNSR0IArs4c6QAAA0ZJREFUaEPtmk9IFGEYxp93tG0J0q1m1TqEqYeoQ8eOFUSdAiGMLrsbHsSSighPUllZpyAjxBD8N0tgBnXwFOnSJYqoDhIIkQoZgrtrbhmJf3beWCib3dZ2Z+ebcWW/ve77/t5nnu/hY/58BPnLWwdUPz8H4+iqQMKbqEYHnRBMTgyRM3JzwOvjQQbq/nQTMBkJUlVuNHNdMhjm/HK0Wg1wJ3Q0GoLxIxKkrU6IkMFwwuUcZ3gD3MY6WoztHg/cn+7TYo7IrNtkMLK2yvlCr58vMqPdONlVjN3TvTRltxoZDLsdtsCv8PORFUbIiFCAk+EgPbGAzapVBiMrm9anqOY8l8RiiAH4u04KHkT76azdimQw7HbYIl/18xgYew03oBORIFVbxGZsl8HIaNH6Fnj93M2MeqOKok2onumhCTuVyWDY6a4AdlmAj+k6niWhCFejGt0UgF8TIYNhp7sC2HWDXPRiCFMM7FzFEWIlblROdNE3ASPSImQw7HJWIFcN8B3ouJz0dKLgRrifrgkck7Ip2UWWXGEOlNdzVXwZYwBcBuh3twt7vnTTV2GDDCC5Y9jhqg1Mr4/vMXDBiCbCo4hGp20YZ3g+toMumcIc2NXA6tICxgGUpISjJaLRbWGDfoPkjiHaURt56V6Rg6AXKaid6aMhkaNlMES66QBL9fFTALUpd4rzCnA8rNErURJkMEQ56RCnqoFL5xfwnoGkcxlEWISCxkgf9YmQIoMhwkWHGWX1fEBfQQiM7amjFeDuoRNofnyK4lZkyWBYcW8dexPh4GUMM6D+I4MwAuBcVKOPuUqUwcjVuTzoqwjw/riOEQbK04RjmRidm124nsu7DhmMPFhgKxIqznDlShwDANY6JDwHQpunFB1mTn7JYFhZlTzpPdzKxR/GcQtAc9LZDYM+IsyC8ZAI3WGNRjNJl8HI5NAG+j/xJZZ1dDBQ81/ZhLcKoce9BQOfO2kuXa0MxgZa+Gyk7mtlV3gSTdBxBcC2DD1xEN4RECIFoWIXXk530c9ED6kBvpTNQFmzsRwgYAczmsDwmFC+RITXDAyT6mM20ShLC8ABIozKYBTAQpu9RCL0ymCYda0A6klBuwxGASy02UtMBOMXm5/YZBd52JAAAAAASUVORK5CYII=";
/***/ }),
/***/ 96908:
/*!**************************************************************************!*\
!*** ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png ***!

@ -351,8 +351,8 @@ var Page = function Page(_ref) {
className: Indexmodules.center,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* Banner */.jL, {
dataSource: bannerBtns,
title: "\u5B9E\u8DF5\u9879\u76EE",
sunTitle: "\u8BA9\u60A8\u4FBF\u6377\u5730\u5F00\u53D1\u8BFE\u7A0B",
title: "\u5B9E\u9A8C\u5B9E\u8BAD\u5F00\u53D1\u7BA1\u7406\u5E73\u53F0",
sunTitle: "",
img: illustration_namespaceObject,
imgWidth: 346
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTags */.qp, {

@ -133,6 +133,8 @@ var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerat
var _umi_production_exports = __webpack_require__(58228);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js
var es_select = __webpack_require__(57809);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/empty/index.js + 3 modules
var empty = __webpack_require__(64165);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
@ -155,7 +157,7 @@ var SelectEnvironment = __webpack_require__(6344);
var env = __webpack_require__(98242);
;// CONCATENATED MODULE: ./src/pages/Shixuns/New/components/CommonPractice/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var CommonPracticemodules = ({"practice":"practice___gbjN8","right":"right___XrBE2","title":"title___JsAVf","content":"content___rNvQy","des":"des___wAyxo","mainBody":"mainBody___edUsk","sys":"sys___kUTBd","li":"li___V7qds","d1":"d1___r3dOV","img":"img___KXajQ","bot":"bot___lTZjW","btn":"btn___aue5H","b1":"b1___gmKr8","b2":"b2___wT3k7","d2":"d2___mjMbK","btns":"btns___GykuR","practiceModal":"practiceModal___DTgXc"});
/* harmony default export */ var CommonPracticemodules = ({"practice":"practice___gbjN8","selSpanSty":"selSpanSty___f6m2n","right":"right___XrBE2","title":"title___JsAVf","content":"content___rNvQy","des":"des___wAyxo","mainBody":"mainBody___edUsk","sys":"sys___kUTBd","li":"li___V7qds","d1":"d1___r3dOV","img":"img___KXajQ","bot":"bot___lTZjW","btn":"btn___aue5H","b1":"b1___gmKr8","b2":"b2___wT3k7","d2":"d2___mjMbK","btns":"btns___GykuR","practiceModal":"practiceModal___DTgXc"});
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(25600);
// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 32 modules
@ -182,7 +184,7 @@ var jsx_runtime = __webpack_require__(37712);
var CommonPractice = function CommonPractice(_ref) {
var _mirrorItems$Number, _ref5;
var _mirrorItems$Number, _ref7;
var newShixuns = _ref.newShixuns,
user = _ref.user,
dispatch = _ref.dispatch,
@ -231,10 +233,24 @@ var CommonPractice = function CommonPractice(_ref) {
template_shixuns = _detail$template_shix === void 0 ? [] : _detail$template_shix,
_detail$recommend_shi = detail.recommend_shixuns,
recommend_shixuns = _detail$recommend_shi === void 0 ? [] : _detail$recommend_shi;
var _useState15 = (0,_react_17_0_2_react.useState)(Number(tabId) || 0),
var _useState15 = (0,_react_17_0_2_react.useState)({
mirror_types: [],
mirror_cloud_types: []
}),
_useState16 = slicedToArray_default()(_useState15, 2),
tab = _useState16[0],
setTab = _useState16[1];
mirrtypeInfo = _useState16[0],
setMirrorTypeInfo = _useState16[1];
var _useState17 = (0,_react_17_0_2_react.useState)({
mirror_type_id: '',
mirror_cloud_type_id: ''
}),
_useState18 = slicedToArray_default()(_useState17, 2),
mirrorTypeIds = _useState18[0],
setMirrTypeIds = _useState18[1];
var _useState19 = (0,_react_17_0_2_react.useState)(Number(tabId) || 0),
_useState20 = slicedToArray_default()(_useState19, 2),
tab = _useState20[0],
setTab = _useState20[1];
var mirrorItems = [{
id: 0,
name: '公共镜像',
@ -248,23 +264,44 @@ var CommonPractice = function CommonPractice(_ref) {
name: '共享镜像',
type: 'share'
}];
var getMirrorData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(tab, mirror_type_id, mirror_cloud_type_id) {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
dispatch({
type: 'newShixuns/getEnvironmentData',
payload: {
tab_type: mirrorItems[Number(tab)].type,
mirror_type_id: mirror_type_id,
mirror_cloud_type_id: mirror_cloud_type_id
}
});
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getMirrorData(_x, _x2, _x3) {
return _ref2.apply(this, arguments);
};
}();
(0,_react_17_0_2_react.useEffect)(function () {
dispatch({
type: 'newShixuns/getEnvironmentData',
payload: {
tab_type: mirrorItems[Number(tab)].type
}
});
getMirrorData(tab);
}, [tab]);
(0,_react_17_0_2_react.useEffect)(function () {
getMirrorTypes();
}, []);
(0,_react_17_0_2_react.useEffect)(function () {
if (activeId === null || !other_image) return;
getData();
}, [activeId, other_image]);
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var fi, ei, oi, res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
fi = frequence_image.find(function (item) {
return item.id === activeId;
@ -277,29 +314,29 @@ var CommonPractice = function CommonPractice(_ref) {
});
console.log("fi,ei,oi", fi, ei, oi);
if (!(fi !== undefined || ei !== undefined || oi !== undefined)) {
_context.next = 11;
_context2.next = 11;
break;
}
_context.next = 7;
_context2.next = 7;
return (0,shixuns/* getEnvironmentDetail */.Q1)({
mirror_repository_id: activeId
});
case 7:
res = _context.sent;
res = _context2.sent;
setDetail(res === null || res === void 0 ? void 0 : res.data);
_context.next = 13;
_context2.next = 13;
break;
case 11:
setDetail({});
setActiveId(null);
case 13:
case "end":
return _context.stop();
return _context2.stop();
}
}, _callee);
}, _callee2);
}));
return function getData() {
return _ref2.apply(this, arguments);
return _ref3.apply(this, arguments);
};
}();
console.log(activeId);
@ -317,19 +354,19 @@ var CommonPractice = function CommonPractice(_ref) {
setIsModalVisible(true);
};
var handleOk = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var res, _res$data;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
setCopyLoading(true);
_context2.next = 3;
_context3.next = 3;
return (0,fetch/* default */.ZP)("/api/shixuns/".concat(copyInfo === null || copyInfo === void 0 ? void 0 : copyInfo.identifier, "/copy.json"), {
method: 'post',
body: {}
});
case 3:
res = _context2.sent;
res = _context3.sent;
if (res.status === 0) {
_umi_production_exports.history === null || _umi_production_exports.history === void 0 || _umi_production_exports.history.push("/shixuns/".concat((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.shixun, "/edit"));
setIsModalVisible(false);
@ -338,32 +375,32 @@ var CommonPractice = function CommonPractice(_ref) {
setCopyLoading(false);
case 6:
case "end":
return _context2.stop();
return _context3.stop();
}
}, _callee2);
}, _callee3);
}));
return function handleOk() {
return _ref3.apply(this, arguments);
return _ref4.apply(this, arguments);
};
}();
var handleCancel = function handleCancel() {
setIsModalVisible(false);
};
var handleConfirm = /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
var skip,
body,
res,
_args3 = arguments;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
_args4 = arguments;
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
skip = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : false;
skip = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : false;
(0,util/* trackEvent */.L9)(['实践项目', '新建实践项目', '全实践项目', skip ? "暂不选用镜像" : "使用当前镜像"]);
body = activeId && !skip ? {
image_id: activeId
} : {};
_context3.next = 5;
_context4.next = 5;
return (0,fetch/* default */.ZP)("/api/shixuns/choose_environment_or_skip.json", {
method: 'post',
body: objectSpread2_default()(objectSpread2_default()({}, body), {}, {
@ -371,24 +408,51 @@ var CommonPractice = function CommonPractice(_ref) {
})
});
case 5:
res = _context3.sent;
res = _context4.sent;
if (res.status === 0) {
_umi_production_exports.history.push("/shixuns/".concat(res.data.identifier, "/edit"));
}
case 7:
case "end":
return _context3.stop();
return _context4.stop();
}
}, _callee3);
}, _callee4);
}));
return function handleConfirm() {
return _ref4.apply(this, arguments);
return _ref5.apply(this, arguments);
};
}();
var _useState17 = (0,_react_17_0_2_react.useState)(""),
_useState18 = slicedToArray_default()(_useState17, 2),
keyword = _useState18[0],
setKeyword = _useState18[1];
var getMirrorTypes = /*#__PURE__*/function () {
var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() {
var res, _res$data2, _res$data3;
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
_context5.next = 2;
return (0,fetch/* default */.ZP)("/api/shixuns/get_mirror_types.json", {
method: 'get'
});
case 2:
res = _context5.sent;
if (res.status === 0) {
mirrtypeInfo.mirror_types = (res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.mirror_types) || [];
mirrtypeInfo.mirror_cloud_types = (res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.mirror_cloud_types) || [];
setMirrorTypeInfo(objectSpread2_default()({}, mirrtypeInfo));
}
case 4:
case "end":
return _context5.stop();
}
}, _callee5);
}));
return function getMirrorTypes() {
return _ref6.apply(this, arguments);
};
}();
var _useState21 = (0,_react_17_0_2_react.useState)(""),
_useState22 = slicedToArray_default()(_useState21, 2),
keyword = _useState22[0],
setKeyword = _useState22[1];
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CommonPracticemodules.practice,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SelectEnvironment/* default */.Z, {
@ -406,13 +470,71 @@ var CommonPractice = function CommonPractice(_ref) {
return setKeyword(value);
},
tab_type: (_mirrorItems$Number = mirrorItems[Number(tab)]) === null || _mirrorItems$Number === void 0 ? void 0 : _mirrorItems$Number.type,
extraContent: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* SuperiorTabs */.tp, {
dataSource: mirrorItems,
value: tab,
onChange: function onChange(id) {
setTab(id);
setActiveId(null);
}
mirrorTypeIds: mirrorTypeIds,
extraContent: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* SuperiorTabs */.tp, {
dataSource: mirrorItems,
value: tab,
onChange: function onChange(id) {
setTab(id);
setActiveId(null);
}
}), tab === 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: '15px',
display: "flex"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginRight: '10px',
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CommonPracticemodules.selSpanSty,
children: "\u955C\u50CF\u5206\u7C7B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
allowClear: true,
value: mirrorTypeIds.mirror_type_id,
style: {
width: 77
},
options: mirrtypeInfo.mirror_types,
fieldNames: {
label: 'name',
value: 'id'
},
onChange: function onChange(value) {
getMirrorData(0, value, mirrorTypeIds.mirror_cloud_type_id);
mirrorTypeIds.mirror_type_id = value;
setMirrTypeIds(objectSpread2_default()({}, mirrorTypeIds));
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: CommonPracticemodules.selSpanSty,
children: "\u8DE8\u4E91\u5206\u7C7B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
allowClear: true,
value: mirrorTypeIds.mirror_cloud_type_id,
style: {
width: 77
},
options: mirrtypeInfo.mirror_cloud_types,
fieldNames: {
label: 'name',
value: 'id'
},
onChange: function onChange(value) {
getMirrorData(0, mirrorTypeIds.mirror_type_id, value);
mirrorTypeIds.mirror_cloud_type_id = value;
setMirrTypeIds(objectSpread2_default()({}, mirrorTypeIds));
}
})]
})]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CommonPracticemodules.right,
@ -421,7 +543,7 @@ var CommonPractice = function CommonPractice(_ref) {
className: CommonPracticemodules.title,
children: ["\u5B9E\u9A8C\u73AF\u5883:\xA0", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
dangerouslySetInnerHTML: {
__html: activeId === null ? '— —' : (_ref5 = name || "") === null || _ref5 === void 0 ? void 0 : _ref5.replace(new RegExp(keyword === null || keyword === void 0 ? void 0 : keyword.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"), '<span style="color:#0152d9;background-color:#1890ff33">$&</span>')
__html: activeId === null ? '— —' : (_ref7 = name || "") === null || _ref7 === void 0 ? void 0 : _ref7.replace(new RegExp(keyword === null || keyword === void 0 ? void 0 : keyword.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"), '<span style="color:#0152d9;background-color:#1890ff33">$&</span>')
}
})]
})
@ -628,18 +750,16 @@ var CommonPractice = function CommonPractice(_ref) {
})]
});
};
/* harmony default export */ var components_CommonPractice = ((0,_umi_production_exports.connect)(function (_ref6) {
var newShixuns = _ref6.newShixuns,
globalSetting = _ref6.globalSetting,
user = _ref6.user;
/* harmony default export */ var components_CommonPractice = ((0,_umi_production_exports.connect)(function (_ref8) {
var newShixuns = _ref8.newShixuns,
globalSetting = _ref8.globalSetting,
user = _ref8.user;
return {
newShixuns: newShixuns,
globalSetting: globalSetting,
user: user
};
})(CommonPractice));
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js
var es_select = __webpack_require__(57809);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
var es_form = __webpack_require__(78241);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules

@ -666,6 +666,19 @@
align-items: flex-start;
max-height: 1030px;
}
.practice___gbjN8 .selSpanSty___f6m2n {
display: inline-block;
width: 68px;
height: 32px;
line-height: 32px;
border: 1px solid #DCDCDC;
border-radius: 2px;
background: #F6F7F9;
font-size: 14px;
color: #666666;
text-align: center;
border-right: none;
}
.practice___gbjN8 .right___XrBE2 {
flex: 1 1;
background-color: white;

@ -939,7 +939,7 @@ function reducer(state, action) {
if (instance_startup_type === 2) {
doResize();
}
if ((entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) && rfb) {
if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) {
setTimeout(function () {
rfb.scaleViewport = false;
// rfb?._eventHandlers?.windowResize()
@ -1186,10 +1186,10 @@ function reducer(state, action) {
break;
}
setTimeout(function () {
var _res$data9, _res$data10, _taskData$myshixun2;
var _taskData$myshixun2;
onLayout();
iframeRef.current.style.cssText = iframeRef.current.style.cssText + "width:1920px;height:1080px;position:initial";
iframeRef.current.src = "/react/build/rdp.html?".concat(res !== null && res !== void 0 && (_res$data9 = res.data) !== null && _res$data9 !== void 0 && _res$data9.gpPort ? "gpPort=" + (res === null || res === void 0 || (_res$data10 = res.data) === null || _res$data10 === void 0 ? void 0 : _res$data10.gpPort) + '&' : '', "tpiId=").concat(taskData === null || taskData === void 0 || (_taskData$myshixun2 = taskData.myshixun) === null || _taskData$myshixun2 === void 0 ? void 0 : _taskData$myshixun2.id, "&envId=").concat(shixun_environment_id, "&tpiType=").concat(tpi_type);
iframeRef.current.src = "/rdp.html?tpiId=".concat(taskData === null || taskData === void 0 || (_taskData$myshixun2 = taskData.myshixun) === null || _taskData$myshixun2 === void 0 ? void 0 : _taskData$myshixun2.id, "&envId=").concat(shixun_environment_id, "&tpiType=").concat(tpi_type);
dispatch({
type: Types.SET_LOADING,
payload: false

@ -332,7 +332,7 @@ var Banner = function Banner(_ref) {
className: activeKey === NavType.CreateImg ? Menusmodules.active : '',
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-jingxiang2 "
}), "\u5B9E\u9A8C\u955C\u50CF"]
}), "\u5206\u5E03\u5F0F\u955C\u50CF\u7BA1\u7406"]
}), ((_user$userInfo12 = user.userInfo) === null || _user$userInfo12 === void 0 ? void 0 : _user$userInfo12.user_identity) !== '学生' && /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/users/".concat(username.current, "/certificate"),
onClick: function onClick() {

File diff suppressed because one or more lines are too long

@ -811,7 +811,7 @@
display: flex;
}
.bgWrapper___JvMyw {
width: 1200px;
width: 1400px;
margin: 0 auto;
display: flex;
}
@ -834,17 +834,20 @@
background: #ffffff;
display: flex;
justify-content: center;
box-shadow: 0px 5px 16px 0px #f3f6ff, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
}
.dataView___dsjJ6 .showArea___B_tGS {
width: 1200px;
margin-top: 46px;
margin-bottom: 46px;
width: 1400px;
padding: 30px 60px;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 152px;
grid-row-gap: 57px;
grid-column-gap: 177px;
grid-row-gap: 47px;
position: absolute;
top: 440px;
background: linear-gradient(180deg, #F2F6FB 0%, #FFFFFF 100%);
border-radius: 8px;
border-image: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0)) 3 3;
}
.dataView___dsjJ6 .showArea___B_tGS div[class~='item'] {
display: flex;
@ -853,25 +856,27 @@
.dataView___dsjJ6 .showArea___B_tGS div[class~='item'] div[class~='imgWrapper'] {
width: 49px;
height: 49px;
background: #f4f8fa;
text-align: center;
line-height: 49px;
border-radius: 50%;
margin-right: 33px;
}
.dataView___dsjJ6 .showArea___B_tGS div[class~='item'] div[class~='imgWrapper'] img {
width: 48px;
}
.dataView___dsjJ6 .showArea___B_tGS div[class~='item'] .showContent___Qvdqj {
display: flex;
flex-direction: column;
}
.dataView___dsjJ6 .showArea___B_tGS div[class~='item'] .showContent___Qvdqj h1 {
font-size: 26px;
font-size: 34px;
white-space: nowrap;
font-weight: 600;
color: #333333;
line-height: 34px;
}
.dataView___dsjJ6 .showArea___B_tGS div[class~='item'] .showContent___Qvdqj h5 {
font-size: 14px;
font-size: 12px;
white-space: nowrap;
font-weight: 400;
color: #666666;
@ -1223,9 +1228,12 @@
flex-direction: column;
box-orient: block-axis;
}
.mainSiteContent___R3sSQ {
background-color: #FAFAFA;
}
.mainSiteContent___R3sSQ .auto___qazgM {
margin: 0 auto;
width: 1200px;
width: 1400px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn {
width: 100%;
@ -1233,7 +1241,7 @@
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .operatingEnvironment___JFnXi {
margin: 0 auto;
width: 1200px;
width: 1400px;
padding-top: 80px;
padding-bottom: 90px;
display: flex;
@ -1378,6 +1386,7 @@
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .orientation___VghPm {
margin: 0 auto;
width: 1400px;
width: 1200px;
padding-top: 80px;
padding-bottom: 80px;
@ -1456,11 +1465,12 @@
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn {
width: 100%;
height: auto;
background-image: url(./static/tbg.0c4b39f0.png);
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec {
margin: 0 auto;
width: 1200px;
padding-top: 80px;
width: 1400px;
margin-top: 300px;
padding-bottom: 80px;
display: flex;
flex-direction: column;
@ -1468,18 +1478,18 @@
align-items: center;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec h2 {
font-size: 30px;
font-weight: 400;
font-size: 60px;
font-weight: 500;
color: #34495e;
margin-bottom: 5px;
margin-bottom: 20px;
opacity: 0;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec h5 {
height: 18px;
font-size: 18px;
height: 20px;
font-size: 20px;
font-weight: 200;
color: #686f9a;
margin-bottom: 60px;
color: #323232;
margin-bottom: 40px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .btns___hih1a {
width: 100%;
@ -1526,23 +1536,24 @@
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT {
width: 100%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 60px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT .animate__animated {
opacity: 1 !important;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside {
width: 400px;
height: 176px;
border-radius: 22px;
padding-top: 32px;
width: 440px;
height: 398px;
background-color: #fff;
box-shadow: 0px 2px 4px 0px #E1E1F5;
cursor: pointer;
justify-content: center;
align-items: flex-start;
justify-content: flex-start;
align-items: center;
flex-shrink: 0;
margin-bottom: 40px;
display: flex;
flex-direction: column;
opacity: 0;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside:hover {
@ -1550,27 +1561,31 @@
box-shadow: 6px 0px 30px 0px rgba(49, 79, 115, 0.1);
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside > img {
margin-top: 4px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside > div {
margin-left: 28px;
margin-bottom: 20px;
width: 200px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside > div h4 {
width: 235px;
height: 25px;
font-size: 18px;
height: 30px;
font-size: 22px;
font-weight: 500;
color: #34495e;
margin-bottom: 16px;
color: #333333;
margin-bottom: 14px;
text-align: center;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside > div h4:hover {
color: #145DFF;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside > div h6 {
font-size: 14px;
font-size: 16px;
font-weight: 400;
color: #6d7278;
line-height: 24px;
width: 238px;
color: #666666;
line-height: 28px;
width: 338px;
text-align: justify;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside > div h6:hover {
color: #145DFF;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .teachingTool___Rtpec .clausesWarp___GlCmT > aside > div p {
font-size: 13px;
font-weight: 400;
@ -1583,7 +1598,7 @@
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs {
margin: 0 auto;
width: 1200px;
width: 1400px;
padding-top: 80px;
padding-bottom: 120px;
display: flex;
@ -1593,37 +1608,79 @@
padding-top: 16px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .iconWrapper___pseDu {
display: flex;
height: 56px;
font-weight: 600;
font-size: 40px;
color: #323232;
line-height: 56px;
margin-bottom: 40px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .courseSty___wFF_Z {
justify-content: space-between;
align-items: center;
margin-bottom: 32px;
margin-bottom: 20px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .iconWrapper___pseDu .tuijianWrapper___hxnw6 {
display: flex;
align-items: center;
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .courseSty___wFF_Z .wrapSty___zfqU8 {
background: none;
box-shadow: none;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .iconWrapper___pseDu .tuijianWrapper___hxnw6 .tuijinaspan___tsLyc {
margin-left: -15px;
width: 80px;
height: 28px;
font-size: 20px;
font-weight: 500;
color: #181818;
line-height: 28px;
white-space: nowrap;
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .courseSty___wFF_Z .imgSty___oSRPC {
border-radius: 8px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .btnSty___CAMfK {
width: 440px;
height: 80px;
background-color: rgba(255, 255, 255, 0.9);
box-shadow: 0px 7px 12px 0px #C8DCF7;
border-radius: 40px;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
color: #E99237;
line-height: 80px;
font-weight: 600;
font-size: 28px;
text-align: center;
margin: 0 auto;
cursor: pointer;
transition: color 0.3s ease, background-color 0.3s ease;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .btnSty___CAMfK:hover {
color: #FFFFFF;
background-color: #145DFF;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .btnSty2___hny3U {
width: 440px;
height: 80px;
background-color: #E99237;
box-shadow: 0px 7px 12px 0px #F3F3F3;
border-radius: 40px;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
color: #FFFFFF;
line-height: 80px;
font-weight: 600;
font-size: 28px;
text-align: center;
margin: 60px auto;
cursor: pointer;
transition: color 0.3s ease, background-color 0.3s ease;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .btnSty2___hny3U:hover {
color: #FFFFFF;
background-color: #145DFF;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs h2 {
font-size: 24px;
font-size: 60px;
line-height: 60px;
font-weight: 500;
color: #34495e;
margin-bottom: 5px;
color: #323232;
margin-top: 100px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs h5 {
height: 18px;
font-size: 18px;
font-size: 20px;
height: 20px;
font-weight: 200;
color: #686f9a;
margin-bottom: 80px;
color: #323232;
margin-bottom: 100px;
}
.mainSiteContent___R3sSQ .ContentWarp___Tjdyn .school___NwYEs .bigDes___WIsDJ {
display: flex;

@ -9669,7 +9669,7 @@ function TipContent() {
}
}]
})]
}), cutTime(), windows_vnc && !(0,lodash.isEmpty)(resData) && !(cloud_type === 4 && instance_startup_type === 2) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
}), cutTime(), windows_vnc && !(0,lodash.isEmpty)(resData) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
onClick: function onClick(e) {
e.preventDefault();
mediator/* default */.Z.publish("send-ctrl-alt-delete-".concat(index_tab));
@ -17972,7 +17972,7 @@ function reducer(state, action) {
if (instance_startup_type === 2) {
doResize();
}
if ((entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) && rfb) {
if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) {
setTimeout(function () {
rfb.scaleViewport = false;
// rfb?._eventHandlers?.windowResize()
@ -18219,10 +18219,10 @@ function reducer(state, action) {
break;
}
setTimeout(function () {
var _res$data9, _res$data10, _taskData$myshixun2;
var _taskData$myshixun2;
onLayout();
iframeRef.current.style.cssText = iframeRef.current.style.cssText + "width:1920px;height:1080px;position:initial";
iframeRef.current.src = "/react/build/rdp.html?".concat(res !== null && res !== void 0 && (_res$data9 = res.data) !== null && _res$data9 !== void 0 && _res$data9.gpPort ? "gpPort=" + (res === null || res === void 0 || (_res$data10 = res.data) === null || _res$data10 === void 0 ? void 0 : _res$data10.gpPort) + '&' : '', "tpiId=").concat(taskData === null || taskData === void 0 || (_taskData$myshixun2 = taskData.myshixun) === null || _taskData$myshixun2 === void 0 ? void 0 : _taskData$myshixun2.id, "&envId=").concat(shixun_environment_id, "&tpiType=").concat(tpi_type);
iframeRef.current.src = "/rdp.html?tpiId=".concat(taskData === null || taskData === void 0 || (_taskData$myshixun2 = taskData.myshixun) === null || _taskData$myshixun2 === void 0 ? void 0 : _taskData$myshixun2.id, "&envId=").concat(shixun_environment_id, "&tpiType=").concat(tpi_type);
dispatch({
type: Types.SET_LOADING,
payload: false

@ -26,7 +26,7 @@
<body>
<!-- Guacamole -->
<script type="text/javascript" src="/react/build/js/rdp.all.min.js"></script>
<script type="text/javascript" src="/js/rdp.all.min.js"></script>
<!-- Display -->
<div id="display"></div>
@ -42,9 +42,9 @@
// Get display div from document
var display = document.getElementById("display");
let urls = `ws://${location.host}/${parames.gpPort ? 'kube' : 'tunnel'}`;
let urls = "wss://webssh.educoder.net/tunnel";
if (window.location.hostname.split('.')?.[0]?.indexOf("test") > -1 || window.location.hostname.split('.')?.[0]?.indexOf("pre") > -1 || window.top.location.href.indexOf("localhost") > -1) {
urls = `wss://pre-webssh.educoder.net/${parames.gpPort ? 'kube' : 'tunnel'}`;
urls = "wss://pre-webssh.educoder.net/tunnel";
}
// Instantiate client, using an HTTP tunnel for communications.
@ -65,7 +65,7 @@
// Connect
guac.connect(`${parames.gpPort ? ('gpPort=' + parames.gpPort + '&') : ''}` + "tpiID=" + parames.tpiId + "&envId=" + parames.envId + "&tpiType=" + parames.tpiType + "&width=1920&height=1080");
guac.connect("tpiID=" + parames.tpiId + "&envId=" + parames.envId + "&tpiType=" + parames.tpiType + "&width=1920&height=1080");
// Disconnect on close
window.onunload = function () {
@ -78,11 +78,6 @@
//
// },4000)
display.addEventListener('click', () => {
display.tabIndex = 0;
display.focus();
});
// Mouse
var mouse = new Guacamole.Mouse(guac.getDisplay().getElement());

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

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