|
|
|
|
@ -37,8 +37,6 @@ var _umi_production_exports = __webpack_require__(5841);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/components/Footer/BeforeFooter/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var BeforeFootermodules = ({"flex_box_center":"flex_box_center___DajON","flex_space_between":"flex_space_between___tvLDY","flex_box_vertical_center":"flex_box_vertical_center___PvYv9","flex_box_center_end":"flex_box_center_end___F4Cig","flex_box_column":"flex_box_column___u9A0o","newFooterWrap":"newFooterWrap___l5oeD"});
|
|
|
|
|
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
|
|
|
|
|
var env = __webpack_require__(43873);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
|
|
|
|
|
var es_modal = __webpack_require__(43418);
|
|
|
|
|
// EXTERNAL MODULE: ./src/utils/util.tsx
|
|
|
|
|
@ -56,7 +54,6 @@ var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var NewFooter = function NewFooter(_ref) {
|
|
|
|
|
var _globalSetting$settin;
|
|
|
|
|
var user = _ref.user,
|
|
|
|
|
@ -135,7 +132,7 @@ var NewFooter = function NewFooter(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: BeforeFootermodules.newFooterWrap,
|
|
|
|
|
dangerouslySetInnerHTML: {
|
|
|
|
|
__html: (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 || (_globalSetting$settin = _globalSetting$settin.footer) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.replaceAll("/api/attachments/", env/* default */.Z.PROXY_SERVER + "/api/attachments/")
|
|
|
|
|
__html: (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 || (_globalSetting$settin = _globalSetting$settin.footer) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.replaceAll("/api/attachments/", "/api/attachments/")
|
|
|
|
|
}
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
@ -144,6 +141,8 @@ var NewFooter = function NewFooter(_ref) {
|
|
|
|
|
;// CONCATENATED MODULE: ./src/components/Footer/NewFooter/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var NewFootermodules = ({"flex_box_center":"flex_box_center___mmTa9","flex_space_between":"flex_space_between___jMnlY","flex_box_vertical_center":"flex_box_vertical_center___Nzd52","flex_box_center_end":"flex_box_center_end___rVNra","flex_box_column":"flex_box_column___cg5bF","newFooter":"newFooter___XUH_2"});
|
|
|
|
|
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
|
|
|
|
|
var env = __webpack_require__(43873);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/components/Footer/NewFooter/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2471,7 +2470,7 @@ var User = function User(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml10 mr2 current",
|
|
|
|
|
style: {
|
|
|
|
|
color: '#B10000'
|
|
|
|
|
color: '#ccc'
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
dispatch({
|
|
|
|
|
@ -2487,14 +2486,15 @@ var User = function User(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml2 mr2",
|
|
|
|
|
style: {
|
|
|
|
|
color: '#B10000'
|
|
|
|
|
color: '#ccc'
|
|
|
|
|
},
|
|
|
|
|
children: "/"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
to: "/user/register",
|
|
|
|
|
className: "ml2 current pr25",
|
|
|
|
|
style: {
|
|
|
|
|
color: '#B10000'
|
|
|
|
|
// color:'#B10000'
|
|
|
|
|
color: '#ccc'
|
|
|
|
|
},
|
|
|
|
|
children: "\u6CE8\u518C"
|
|
|
|
|
})]
|
|
|
|
|
@ -2614,6 +2614,7 @@ var HeaderLogo_NewFooter = function NewFooter(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: HeaderLogomodules['search-container'],
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
|
|
|
|
|
// autoFocus={true}
|
|
|
|
|
className: HeaderLogomodules["btn-search"],
|
|
|
|
|
value: keyword,
|
|
|
|
|
enterButton: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
@ -2648,7 +2649,7 @@ var HeaderLogo_NewFooter = function NewFooter(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: "\u6211\u7684\u8BFE\u7A0B"
|
|
|
|
|
}), !(0,util/* checkIsClientExam */.Ll)() && !(globalSetting !== null && globalSetting !== void 0 && globalSetting.isIlearning) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SearchInput, {}), !(0,authority/* isLogin */.bg)() && /*#__PURE__*/(0,jsx_runtime.jsx)(components_Join, {}), (0,authority/* isLogin */.bg)() && !!(user !== null && user !== void 0 && (_user$userInfo2 = user.userInfo) !== null && _user$userInfo2 !== void 0 && _user$userInfo2.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SearchInput, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_Join, {}), (0,authority/* isLogin */.bg)() && !!(user !== null && user !== void 0 && (_user$userInfo2 = user.userInfo) !== null && _user$userInfo2 !== void 0 && _user$userInfo2.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
className: "iconfont icon-xiaoxilingdang ml15 mr15 font18 relative",
|
|
|
|
|
to: "/messages/".concat(user === null || user === void 0 || (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.login, "/user_tidings"),
|
|
|
|
|
style: {
|
|
|
|
|
@ -2658,7 +2659,7 @@ var HeaderLogo_NewFooter = function NewFooter(_ref) {
|
|
|
|
|
className: HeaderLogomodules.newslight
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), (0,authority/* isLogin */.bg)() && /*#__PURE__*/(0,jsx_runtime.jsx)(components_User, {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_User, {
|
|
|
|
|
payload: payload
|
|
|
|
|
})]
|
|
|
|
|
})]
|