|
|
|
|
@ -1,6 +1,159 @@
|
|
|
|
|
"use strict";
|
|
|
|
|
(self["webpackChunk"] = self["webpackChunk"] || []).push([[35380],{
|
|
|
|
|
|
|
|
|
|
/***/ 33596:
|
|
|
|
|
/*!*********************************************************!*\
|
|
|
|
|
!*** ./src/components/XazyHeader/index.tsx + 2 modules ***!
|
|
|
|
|
\*********************************************************/
|
|
|
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// EXPORTS
|
|
|
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
Z: function() { return /* binding */ XazyHeader; }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
|
|
|
|
var _react_17_0_2_react = __webpack_require__(59301);
|
|
|
|
|
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
|
|
|
|
var _umi_production_exports = __webpack_require__(88271);
|
|
|
|
|
// EXTERNAL MODULE: ./src/components/Header/components/Join/index.tsx + 4 modules
|
|
|
|
|
var Join = __webpack_require__(79687);
|
|
|
|
|
// EXTERNAL MODULE: ./src/components/Header/components/User/index.tsx + 1 modules
|
|
|
|
|
var User = __webpack_require__(32342);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/components/XazyHeader/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var XazyHeadermodules = ({"flex_box_center":"flex_box_center___WpIvr","flex_space_between":"flex_space_between___cPtZs","flex_box_vertical_center":"flex_box_vertical_center___XHKBA","flex_box_center_end":"flex_box_center_end___GXlLT","flex_box_column":"flex_box_column___psxt1","flex-col":"flex-col___umKUz","flex-row":"flex-row___JJqsT","justify-start":"justify-start___zMBU6","justify-center":"justify-center___TLYXc","justify-end":"justify-end___FYduO","justify-evenly":"justify-evenly___ZOHOt","justify-around":"justify-around___heAnI","justify-between":"justify-between___RGbwN","align-start":"align-start___OSeGe","align-center":"align-center___ZD7lA","align-end":"align-end___vo5E0","all_box":"all_box___Vv9Ai","wrap":"wrap___TmtSa","left":"left___I2KXz","home":"home___Zh90P","info":"info___wwIGD","right":"right___fkBsz","search-bar":"search-bar___FpmLr"});
|
|
|
|
|
// 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/jsx-runtime.js
|
|
|
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/components/XazyHeader/DynamicClock.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var DynamicClock = function DynamicClock() {
|
|
|
|
|
var _useState = (0,_react_17_0_2_react.useState)(new Date()),
|
|
|
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
|
|
|
currentTime = _useState2[0],
|
|
|
|
|
setCurrentTime = _useState2[1];
|
|
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
|
|
var timerID = setInterval(function () {
|
|
|
|
|
return tick();
|
|
|
|
|
}, 1000);
|
|
|
|
|
return function cleanup() {
|
|
|
|
|
clearInterval(timerID);
|
|
|
|
|
};
|
|
|
|
|
}, []);
|
|
|
|
|
var tick = function tick() {
|
|
|
|
|
setCurrentTime(new Date());
|
|
|
|
|
};
|
|
|
|
|
var formattedTime = "".concat(currentTime.getFullYear(), "-").concat(String(currentTime.getMonth() + 1).padStart(2, '0'), "-").concat(String(currentTime.getDate()).padStart(2, '0'), " \u661F\u671F").concat(['日', '一', '二', '三', '四', '五', '六'][currentTime.getDay()], " ").concat(String(currentTime.getHours()).padStart(2, '0'), ":").concat(String(currentTime.getMinutes()).padStart(2, '0'));
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
|
|
|
children: formattedTime
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ var XazyHeader_DynamicClock = (DynamicClock);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/components/XazyHeader/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var XazyHeaderComponents = function XazyHeaderComponents(_ref) {
|
|
|
|
|
var _user$userInfo, _user$userInfo2, _user$navigationInfo;
|
|
|
|
|
var user = _ref.user,
|
|
|
|
|
globalSetting = _ref.globalSetting,
|
|
|
|
|
loading = _ref.loading,
|
|
|
|
|
title = _ref.title,
|
|
|
|
|
dispatch = _ref.dispatch;
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "group_1 flex-row",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "flex-row",
|
|
|
|
|
style: {
|
|
|
|
|
flex: 1
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: "thumbnail_1 current",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return _umi_production_exports.history.push('/ythSys');
|
|
|
|
|
},
|
|
|
|
|
src: "/images/materials/SketchPng2032b4eb0c3138b021caf392ef497cf7503b52d5e8b5496802baec7585143010.png"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "text_1 current",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return _umi_production_exports.history.push('/ythSys');
|
|
|
|
|
},
|
|
|
|
|
children: "\u8FD4\u56DE"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "section_2 flex-col"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "text_2",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(XazyHeader_DynamicClock, {})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "flex-row",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: XazyHeadermodules['search-bar'],
|
|
|
|
|
style: {
|
|
|
|
|
flex: globalSetting.isIlearning ? 'initial' : 'initial',
|
|
|
|
|
color: '#3061D0'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Join/* default */.Z, {
|
|
|
|
|
moreIcon: '/images/materials/SketchPng050cbed48f607daa69daece9e5665916c9cccdf9041080fbf6fe9f7c8e1f771d.png'
|
|
|
|
|
}), !!(user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
className: "c-white ml15 mr15 font18 relative",
|
|
|
|
|
to: "/messages/".concat(user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login, "/user_tidings"),
|
|
|
|
|
style: {
|
|
|
|
|
color: '#3061D0'
|
|
|
|
|
},
|
|
|
|
|
children: (user === null || user === void 0 || (_user$navigationInfo = user.navigationInfo) === null || _user$navigationInfo === void 0 || (_user$navigationInfo = _user$navigationInfo.top) === null || _user$navigationInfo === void 0 ? void 0 : _user$navigationInfo.new_message) && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: "thumbnail_3",
|
|
|
|
|
src: "/images/materials/SketchPng1df971f8284f1cda83bbae0d86891266c02445b6f05304f6ad2608e4da09f455.png"
|
|
|
|
|
})
|
|
|
|
|
// <span
|
|
|
|
|
// className={styles.newslight}
|
|
|
|
|
// style={{ color: '#3061D0' }}
|
|
|
|
|
// ></span>
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(User/* default */.Z, {})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "section_3 flex-row",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "section_4 flex-col"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "section_5 flex-col"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "section_6 flex-col"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "text_4",
|
|
|
|
|
children: title
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ var XazyHeader = ((0,_umi_production_exports.connect)(function (_ref2) {
|
|
|
|
|
var user = _ref2.user,
|
|
|
|
|
loading = _ref2.loading,
|
|
|
|
|
globalSetting = _ref2.globalSetting;
|
|
|
|
|
return {
|
|
|
|
|
user: user,
|
|
|
|
|
globalSetting: globalSetting,
|
|
|
|
|
loading: loading.models.index
|
|
|
|
|
};
|
|
|
|
|
})(XazyHeaderComponents));
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 96126:
|
|
|
|
|
/*!**********************************************************!*\
|
|
|
|
|
!*** ./src/pages/Laboratory/Index/index.tsx + 2 modules ***!
|
|
|
|
|
@ -30,10 +183,8 @@ var _react_17_0_2_react = __webpack_require__(59301);
|
|
|
|
|
var menu = __webpack_require__(20834);
|
|
|
|
|
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
|
|
|
|
var _umi_production_exports = __webpack_require__(88271);
|
|
|
|
|
// EXTERNAL MODULE: ./src/components/Header/components/User/index.tsx + 1 modules
|
|
|
|
|
var User = __webpack_require__(32342);
|
|
|
|
|
// EXTERNAL MODULE: ./src/components/Header/components/Join/index.tsx + 4 modules
|
|
|
|
|
var Join = __webpack_require__(79687);
|
|
|
|
|
// EXTERNAL MODULE: ./src/components/XazyHeader/index.tsx + 2 modules
|
|
|
|
|
var XazyHeader = __webpack_require__(33596);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
|
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Laboratory/Index/index.tsx
|
|
|
|
|
@ -47,10 +198,8 @@ var SubMenu = menu/* default */.Z.SubMenu;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Engineering = function Engineering(_ref) {
|
|
|
|
|
var _user$userInfo, _user$userInfo2, _user$userInfo3, _user$userInfo4, _user$userInfo5, _user$userInfo6, _user$userInfo7, _user$userInfo8, _user$userInfo9, _user$userInfo10, _user$userInfo11, _user$userInfo12, _user$userInfo13, _user$navigationInfo, _user$userInfo14, _user$userInfo15;
|
|
|
|
|
var _user$userInfo, _user$userInfo2, _user$userInfo3, _user$userInfo4, _user$userInfo5, _user$userInfo6, _user$userInfo7, _user$userInfo8, _user$userInfo9, _user$userInfo10, _user$userInfo11, _user$userInfo12, _user$userInfo13;
|
|
|
|
|
var user = _ref.user,
|
|
|
|
|
globalSetting = _ref.globalSetting,
|
|
|
|
|
engineering = _ref.engineering,
|
|
|
|
|
@ -141,72 +290,8 @@ var Engineering = function Engineering(_ref) {
|
|
|
|
|
// </div>
|
|
|
|
|
(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "".concat(Indexmodules.all_box, " materials-wrp"),
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "group_1 flex-row",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "flex-row",
|
|
|
|
|
style: {
|
|
|
|
|
flex: 1
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: "thumbnail_1 current",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return _umi_production_exports.history.push("/ythSys");
|
|
|
|
|
},
|
|
|
|
|
src: "/images/materials/SketchPng2032b4eb0c3138b021caf392ef497cf7503b52d5e8b5496802baec7585143010.png"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "text_1 current",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return _umi_production_exports.history.push("/ythSys");
|
|
|
|
|
},
|
|
|
|
|
children: "\u8FD4\u56DE"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "section_2 flex-col"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "text_2",
|
|
|
|
|
children: "2025-01-21\xA0\u661F\u671F\u4E94\xA010:26"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "flex-row",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Indexmodules["search-bar"],
|
|
|
|
|
style: {
|
|
|
|
|
flex: globalSetting.isIlearning ? 'initial' : 'initial',
|
|
|
|
|
color: '#3061D0'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Join/* default */.Z, {
|
|
|
|
|
moreIcon: "/images/materials/SketchPng050cbed48f607daa69daece9e5665916c9cccdf9041080fbf6fe9f7c8e1f771d.png"
|
|
|
|
|
}), !!(user !== null && user !== void 0 && (_user$userInfo12 = user.userInfo) !== null && _user$userInfo12 !== void 0 && _user$userInfo12.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
className: "c-white ml15 mr15 font18 relative",
|
|
|
|
|
to: "/messages/".concat(user === null || user === void 0 || (_user$userInfo13 = user.userInfo) === null || _user$userInfo13 === void 0 ? void 0 : _user$userInfo13.login, "/user_tidings"),
|
|
|
|
|
style: {
|
|
|
|
|
color: '#3061D0'
|
|
|
|
|
},
|
|
|
|
|
children: (user === null || user === void 0 || (_user$navigationInfo = user.navigationInfo) === null || _user$navigationInfo === void 0 || (_user$navigationInfo = _user$navigationInfo.top) === null || _user$navigationInfo === void 0 ? void 0 : _user$navigationInfo.new_message) && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: "thumbnail_3",
|
|
|
|
|
src: "/images/materials/SketchPng1df971f8284f1cda83bbae0d86891266c02445b6f05304f6ad2608e4da09f455.png"
|
|
|
|
|
})
|
|
|
|
|
// <span
|
|
|
|
|
// className={styles.newslight}
|
|
|
|
|
// style={{ color: '#3061D0' }}
|
|
|
|
|
// ></span>
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(User/* default */.Z, {})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "section_3 flex-row",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "section_4 flex-col"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "section_5 flex-col"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "section_6 flex-col"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "text_4",
|
|
|
|
|
children: "\u5B9E\u9A8C\u5BA4\u7BA1\u7406"
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(XazyHeader/* default */.Z, {
|
|
|
|
|
title: "\u5B9E\u9A8C\u5BA4\u7BA1\u7406"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Indexmodules.wrap,
|
|
|
|
|
style: {
|
|
|
|
|
@ -251,7 +336,7 @@ var Engineering = function Engineering(_ref) {
|
|
|
|
|
children: "\u6211\u7684\u9884\u7EA6"
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), (user === null || user === void 0 || (_user$userInfo14 = user.userInfo) === null || _user$userInfo14 === void 0 ? void 0 : _user$userInfo14.classroom_center_auth) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
}), (user === null || user === void 0 || (_user$userInfo12 = user.userInfo) === null || _user$userInfo12 === void 0 ? void 0 : _user$userInfo12.classroom_center_auth) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "text_8",
|
|
|
|
|
children: "\u2026\u2026\u2026\u2026\u2026\u2026\u5DE5\u4F5C\u53F0\u2026\u2026\u2026\u2026\u2026"
|
|
|
|
|
@ -312,7 +397,7 @@ var Engineering = function Engineering(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), (user === null || user === void 0 || (_user$userInfo15 = user.userInfo) === null || _user$userInfo15 === void 0 ? void 0 : _user$userInfo15.admin_and_review) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
}), (user === null || user === void 0 || (_user$userInfo13 = user.userInfo) === null || _user$userInfo13 === void 0 ? void 0 : _user$userInfo13.admin_and_review) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "".concat(location.pathname === "/laboratory/reservationmanage" ? "section_7" : "section_8", " flex-row"),
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
to: "/laboratory/reservationmanage",
|