autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent 371bf69552
commit b7535aa5b7

@ -16,7 +16,6 @@
/* harmony export */ J5: function() { return /* binding */ reservations_table_querys; },
/* harmony export */ KN: function() { return /* binding */ device_tags_table_delete; },
/* harmony export */ Ku: function() { return /* binding */ reservations_table_week_query; },
/* harmony export */ MU: function() { return /* binding */ devices_monitor; },
/* harmony export */ O3: function() { return /* binding */ reservations_table_devices_change_shixun; },
/* harmony export */ QD: function() { return /* binding */ device_info_table_query; },
/* harmony export */ Qq: function() { return /* binding */ postDevicesChangeStatus; },
@ -48,7 +47,7 @@
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; },
/* harmony export */ zZ: function() { return /* binding */ device_fault_update; }
/* harmony export */ });
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, devices_monitor, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
@ -521,11 +520,11 @@ function devices_monitor(_x22) {
//获取某个设备的维修记录
function _devices_monitor() {
_devices_monitor = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(id) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
_devices_monitor = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(id) {
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
return _context22.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
method: 'get'
}));
case 1:

@ -456,8 +456,8 @@ var headerInfo = function headerInfo(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: xiaoxi,
style: {
width: '2vh',
height: '2vh'
width: '14px',
height: '14px'
},
onClick: function onClick() {
var _user$userInfo3;

File diff suppressed because it is too large Load Diff

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

@ -642,8 +642,8 @@
position: absolute;
top: 0.4vh;
right: 0vh;
width: 0.8vh;
height: 0.8vh;
width: 6px;
height: 6px;
border-radius: 50%;
background: red;
}

@ -2338,7 +2338,6 @@ function _change_report() {
/* harmony export */ J5: function() { return /* binding */ reservations_table_querys; },
/* harmony export */ KN: function() { return /* binding */ device_tags_table_delete; },
/* harmony export */ Ku: function() { return /* binding */ reservations_table_week_query; },
/* harmony export */ MU: function() { return /* binding */ devices_monitor; },
/* harmony export */ O3: function() { return /* binding */ reservations_table_devices_change_shixun; },
/* harmony export */ QD: function() { return /* binding */ device_info_table_query; },
/* harmony export */ Qq: function() { return /* binding */ postDevicesChangeStatus; },
@ -2370,7 +2369,7 @@ function _change_report() {
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; },
/* harmony export */ zZ: function() { return /* binding */ device_fault_update; }
/* harmony export */ });
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, devices_monitor, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
@ -2843,11 +2842,11 @@ function devices_monitor(_x22) {
//获取某个设备的维修记录
function _devices_monitor() {
_devices_monitor = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(id) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
_devices_monitor = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(id) {
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
return _context22.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
method: 'get'
}));
case 1:

@ -886,7 +886,6 @@ var DeviceInfoPage = function DeviceInfoPage(_ref) {
/* harmony export */ J5: function() { return /* binding */ reservations_table_querys; },
/* harmony export */ KN: function() { return /* binding */ device_tags_table_delete; },
/* harmony export */ Ku: function() { return /* binding */ reservations_table_week_query; },
/* harmony export */ MU: function() { return /* binding */ devices_monitor; },
/* harmony export */ O3: function() { return /* binding */ reservations_table_devices_change_shixun; },
/* harmony export */ QD: function() { return /* binding */ device_info_table_query; },
/* harmony export */ Qq: function() { return /* binding */ postDevicesChangeStatus; },
@ -918,7 +917,7 @@ var DeviceInfoPage = function DeviceInfoPage(_ref) {
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; },
/* harmony export */ zZ: function() { return /* binding */ device_fault_update; }
/* harmony export */ });
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, devices_monitor, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
@ -1391,11 +1390,11 @@ function devices_monitor(_x22) {
//获取某个设备的维修记录
function _devices_monitor() {
_devices_monitor = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(id) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
_devices_monitor = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(id) {
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
return _context22.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
method: 'get'
}));
case 1:

@ -410,7 +410,7 @@
position: relative;
width: 100%;
height: 33vh;
background: url(./static/right_info.1d43ccde.png) no-repeat;
background: url(./static/left_count.bab4a1d9.png) no-repeat;
background-position: center;
background-size: 100% 100%;
}

@ -91,9 +91,9 @@ if (false) {}
/***/ }),
/***/ 67077:
/***/ 84184:
/*!************************************************************!*\
!*** ./src/pages/Equipment/Working/index.tsx + 13 modules ***!
!*** ./src/pages/Equipment/Working/index.tsx + 12 modules ***!
\************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -134,8 +134,6 @@ var device_zongshu_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhE
var go_back_icon_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAa5JREFUOE/tlT1rFFEUhp8zsxiEICKuOxuQBDEgS7AUsRT8A4okvQT8goUg2Aim0M5CRa1itTbaaaGIkB9gncxGDaIgZmAb0QUzsjOv3g2Rxd2dy/Tebu6cee75eN87VrunpolbwCTDK8VYSZp2dcS7kVsW3dWPMbC/H1iPma1r9nl3I3qnE2TcTxp28l+qA8p7es5csmTrLq7+XmfVowVkBjetx6uvx21jl1EKGG3oEjkPgGAgCWG0KpNc/HLYfpYC1ts6J2gh9g6VGrCydcwWSwEd5FBbpwLxHAjNWJSoAdcFU1nAgdJAB61u6mj4i9tJw+bd88FY9YrxVuK8A24DE0WDyXJmO0u2WRRTi7WAse6AD4HLBcGryTfOsGx5oRqeKaSKWV8KdzStYFjYGaSd73z0wgZO2gHGmpZGACdIO08GgMsKqvs4Eo5okeV0nfgtij0lG6vJ0z8lA9F+3gCnC0p/ZFFb28gzlD3M8gLCgA8eV6UuQ7/1xByv+/5Y89n0P3BMh0r20H/BwgwvQRU+eYbStVqspjHmF2CkiMdJw670dbhj0wtjvN+VceM3Rf7F1nyDonsAAAAASUVORK5CYII=";
;// CONCATENATED MODULE: ./src/assets/img/index/info_icon.png
var info_icon_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABFlJREFUWEftmF9sU1Ucx7/f264dsCWQiDGGh2FQySRmilnELMbFF6KYgbR1E8a2YogPkBgfRqImDOKDIRpMnC/GbZkYtvWyMWAh8OIMhCWbQwIxOP9NHZE/YYpSdHTt7dfcji3r2nVd55gPPU839/x+v/M53/s7557fIQDUdXc7vxkc3gminNAaCUvs9zSwxazxHbKfZ9O8DYHvBDySyoeEBeFHgadzXcaezys3X01mz10nTrivXb3dLWDdVIP5BIwfi0E6VGpW+84lMHgazfcg7U5KP48KJoAQPz22cvnqutLSyOQ+ehsCAwIeXWhAe3yn03iytcpzPg7Q0xDQdLly7z7xGAGJctPva/vfAho0Xg34PS1ZwHS2mWRplVVwXJWsguNKTLfN+JrbSxW1nghUew+QTNimFlRBb2Ngp8QDgJwgu5inrabP99fkpF8QwB39/Tk3Lw7WS9gRt08B3zsNo6ylxjOwYDlYcej4fZGRkXYBzyb/6zDoICrb/N6jdv89U9AwjO1C9CsIxyQUpDxykTKEfW1+z15fkzk4o32SYLPeBwEGAbgAudM9DxK4IuDBdO0n22UAmMkwmftkATPXbswzq2BWwbkqkK4/id8kDhAyYtsYUShh2YLmIIkhytgvZ7Sza5vXEUakQLDyDRjDi5DzwwsH2x+yEP3d3Ob7Oe0jf7qKpLKLFehEbc/m9c3X892vC6qGsCrOh7QI9BrAR2/BFagjoxMnqlRV3dwBGaQh35HqTRHBOgjhgZlikuzJgatihByKVXrzCmjQd6T6pRDAdkjOKaq1ELgsqTYBmrjsgrvEhpw/QDLQVeOpDWP0EqTFU+BCRXDlnyPDToX6Ja2dCkmy7x241tHTYN4ClD+T9LPtpwNPdVSVvQFpa6JC/NuiO89+79SdMxJKksV3kFvoaTS/hbR6tgCp7flrj99TeB2jNxLUiyVWeoAkTs4LIIFjnf6Ne6KKxt2zTEwqTUAQ1yYACfuubsryz1RWsqOzZmO9ZH2RNEQcYKhD0qZp7O5MALpyHQWWxfxoOPIwaeRmynb3WDJ0tOrF4YgwUadMWSQywLVhus4vl/JuImRKWJ9kNQ/agGchPeOAs6ht+8sX5gQ2yVkSnQgNQViRXB3cMGBsCNPV95zkPIPRTyDVxE8En9r3gx8IeBPk7sN+7/7/CnBshYbelvTutDHJfwCVW8w9fte+V1JxzN6uccBiVjQffjxiRXsB2AX4BtPvS543GZCvkty/YPRrSYUpIO3f3F5B9vVvE4T7xwBRbzF3F+1nT6P5GgBbYpI4JbKP0J+zYXLIONvq99gTjWuLpBWjCJ2GsDLdeCQ7SuB65UsyEgO0m7c5UIwIPhT5tA2abrBxOxIXTL+vKJnfUmlpEKMfA6hIGZu8TWhfGO73x69UEkAqPzu1JBwJrrEYXTYbSEeu+2JrRdmVVD4uhQqjQBWA54VYnZ0PaJjAJQAnF8PddIv8Y3KMfwE033BCqcjbuwAAAABJRU5ErkJggg==";
;// CONCATENATED MODULE: ./src/assets/img/index/message_icon.png
var message_icon_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAOxJREFUOE+1lTFOAzEURN8YqJFosm45QxpKxClS01JRcAeaaCVyh5yFC2w4QTaiQEJUwGYHrRDEFKAFm1/PPM//8rcVV5735kJwQEYZXoNYaNL4JRf2kWOAqmrsz2DiXuYxEQg4BsLY8DugeNpsOOJUXWquGl8DV78HvjtugYcksQwnMod/BY71fav7OsNsHKhaeY2JBVggWsU7T71lpsB+DtQ9nfZYDteiaJUHxhtP3TOTM1sWnQJLVbVboCrUdzsAd6tXgJoCnxU49zbZlIAwl8DZ2LP+FTg2xI+68jOc1IUf2Fh73lPoC4DFG0/dZowL1H3WAAAAAElFTkSuQmCC";
// EXTERNAL MODULE: ./src/service/onlinedevice.ts
var onlinedevice = __webpack_require__(50779);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/RightOutlined.js + 1 modules
@ -382,8 +380,6 @@ var _umi_production_exports = __webpack_require__(5841);
var laboratory = __webpack_require__(32089);
// EXTERNAL MODULE: ./src/utils/hooks/useCustomRequest.ts
var useCustomRequest = __webpack_require__(64011);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(43391);
;// CONCATENATED MODULE: ./src/pages/Equipment/Working/index.tsx
@ -409,8 +405,6 @@ var fetch = __webpack_require__(43391);
@ -468,6 +462,7 @@ var IndexPage = function IndexPage(_ref) {
_useCustomRequest2 = slicedToArray_default()(_useCustomRequest, 4),
GetDeviceStatistics = _useCustomRequest2[2],
DeviceStatisticsData = _useCustomRequest2[3];
var iframeRef = (0,_react_17_0_2_react.useRef)(null);
(0,_react_17_0_2_react.useEffect)(function () {
document.onselectstart = new Function('event.returnValue=false;');
dingshi();
@ -568,30 +563,18 @@ var IndexPage = function IndexPage(_ref) {
var _res$devices;
res === null || res === void 0 || (_res$devices = res.devices) === null || _res$devices === void 0 || _res$devices.forEach(function (item) {
// 当前性能
(0,onlinedevice/* devices_monitor */.MU)(item === null || item === void 0 ? void 0 : item.id).then(function (info) {
if ((info === null || info === void 0 ? void 0 : info.status) == 0) {
item.monitor = info === null || info === void 0 ? void 0 : info.monitor;
} else {
item.monitor = {
cpu: {
time_stamps: [],
values: []
},
load: {
time_stamps: [],
values: []
},
mem: {
time_stamps: [],
values: []
},
disk: {
time_stamps: [],
values: []
}
};
}
});
// devices_monitor(item?.id).then((info) => {
// if (info?.status == 0) {
// item.monitor = info?.monitor;
// } else {
// item.monitor = {
// cpu: { time_stamps: [], values: [] },
// load: { time_stamps: [], values: [] },
// mem: { time_stamps: [], values: [] },
// disk: { time_stamps: [], values: [] },
// };
// }
// });
});
setDeviceInfo(res === null || res === void 0 ? void 0 : res.devices);
});
@ -652,18 +635,21 @@ var IndexPage = function IndexPage(_ref) {
});
}, [DeviceStatisticsData]);
(0,_react_17_0_2_react.useEffect)(function () {
setInterval(function () {
getifrom();
}, 1000);
}, []);
if (iframeRef.current) {
iframeRef.current.onload = function () {
getifrom();
// 在这里执行你的逻辑,比如设置状态或者调用函数等
};
}
}, []); // 空依赖数组表示这个effect只运行一次在组件挂载后
function getifrom() {
return _getifrom.apply(this, arguments);
}
function _getifrom() {
_getifrom = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
_getifrom = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var iframe, aa, i, item;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
iframe = document.getElementById('iframeShixuns');
aa = [];
@ -676,46 +662,25 @@ var IndexPage = function IndexPage(_ref) {
};
aa.push(item);
}
iframe.contentWindow.postMessage(aa, '*');
// console.log('---', aa);
iframe.addEventListener('load', /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var res;
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/zz_classrooms/statistics/camera_infos.json", {
method: 'get'
});
case 2:
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
// let aa=[
// {szUsername:'admin',szPassword:'zaq12wsx',szIP:'192.168.1.51',szPort:'80'}
// ]
// const loginDevices = res.data?.infos.map((item) => {
// return {
// szUsername: item.user,
// szPassword: item.pas,
// szIP: item.ip,
// szPort: item.dk,
// }
// })
}
case 4:
case "end":
return _context2.stop();
}
}, _callee2);
})));
case 5:
iframeRef.current.contentWindow.postMessage(aa, '*');
// let res = await Fetch(`/api/zz_classrooms/statistics/camera_infos.json`, {
// method: 'get',
// })
// if (res?.status === 0) {
// const loginDevices = res.data?.infos.map((item) => {
// return {
// szUsername: item.user,
// szPassword: item.pas,
// szIP: item.ip,
// szPort: item.dk,
// }
// })
// }
case 4:
case "end":
return _context3.stop();
return _context2.stop();
}
}, _callee3);
}, _callee2);
}));
return _getifrom.apply(this, arguments);
}
@ -753,7 +718,53 @@ var IndexPage = function IndexPage(_ref) {
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.monitorMain,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.monitorMainRight,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.jt_yyxq,
style: {
paddingLeft: 20,
height: '85vh'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.title_comp,
style: {
top: '0.7vh'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: info_icon_namespaceObject,
className: Workingmodules.title_icon,
style: {
width: '1.5vh',
height: '1.5vh'
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u8BBE\u5907\u76D1\u63A7"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.show_more,
onClick: function onClick() {
return window.open('http://192.168.1.50/doc/page/preview.asp');
},
children: ["\u67E5\u770B\u66F4\u591A ", /*#__PURE__*/(0,jsx_runtime.jsx)(RightOutlined/* default */.Z, {}), ' ']
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
display: 'flex'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", {
ref: iframeRef,
style: {
height: 250,
width: 650,
marginTop: 20,
visibility: "hidden"
},
src: 'http://127.0.0.1/cn/demo.html',
frameBorder: "0"
})
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.monitorMainLeft,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.sb_tj,
@ -805,248 +816,188 @@ var IndexPage = function IndexPage(_ref) {
}, index);
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.jr_xx,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.title_comp,
style: {
top: '0.5vh'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: message_icon_namespaceObject,
className: Workingmodules.title_icon,
style: {
width: '1.5vh',
height: '1.5vh'
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u8BBE\u5907\u7C7B\u578B\u7EDF\u8BA1"
})]
}), DeviceStatisticsDom]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.monitorMainRight,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.jt_yyxq,
style: {
paddingLeft: 20
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.title_comp,
style: {
top: '0.7vh'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: info_icon_namespaceObject,
className: Workingmodules.title_icon,
style: {
width: '1.5vh',
height: '1.5vh'
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u8BBE\u5907\u76D1\u63A7"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
display: 'flex'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", {
id: "iframeShixuns",
style: {
height: 250,
width: 650,
marginTop: 20,
visibility: "hidden"
},
src: 'http://127.0.0.1/cn/demo.html',
frameBorder: "0"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.sb_xxzs,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.title_comp,
style: {
width: '28vw',
height: '2.5vh',
top: '0.9vh'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.select_name,
children: "\u8BBE\u5907\u7C7B\u578B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
value: devicesValue,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.sb_xxzs,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.title_comp,
style: {
width: '9vw'
},
options: devices,
fieldNames: {
label: 'name',
value: 'id'
width: '28vw',
height: '2.5vh',
top: '0.9vh'
},
onChange: function onChange(e) {
setDevicesValue(e);
}
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.select_name,
children: "\u8BBE\u5907\u7C7B\u578B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
value: devicesValue,
style: {
width: '9vw'
},
options: devices,
fieldNames: {
label: 'name',
value: 'id'
},
onChange: function onChange(e) {
setDevicesValue(e);
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.select_name,
children: "\u5B9E\u9A8C\u5BA4"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
value: devicesValue1,
style: {
width: '10vw'
},
options: devices1,
onChange: function onChange(e) {
setDevicesValue1(e);
},
fieldNames: {
label: 'title',
value: 'id'
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.select_name,
children: "\u5B9E\u9A8C\u5BA4"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
value: devicesValue1,
style: {
width: '10vw'
},
options: devices1,
onChange: function onChange(e) {
setDevicesValue1(e);
},
fieldNames: {
label: 'title',
value: 'id'
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.show_more,
onClick: function onClick() {
return _umi_production_exports.history.push('/equipment/information');
},
children: ["\u67E5\u770B\u66F4\u591A ", /*#__PURE__*/(0,jsx_runtime.jsx)(RightOutlined/* default */.Z, {}), ' ']
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.deviceInfo,
children: (deviceInfo === null || deviceInfo === void 0 ? void 0 : deviceInfo.length) > 0 ? deviceInfo.map(function (item, index) {
var _item$monitor, _item$monitor2, _item$monitor3, _item$monitor4, _item$monitor5, _item$monitor6, _item$monitor7;
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: (item === null || item === void 0 ? void 0 : item.monitor) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.deviceItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_top,
children: [(item === null || item === void 0 || (_item$monitor = item.monitor) === null || _item$monitor === void 0 ? void 0 : _item$monitor.monitor_status) == 1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/incomplete_img.png */ 51447)
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/warning_img.png */ 55169)
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_top_info,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_title,
title: item.name,
children: item.name
className: Workingmodules.deviceInfo,
children: (deviceInfo === null || deviceInfo === void 0 ? void 0 : deviceInfo.length) > 0 ? deviceInfo.map(function (item, index) {
var _item$monitor, _item$monitor2, _item$monitor3, _item$monitor4, _item$monitor5, _item$monitor6, _item$monitor7;
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: (item === null || item === void 0 ? void 0 : item.monitor) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.deviceItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_top,
children: [(item === null || item === void 0 || (_item$monitor = item.monitor) === null || _item$monitor === void 0 ? void 0 : _item$monitor.monitor_status) == 1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/incomplete_img.png */ 51447)
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/warning_img.png */ 55169)
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
margin: '1.5vh 0'
},
className: Workingmodules.devItem_top_info,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_title,
title: item.name,
children: item.name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
margin: '1.5vh 0'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_title2,
children: "\u8BBE\u5907\u578B\u53F7"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_text,
title: item.device_type_name,
children: item.device_type_name
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_title3,
children: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_text2,
title: item.classroom_name,
children: item.classroom_name
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_center_warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_center,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_title2,
children: "\u8BBE\u5907\u578B\u53F7"
className: Workingmodules.devItem_center_info,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/系统@2x.png */ 83495)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "CPU\u4F7F\u7528\u7387"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_text,
title: item.device_type_name,
children: item.device_type_name
className: Workingmodules.devItem_cb,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_LineChart, {
dataInfo: [(item === null || item === void 0 || (_item$monitor2 = item.monitor) === null || _item$monitor2 === void 0 || (_item$monitor2 = _item$monitor2.cpu) === null || _item$monitor2 === void 0 ? void 0 : _item$monitor2.values) || []],
colors: ['rgba(255, 187, 0'],
indexKey: index,
valueName: ['CPU使用率'],
xAxisData: (item === null || item === void 0 || (_item$monitor3 = item.monitor) === null || _item$monitor3 === void 0 || (_item$monitor3 = _item$monitor3.cpu) === null || _item$monitor3 === void 0 ? void 0 : _item$monitor3.time_stamps) || []
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex'
},
className: Workingmodules.devItem_center,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_title3,
children: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4"
className: Workingmodules.devItem_center_info,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/用户@2x.png */ 50251)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u5E73\u5747\u8D1F\u8F7D"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_top_text2,
title: item.classroom_name,
children: item.classroom_name
className: Workingmodules.devItem_cb,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_LineChart, {
dataInfo: [(item === null || item === void 0 || (_item$monitor4 = item.monitor) === null || _item$monitor4 === void 0 || (_item$monitor4 = _item$monitor4.load) === null || _item$monitor4 === void 0 ? void 0 : _item$monitor4.values) || []],
colors: ['rgba(3, 254, 248'],
indexKey: "".concat(index, "a"),
valueName: ['平均负载'],
xAxisData: (item === null || item === void 0 || (_item$monitor5 = item.monitor) === null || _item$monitor5 === void 0 || (_item$monitor5 = _item$monitor5.load) === null || _item$monitor5 === void 0 ? void 0 : _item$monitor5.time_stamps) || []
})
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_center_warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_center,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_center_info,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/系统@2x.png */ 83495)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "CPU\u4F7F\u7528\u7387"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_cb,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_LineChart, {
dataInfo: [(item === null || item === void 0 || (_item$monitor2 = item.monitor) === null || _item$monitor2 === void 0 || (_item$monitor2 = _item$monitor2.cpu) === null || _item$monitor2 === void 0 ? void 0 : _item$monitor2.values) || []],
colors: ['rgba(255, 187, 0'],
indexKey: index,
valueName: ['CPU使用率'],
xAxisData: (item === null || item === void 0 || (_item$monitor3 = item.monitor) === null || _item$monitor3 === void 0 || (_item$monitor3 = _item$monitor3.cpu) === null || _item$monitor3 === void 0 ? void 0 : _item$monitor3.time_stamps) || []
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_center,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_center_info,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/用户@2x.png */ 50251)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u5E73\u5747\u8D1F\u8F7D"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.devItem_cb,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_LineChart, {
dataInfo: [(item === null || item === void 0 || (_item$monitor4 = item.monitor) === null || _item$monitor4 === void 0 || (_item$monitor4 = _item$monitor4.load) === null || _item$monitor4 === void 0 ? void 0 : _item$monitor4.values) || []],
colors: ['rgba(3, 254, 248'],
className: Workingmodules.devItem_bottom,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_br,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.br_title,
style: {
color: '#03FEF8'
},
children: "\u78C1\u76D8\u7A7A\u95F4\u4F7F\u7528\u7387"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(GaugeChart, {
indexKey: "".concat(index, "a"),
valueName: ['平均负载'],
xAxisData: (item === null || item === void 0 || (_item$monitor5 = item.monitor) === null || _item$monitor5 === void 0 || (_item$monitor5 = _item$monitor5.load) === null || _item$monitor5 === void 0 ? void 0 : _item$monitor5.time_stamps) || []
})
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_bottom,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_br,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.br_title,
style: {
color: '#03FEF8'
},
children: "\u78C1\u76D8\u7A7A\u95F4\u4F7F\u7528\u7387"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(GaugeChart, {
indexKey: "".concat(index, "a"),
colors: ['#03FEF8', 'rgba(3,254,248,0.3)'],
value: item === null || item === void 0 || (_item$monitor6 = item.monitor) === null || _item$monitor6 === void 0 || (_item$monitor6 = _item$monitor6.disk) === null || _item$monitor6 === void 0 ? void 0 : _item$monitor6.values[0]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_br,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.br_title,
children: "\u5185\u5B58\u4F7F\u7528\u7387"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(GaugeChart, {
indexKey: "".concat(index, "b"),
value: item === null || item === void 0 || (_item$monitor7 = item.monitor) === null || _item$monitor7 === void 0 || (_item$monitor7 = _item$monitor7.mem) === null || _item$monitor7 === void 0 ? void 0 : _item$monitor7.values[0]
colors: ['#03FEF8', 'rgba(3,254,248,0.3)'],
value: item === null || item === void 0 || (_item$monitor6 = item.monitor) === null || _item$monitor6 === void 0 || (_item$monitor6 = _item$monitor6.disk) === null || _item$monitor6 === void 0 ? void 0 : _item$monitor6.values[0]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.devItem_br,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.br_title,
children: "\u5185\u5B58\u4F7F\u7528\u7387"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(GaugeChart, {
indexKey: "".concat(index, "b"),
value: item === null || item === void 0 || (_item$monitor7 = item.monitor) === null || _item$monitor7 === void 0 || (_item$monitor7 = _item$monitor7.mem) === null || _item$monitor7 === void 0 ? void 0 : _item$monitor7.values[0]
})]
})]
})]
})]
}, index)
});
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.nodata,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/nodata_3.png */ 20609)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u6682\u65E0\u6570\u636E"
})]
})
})]
}, index)
});
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.nodata,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../../assets/img/index/nodata_3.png */ 20609)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u6682\u65E0\u6570\u636E"
})]
})
})]
})
})]
})]
})]
});
};
/* harmony default export */ var Working = ((0,_umi_production_exports.connect)(function (_ref4) {
var loading = _ref4.loading,
engineeringNavigtion = _ref4.engineeringNavigtion,
dispatch = _ref4.dispatch;
/* harmony default export */ var Working = ((0,_umi_production_exports.connect)(function (_ref3) {
var loading = _ref3.loading,
engineeringNavigtion = _ref3.engineeringNavigtion,
dispatch = _ref3.dispatch;
return objectSpread2_default()(objectSpread2_default()({
loading: loading
}, engineeringNavigtion), {}, {

@ -1160,8 +1160,8 @@ button:active {
position: absolute;
top: 0.4vh;
right: 0vh;
width: 0.8vh;
height: 0.8vh;
width: 6px;
height: 6px;
border-radius: 50%;
background: red;
}

@ -1,9 +1,9 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[91958],{
/***/ 84303:
/***/ 21827:
/*!*****************************************************************************!*\
!*** ./src/pages/Magazinejor/component/MonthlyDetail/index.tsx + 2 modules ***!
!*** ./src/pages/Magazinejor/component/MonthlyDetail/index.tsx + 1 modules ***!
\*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -45,7 +45,7 @@ var card = __webpack_require__(18889);
var _umi_production_exports = __webpack_require__(5841);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetail/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var MonthlyDetailmodules = ({"flex_box_center":"flex_box_center___XV6rk","flex_space_between":"flex_space_between___TIck0","flex_box_vertical_center":"flex_box_vertical_center___U36lR","flex_box_center_end":"flex_box_center_end___zAwgB","flex_box_column":"flex_box_column___YiqYt","flex-col":"flex-col___bziKA","flex-row":"flex-row___MkOb2","justify-start":"justify-start___OhdDW","justify-center":"justify-center___vBwGn","justify-end":"justify-end___VbsJc","justify-evenly":"justify-evenly___XtI5b","justify-around":"justify-around___UHK4b","justify-between":"justify-between___CoGml","align-start":"align-start___SQk5k","align-center":"align-center___rOnRc","align-end":"align-end___wDDq7","Onerow":"Onerow___lxAe1","MultiLine":"MultiLine___anFa7","detailWrap":"detailWrap___WBknt","detailTop":"detailTop___Inv9X","topLeft":"topLeft___XTJ2B","imgCover":"imgCover___pCsrk","coverimg":"coverimg___C9J1k","imgDes":"imgDes___kEb1A","d1":"d1___qdeEG","d2":"d2___plF4G","label":"label___kTtCF","info":"info___EibxE","d3":"d3___YNxfS","d4":"d4___LZRvd","btn":"btn___PO7DH","topbg":"topbg___Cm5XV","detailCon":"detailCon___WVkej","my_modal":"my_modal___vwP5A","cardname":"cardname___F5pmg","flip-book":"flip-book___rYXO8","page":"page___d0VdV","classnamepage":"classnamepage___QHKtn","close":"close___njENN"});
/* harmony default export */ var MonthlyDetailmodules = ({"flex_box_center":"flex_box_center___XV6rk","flex_space_between":"flex_space_between___TIck0","flex_box_vertical_center":"flex_box_vertical_center___U36lR","flex_box_center_end":"flex_box_center_end___zAwgB","flex_box_column":"flex_box_column___YiqYt","flex-col":"flex-col___bziKA","flex-row":"flex-row___MkOb2","justify-start":"justify-start___OhdDW","justify-center":"justify-center___vBwGn","justify-end":"justify-end___VbsJc","justify-evenly":"justify-evenly___XtI5b","justify-around":"justify-around___UHK4b","justify-between":"justify-between___CoGml","align-start":"align-start___SQk5k","align-center":"align-center___rOnRc","align-end":"align-end___wDDq7","Onerow":"Onerow___lxAe1","MultiLine":"MultiLine___anFa7","detailWrap":"detailWrap___WBknt","detailTop":"detailTop___Inv9X","topLeft":"topLeft___XTJ2B","imgCover":"imgCover___pCsrk","coverimg":"coverimg___C9J1k","imgDes":"imgDes___kEb1A","d1":"d1___qdeEG","d2":"d2___plF4G","label":"label___kTtCF","info":"info___EibxE","d3":"d3___YNxfS","d4":"d4___LZRvd","btn":"btn___PO7DH","topbg":"topbg___Cm5XV","detailCon":"detailCon___WVkej","my_modal":"my_modal___vwP5A","cardname":"cardname___F5pmg","flip-book":"flip-book___rYXO8","page":"page___d0VdV"});
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.13@dayjs/dayjs.min.js
var dayjs_min = __webpack_require__(61186);
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
@ -55,137 +55,8 @@ var magazine = __webpack_require__(13847);
var fetch = __webpack_require__(43391);
// EXTERNAL MODULE: ./src/pages/Magazinejor/img/defaultpage.png
var defaultpage = __webpack_require__(24362);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(43873);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetail/Filebook.tsx
/* harmony default export */ var Filebook = (function (_ref) {
var id = _ref.id,
onClose = _ref.onClose;
var flipbookRef = (0,_react_17_0_2_react.useRef)(null);
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
isloading = _useState2[0],
setisloading = _useState2[1];
console.log('---id', id);
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
images = _useState4[0],
setimages = _useState4[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (id) {
getColumn(id);
}
}, [id]);
var getColumn = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(id) {
var res, _res$data;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,fetch/* default */.ZP)("/api/page_previews.json", {
method: 'get',
params: {
article_id: '',
monthly_magazine_id: id,
limit: 1300
}
});
case 2:
res = _context.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setimages(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list);
}
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getColumn(_x) {
return _ref2.apply(this, arguments);
};
}();
var divs = function divs(list) {
return list === null || list === void 0 ? void 0 : list.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
style: {
width: '100%'
},
src: env/* default */.Z.IMG_SERVER + (item === null || item === void 0 ? void 0 : item.download_url)
}, index);
});
};
(0,_react_17_0_2_react.useEffect)(function () {
// 确保 Turn.js 和 jQuery 已加载
setisloading(true);
setTimeout(function () {
if (window.$ && window.$.fn.turn) {
// 初始化 Turn.js
window.abc = $(flipbookRef.current).turn({
width: 1200,
height: '100%',
autoCenter: true
});
setisloading(false);
} else {
console.error('Turn.js 或 jQuery 未加载!');
}
}, 4000);
// 组件卸载时销毁 Turn.js
return function () {
if (flipbookRef.current) {
$(flipbookRef.current).turn('destroy');
}
};
}, []);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.classnamepage,
style: {
width: '100%',
background: '#fff',
zIndex: 10,
overflow: 'hidden',
textAlign: 'center',
display: 'flex',
justifyContent: 'center'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.close,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u5173\u95ED",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "",
onClick: function onClick() {
onClose();
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "icon-guanbi1"
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
ref: flipbookRef,
id: "flipbook",
children: divs(images)
})]
});
});
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetail/index.tsx
@ -201,7 +72,6 @@ var jsx_runtime = __webpack_require__(37712);
var Journal = function Journal() {
var _columnList$list;
var urlParams = (0,_umi_production_exports.useParams)();
@ -255,10 +125,6 @@ var Journal = function Journal() {
_useState20 = slicedToArray_default()(_useState19, 2),
columnList = _useState20[0],
setColumnList = _useState20[1];
var _useState21 = (0,_react_17_0_2_react.useState)(),
_useState22 = slicedToArray_default()(_useState21, 2),
id = _useState22[0],
setid = _useState22[1];
var preview = /*#__PURE__*/function () {
var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) {
var res;
@ -513,11 +379,6 @@ var Journal = function Journal() {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.topbg
})]
}), id && /*#__PURE__*/(0,jsx_runtime.jsx)(Filebook, {
onClose: function onClose() {
setid('');
},
id: id
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.detailCon,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
@ -530,7 +391,7 @@ var Journal = function Journal() {
className: MonthlyDetailmodules.cardname,
hoverable: true,
onClick: function onClick() {
setid(item === null || item === void 0 ? void 0 : item.id);
_umi_production_exports.history.push("/monthlypreview/".concat(item === null || item === void 0 ? void 0 : item.id));
},
style: {
width: 260

@ -300,34 +300,4 @@ button:active {
align-items: center;
font-size: 24px;
}
.classnamepage___QHKtn {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 108;
}
.close___njENN {
position: absolute;
right: 40px;
top: 40px;
z-index: 10;
display: flex;
}
.close___njENN > span {
background: #4a4a4a;
color: #fff;
width: 40px;
height: 40px;
border-radius: 4px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin-left: 10px;
}

@ -0,0 +1,358 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[70354],{
/***/ 52722:
/*!******************************************************************************!*\
!*** ./src/pages/Magazinejor/component/MonthlyPreview/index.tsx + 2 modules ***!
\******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ component_MonthlyPreview; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyPreview/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var MonthlyPreviewmodules = ({"monthly_preview":"monthly_preview___Mxq5q","content_warp":"content_warp___yUomQ","content":"content___MieMg","classnamepage":"classnamepage___UqfL5","close":"close___NjSDO","bottom_nav":"bottom_nav___Z7Pq0","bottom_nav_warp":"bottom_nav_warp___cMCd8","flex":"flex___o72oM","page_warp":"page_warp___MSjQg","com_btn":"com_btn___f1Tyv","page_info":"page_info___qksDE","up_or_down":"up_or_down___uHmnm","menu_style":"menu_style___sn3o0","menu_item":"menu_item___pmaiT"});
// EXTERNAL MODULE: ./src/components/HeaderNav/index.tsx + 4 modules
var HeaderNav = __webpack_require__(21458);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(5841);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(37205);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41498);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// 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: ./src/utils/fetch.ts
var fetch = __webpack_require__(43391);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(43873);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CaretLeftOutlined.js + 1 modules
var CaretLeftOutlined = __webpack_require__(71730);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CaretRightOutlined.js + 1 modules
var CaretRightOutlined = __webpack_require__(2066);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyPreview/Filebook.tsx
/* harmony default export */ var Filebook = (function (_ref) {
var id = _ref.id,
onClose = _ref.onClose;
var flipbookRef = (0,_react_17_0_2_react.useRef)(null);
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
isloading = _useState2[0],
setisloading = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(0),
_useState4 = slicedToArray_default()(_useState3, 2),
page = _useState4[0],
setpage = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(0),
_useState6 = slicedToArray_default()(_useState5, 2),
total = _useState6[0],
setTotal = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)([]),
_useState8 = slicedToArray_default()(_useState7, 2),
list = _useState8[0],
setList = _useState8[1];
console.log('---id', id);
var _useState9 = (0,_react_17_0_2_react.useState)(),
_useState10 = slicedToArray_default()(_useState9, 2),
images = _useState10[0],
setimages = _useState10[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (id) {
getDetail(id);
getColumn(id);
}
}, [id]);
function getDetail(_x) {
return _getDetail.apply(this, arguments);
}
function _getDetail() {
_getDetail = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(id) {
var res, _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/monthly_magazines/".concat(id, ".json"), {
mehtod: 'get'
});
case 2:
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setList(res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.articles);
}
case 4:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return _getDetail.apply(this, arguments);
}
var getColumn = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(id) {
var res, _res$data;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,fetch/* default */.ZP)("/api/page_previews.json", {
method: 'get',
params: {
article_id: '',
monthly_magazine_id: id,
limit: 1300
}
});
case 2:
res = _context.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setimages(toConsumableArray_default()(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list));
}
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getColumn(_x2) {
return _ref2.apply(this, arguments);
};
}();
(0,_react_17_0_2_react.useEffect)(function () {
// 确保 Turn.js 和 jQuery 已加载
setisloading(true);
setTimeout(function () {
if (flipbookRef.current && window.$ && window.$.fn.turn) {
// 初始化 Turn.js
window.abc = $(flipbookRef.current).turn({
width: 1200,
height: '100%',
autoCenter: true
});
getPage();
getTotal();
setisloading(false);
} else {
console.error('Turn.js 或 jQuery 未加载!');
}
}, 3000);
// 组件卸载时销毁 Turn.js
return function () {
if (flipbookRef.current) {
$(flipbookRef.current).turn('destroy');
}
};
}, [flipbookRef]);
var divs = function divs(list) {
return list === null || list === void 0 ? void 0 : list.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
style: {
width: '100%'
},
src: env/* default */.Z.IMG_SERVER + (item === null || item === void 0 ? void 0 : item.download_url)
}, index);
});
};
// 上一页
var upPage = function upPage() {
window.abc.turn("previous");
getPage();
};
// 下一页
var downPage = function downPage() {
window.abc.turn("next");
getPage();
};
// 当前页
var getPage = function getPage() {
var _window;
var val = (_window = window) === null || _window === void 0 || (_window = _window.abc) === null || _window === void 0 ? void 0 : _window.turn("page");
setpage(val);
// window.scrollTo(0, 0);
};
// 总页数
var getTotal = function getTotal() {
var _window2;
var val = (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.abc) === null || _window2 === void 0 ? void 0 : _window2.turn("pages");
setTotal(val);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyPreviewmodules.classnamepage,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.close,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u5173\u95ED",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "",
onClick: function onClick() {
onClose();
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "icon-guanbi1"
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
ref: flipbookRef,
id: "flipbook",
children: divs(images)
}),
/*#__PURE__*/
/*
下一页abc.turn("next")
上一页abc.turn("previous")
总页数abc.turn("pages")
当前页abc.turn("page")
当前页的起止 返回1,2abc.turn("view")
*/
(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.bottom_nav,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyPreviewmodules.bottom_nav_warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyPreviewmodules.flex,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.com_btn,
style: {
marginRight: 20
},
onClick: upPage,
children: "\u4E0A\u4E00\u7BC7"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.com_btn,
onClick: downPage,
children: "\u4E0B\u4E00\u7BC7"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyPreviewmodules.page_warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(CaretLeftOutlined/* default */.Z, {
className: MonthlyPreviewmodules.up_or_down,
onClick: upPage
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyPreviewmodules.page_info,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
marginRight: 20
},
children: [page || 0, " \u9875"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u5171 ", total || 0, " \u9875"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(CaretRightOutlined/* default */.Z, {
className: MonthlyPreviewmodules.up_or_down,
onClick: downPage
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyPreviewmodules.flex,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.com_btn,
style: {
marginRight: 20
},
children: "\u4E0B\u8F7DPDF"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
placement: "top",
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.menu_style,
children: list === null || list === void 0 ? void 0 : list.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyPreviewmodules.menu_item,
onClick: function onClick() {
console.log('item', item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: item === null || item === void 0 ? void 0 : item.title
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: 52,
color: '#5D606D',
fontWeight: 'normal'
},
children: item === null || item === void 0 ? void 0 : item.user_name
})]
}, index);
})
});
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.com_btn,
children: "\u76EE\u5F55"
})
})]
})]
})
})]
});
});
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyPreview/index.tsx
var MonthlyPreview = function MonthlyPreview() {
var param = (0,_umi_production_exports.useParams)();
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyPreviewmodules.monthly_preview,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
goBackUrl: '/defendCloud',
imgUrl: __webpack_require__(/*! ../../img/logo.png */ 4847)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.content_warp,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyPreviewmodules.content,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Filebook, {
onClose: function onClose() {
_umi_production_exports.history.push('/magazinever/monthlydetails');
},
id: param === null || param === void 0 ? void 0 : param.id
})
})
})]
});
};
/* harmony default export */ var component_MonthlyPreview = (MonthlyPreview);
/***/ })
}]);

@ -0,0 +1,701 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Magazinejor/component/MonthlyPreview/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.monthly_preview___Mxq5q {
width: 100%;
position: relative;
background: linear-gradient(180deg, #0B2D73 0%, #5463C5 100%);
}
.monthly_preview___Mxq5q .content_warp___yUomQ {
width: 100%;
height: 100%;
padding: 3vh;
display: flex;
background: linear-gradient(180deg, #0B2D73 0%, #5463C5 100%);
}
.monthly_preview___Mxq5q .content___MieMg {
position: relative;
width: 100%;
background: linear-gradient(180deg, #163788 0%, #5263C6 100%);
box-shadow: 0px 2px 4px 0px #435FCC;
border-radius: 8px;
border: 1px solid #4363dd;
padding: 30px;
}
.classnamepage___UqfL5 {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 960px;
background-color: #fff;
overflow: hidden;
}
.close___NjSDO {
position: absolute;
right: 25px;
top: 25px;
z-index: 10;
display: flex;
}
.close___NjSDO > span {
background: #3061D0;
color: #fff;
width: 40px;
height: 40px;
border-radius: 4px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin-left: 10px;
}
.bottom_nav___Z7Pq0 {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 64px;
background: rgba(14, 33, 96, 0.84);
z-index: 9;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.bottom_nav___Z7Pq0 .bottom_nav_warp___cMCd8 {
width: 80%;
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 auto;
}
.bottom_nav___Z7Pq0 .flex___o72oM {
display: flex;
}
.bottom_nav___Z7Pq0 .page_warp___MSjQg {
display: flex;
align-items: center;
}
.bottom_nav___Z7Pq0 .com_btn___f1Tyv,
.bottom_nav___Z7Pq0 .page_info___qksDE {
display: flex;
align-items: center;
justify-content: center;
height: 32px;
border-radius: 4px;
border: 1px solid #BACFFE;
font-size: 14px;
color: #CADAFF;
padding: 0 14px;
cursor: pointer;
}
.bottom_nav___Z7Pq0 .com_btn___f1Tyv:hover,
.bottom_nav___Z7Pq0 .page_info___qksDE:hover {
color: #fff;
border: 1px solid #fff;
}
.bottom_nav___Z7Pq0 .page_info___qksDE {
cursor: default;
margin: 0 24px;
}
.bottom_nav___Z7Pq0 .page_info___qksDE:hover {
color: #CADAFF;
border: 1px solid #BACFFE;
}
.bottom_nav___Z7Pq0 .up_or_down___uHmnm {
cursor: pointer;
color: #CADAFF;
font-size: 20px;
}
.bottom_nav___Z7Pq0 .up_or_down___uHmnm:hover {
color: #fff;
}
.menu_style___sn3o0 {
padding: 10px;
background: #F3F6FD;
box-shadow: 0px 0px 23px 0px rgba(84, 88, 96, 0.21);
border-radius: 4px;
border: 1px solid #C7CEDB;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
margin: 20px 0;
max-height: 420px;
overflow-y: auto;
}
.menu_style___sn3o0 .menu_item___pmaiT {
height: 40px;
line-height: 40px;
border-radius: 2px;
cursor: pointer;
padding: 0 10px;
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 14px;
color: #20232B;
display: flex;
align-items: center;
justify-content: space-between;
}
.menu_style___sn3o0 .menu_item___pmaiT:hover {
background: rgba(9, 42, 115, 0.1);
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/HeaderNav/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.nav_bg___pTE1T {
height: 45px;
width: 100%;
display: flex;
justify-content: space-between;
background: #163B88;
position: relative;
}
.nav_bg___pTE1T .nav_left___tT9dm {
height: 45px;
width: 30vw;
display: flex;
align-items: center;
margin-left: 1.5vw;
}
.nav_bg___pTE1T .nav_time___ZYsoD {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #FFFFFF;
text-align: left;
font-style: normal;
}
.nav_bg___pTE1T .nav_title___VcKTB {
height: 60px;
width: 460px;
position: absolute;
top: 0;
left: 50%;
right: 50%;
transform: translateX(-50%);
}
.nav_bg___pTE1T .nav_right___GdTJz {
height: 45px;
width: 30vw;
display: flex;
align-items: center;
justify-content: flex-end;
margin-right: 1.5vw;
}
.nav_bg___pTE1T .nav_right___GdTJz img {
cursor: pointer;
}
.nav_bg___pTE1T .nav_right___GdTJz .user_info___pLgXu {
display: flex;
align-items: center;
cursor: pointer;
}
.nav_bg___pTE1T .nav_right___GdTJz .user_info___pLgXu .user_name___El8Wz {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 1.6vh;
color: #FFFFFF;
font-style: normal;
margin: 0 1vh;
}
.nav_bg___pTE1T .message_warp___f0kKB {
position: relative;
cursor: pointer;
margin-left: 2vh;
}
.nav_bg___pTE1T .message_warp___f0kKB .new_message___s9oui {
position: absolute;
top: 0.4vh;
right: 0vh;
width: 6px;
height: 6px;
border-radius: 50%;
background: red;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/AuthModal/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.tilte___IfiMG {
color: #333333;
font-size: 16px;
text-align: center;
}
.flexRow___pQP78 {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 30px;
}
.flexColumn___xrBZQ {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.footerWrap___C5kCC {
display: flex;
justify-content: space-between;
}
.img___GoWZu {
width: 40px;
height: 37px;
vertical-align: middle;
border-style: none;
}
.content___pumTK {
font-size: 14px;
color: #979797;
margin-top: 15px;
}
.modalContent___XvHiZ {
text-align: center;
margin-top: 10px;
color: #333333;
font-size: 16px;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/Join/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___cltIf {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___fKr_O {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center____QfiA {
align-items: center;
box-align: center;
}
.flex_box_center_end___ysqmH {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___CfE8K {
flex-direction: column;
box-orient: block-axis;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___q69Kn {
display: flex;
flex-direction: column;
}
.flex-row___HYZQR {
display: flex;
flex-direction: row;
}
.justify-start___hl1ma {
display: flex;
justify-content: flex-start;
}
.justify-center___DYm_O {
display: flex;
justify-content: center;
}
.justify-end___qddUn {
display: flex;
justify-content: flex-end;
}
.justify-evenly___uhKut {
display: flex;
justify-content: space-evenly;
}
.justify-around___lWRCW {
display: flex;
justify-content: space-around;
}
.justify-between___Fizuh {
display: flex;
justify-content: space-between;
}
.align-start___HDyjH {
display: flex;
align-items: flex-start;
}
.align-center___Z1RIH {
display: flex;
align-items: center;
}
.align-end___TqRle {
display: flex;
align-items: flex-end;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___q69Kn {
display: flex;
flex-direction: column;
}
.flex-row___HYZQR {
display: flex;
flex-direction: row;
}
.justify-start___hl1ma {
display: flex;
justify-content: flex-start;
}
.justify-center___DYm_O {
display: flex;
justify-content: center;
}
.justify-end___qddUn {
display: flex;
justify-content: flex-end;
}
.justify-evenly___uhKut {
display: flex;
justify-content: space-evenly;
}
.justify-around___lWRCW {
display: flex;
justify-content: space-around;
}
.justify-between___Fizuh {
display: flex;
justify-content: space-between;
}
.align-start___HDyjH {
display: flex;
align-items: flex-start;
}
.align-center___Z1RIH {
display: flex;
align-items: center;
}
.align-end___TqRle {
display: flex;
align-items: flex-end;
}
.rightMenu___ADTOX {
width: 120px;
text-align: center;
}
.rightMenu___ADTOX li {
padding: 0 15px;
height: 35px;
line-height: 35px;
background: none !important;
}
.rightMenu___ADTOX li:hover {
background: #0152d9 !important;
}
.rightMenu___ADTOX li:hover a {
color: white !important;
}
.rightMenu___ADTOX li a {
font-size: 14px;
margin: 0;
padding: 0;
}
.joinMenu___aRGsf {
padding: 0 0;
width: 240px;
}
.joinMenu___aRGsf a {
color: #323232;
}
.joinBoard___AeUvr {
border: 1px solid #eee;
width: 1px;
height: 100%;
}
.joinCol___fV4uL {
width: 48%;
}
.hidden___TkCJZ {
display: none;
}
.w140___Vx5lp {
width: 140px !important;
}
.w100___yYRaC {
width: 90%;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___YbxYn {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___Atwkg {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center____I6AC {
align-items: center;
box-align: center;
}
.flex_box_center_end___LrYPg {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___j7QNF {
flex-direction: column;
box-orient: block-axis;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___FjWL1 {
display: flex;
flex-direction: column;
}
.flex-row___VfJkb {
display: flex;
flex-direction: row;
}
.justify-start___kCHdk {
display: flex;
justify-content: flex-start;
}
.justify-center___lxZ9q {
display: flex;
justify-content: center;
}
.justify-end___bVseE {
display: flex;
justify-content: flex-end;
}
.justify-evenly___tH11C {
display: flex;
justify-content: space-evenly;
}
.justify-around___RNnQY {
display: flex;
justify-content: space-around;
}
.justify-between___HFF9Q {
display: flex;
justify-content: space-between;
}
.align-start___C1sHu {
display: flex;
align-items: flex-start;
}
.align-center___Ow7vB {
display: flex;
align-items: center;
}
.align-end___dpCs7 {
display: flex;
align-items: flex-end;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___FjWL1 {
display: flex;
flex-direction: column;
}
.flex-row___VfJkb {
display: flex;
flex-direction: row;
}
.justify-start___kCHdk {
display: flex;
justify-content: flex-start;
}
.justify-center___lxZ9q {
display: flex;
justify-content: center;
}
.justify-end___bVseE {
display: flex;
justify-content: flex-end;
}
.justify-evenly___tH11C {
display: flex;
justify-content: space-evenly;
}
.justify-around___RNnQY {
display: flex;
justify-content: space-around;
}
.justify-between___HFF9Q {
display: flex;
justify-content: space-between;
}
.align-start___C1sHu {
display: flex;
align-items: flex-start;
}
.align-center___Ow7vB {
display: flex;
align-items: center;
}
.align-end___dpCs7 {
display: flex;
align-items: flex-end;
}
.userPic___a46Uz {
width: 34px;
height: 34px;
border-radius: 34px;
cursor: pointer;
}
.rightMenu___y_nqk {
text-align: center;
}
.rightMenu___y_nqk li {
padding: 0;
}
.rightMenu___y_nqk li:hover {
background: #0152d9;
}
.rightMenu___y_nqk li:hover a {
color: white;
}
.rightMenu___y_nqk li a {
font-size: 14px;
margin: 0;
}
[id="educoder"] .menuWrap___iwlZB {
padding-left: 0;
padding-right: 0;
border-radius: 2px;
}
[id="educoder"] .menuWrap___iwlZB li {
height: 35px;
padding: 0 !important;
}
[id="educoder"] .menuWrap___iwlZB li [class~='ant-dropdown-menu-title-content'] {
flex: none !important;
}
[id="educoder"] .menuWrap___iwlZB li a {
margin: 0px;
color: #323232;
text-align: left;
padding: 0px 15px;
line-height: 35px;
}
.exit___MOREW {
border-top: 1px solid #eeeeee;
}
.classromediv___crYsO {
width: 60px;
height: 50px;
display: flex;
align-items: center;
border-radius: 50px;
cursor: pointer;
animation: glow___jMGk7 200ms ease-out infinite alternate;
}
@keyframes glow___jMGk7 {
0% {
border-color: #00fff9;
text-align: center;
box-shadow: 0 0 5px rgba(0, 255, 249, 0.2);
}
100% {
border-color: #00fff9;
text-align: center;
box-shadow: 0 0 8px rgba(0, 255, 249, 0.6);
}
}
.height67___asp2E {
height: 40px;
}
.login___WGEW9 {
width: 90px;
height: 32px;
line-height: 32px;
text-align: center;
background: linear-gradient(135deg, #6c7bfd 0%, #3a45fa 100%);
border-radius: 2px;
cursor: pointer;
font-size: 14px;
color: #ffffff;
}
.login___WGEW9 > span {
padding: 0 !important;
}
.icon___HABAt {
font-size: 12px;
display: inline-block;
transform: translateY(3px) scale(0.6);
color: #979797;
}
.new_style___VRLKt {
width: 3vh;
height: 3vh;
margin: 0 1.5vh 0 2vh;
}
.zzxy_user___LLqzL {
display: flex;
align-items: center;
cursor: pointer;
}
.zzxy_user___LLqzL span {
color: #fff;
font-size: 12px;
}
.zzxy_user___LLqzL .icon_img___WwVKf {
margin-left: 1.5vh;
height: 7px;
}
.new_style_header___V65v3 {
display: flex;
align-items: center;
height: 45px;
}
.height6_vh___T2Kph {
height: 45px;
}

@ -19933,8 +19933,8 @@ var Page = function Page(_ref9) {
className: "current",
src: xiaoxi,
style: {
width: '2vh',
height: '2vh'
width: '14px',
height: '14px'
},
onClick: function onClick() {
var _user$userInfo3;

@ -305,8 +305,8 @@
position: absolute;
top: 0.4vh;
right: 0vh;
width: 0.8vh;
height: 0.8vh;
width: 6px;
height: 6px;
border-radius: 50%;
background: red;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

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