Auto Submit

dev_local_v9_test4
autosubmit 1 year ago
parent 7793efa43a
commit 5b759b4f3e

@ -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.82568fb9.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;
}

@ -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;
}

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