|
|
|
|
@ -1099,8 +1099,6 @@ var message = __webpack_require__(8591);
|
|
|
|
|
var col = __webpack_require__(43604);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
|
|
|
|
|
var menu = __webpack_require__(20834);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
|
|
|
|
|
var dropdown = __webpack_require__(38854);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules
|
|
|
|
|
var es_radio = __webpack_require__(5112);
|
|
|
|
|
// EXTERNAL MODULE: ./src/service/home.ts
|
|
|
|
|
@ -2100,23 +2098,7 @@ var Join = function Join(_ref) {
|
|
|
|
|
// }, [globalSetting,user?.userInfo]);
|
|
|
|
|
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
|
|
|
|
|
dropdownRender: function dropdownRender() {
|
|
|
|
|
var _user$userInfo19;
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
|
|
|
|
|
className: ((_user$userInfo19 = user.userInfo) === null || _user$userInfo19 === void 0 ? void 0 : _user$userInfo19.user_identity) !== '学生' ? "".concat(Joinmodules.rightMenu, " ").concat(Joinmodules.joinMenu, " mt10") : "".concat(Joinmodules.rightMenu, " ").concat(Joinmodules.joinMenu, " ").concat(Joinmodules.w140, " mt10"),
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(JoinOverlay, {})
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
placement: "bottom",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
lineHeight: 'inherit',
|
|
|
|
|
color: '#ccc'
|
|
|
|
|
},
|
|
|
|
|
className: "iconfont icon-tianjiafangda font18 current ml15 mr15"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(JoinClassroomModal/* default */.Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(JoinClassroomModal/* default */.Z, {
|
|
|
|
|
visible: visibleJoinClassroom,
|
|
|
|
|
onCancel: function onCancel() {
|
|
|
|
|
return setVisibleJoinClassroom(false);
|
|
|
|
|
@ -2152,6 +2134,8 @@ var Join = function Join(_ref) {
|
|
|
|
|
loading: loading.models.index
|
|
|
|
|
};
|
|
|
|
|
})(Join));
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
|
|
|
|
|
var dropdown = __webpack_require__(38854);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/components/Header/components/User/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var Usermodules = ({"flex_box_center":"flex_box_center___YbxYn","flex_space_between":"flex_space_between___Atwkg","flex_box_vertical_center":"flex_box_vertical_center____I6AC","flex_box_center_end":"flex_box_center_end___LrYPg","flex_box_column":"flex_box_column___j7QNF","userPic":"userPic___a46Uz","rightMenu":"rightMenu___y_nqk","menuWrap":"menuWrap___iwlZB","exit":"exit___MOREW","classromediv":"classromediv___crYsO","glow":"glow___jMGk7","height67":"height67___asp2E","login":"login___WGEW9","icon":"icon___HABAt"});
|
|
|
|
|
@ -2470,7 +2454,7 @@ var User = function User(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml10 mr2 current",
|
|
|
|
|
style: {
|
|
|
|
|
color: '#ccc'
|
|
|
|
|
color: '#B10000'
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
dispatch({
|
|
|
|
|
@ -2486,15 +2470,15 @@ var User = function User(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml2 mr2",
|
|
|
|
|
style: {
|
|
|
|
|
color: '#ccc'
|
|
|
|
|
color: '#B10000'
|
|
|
|
|
},
|
|
|
|
|
children: "/"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
to: "/user/register",
|
|
|
|
|
className: "ml2 current pr25",
|
|
|
|
|
style: {
|
|
|
|
|
// color:'#B10000'
|
|
|
|
|
color: '#ccc'
|
|
|
|
|
color: '#B10000'
|
|
|
|
|
// color:'#ccc'
|
|
|
|
|
},
|
|
|
|
|
children: "\u6CE8\u518C"
|
|
|
|
|
})]
|
|
|
|
|
@ -2586,13 +2570,13 @@ var HeaderLogo_NewFooter = function NewFooter(_ref) {
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "iconfont icon-sousuo font18 current ml15 mr15",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
// setOpenSearch(true)
|
|
|
|
|
_umi_production_exports.history.push('/search?value=');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
return null;
|
|
|
|
|
// (
|
|
|
|
|
// // <span className="iconfont icon-sousuo font18 current ml15 mr15" onClick={() => {
|
|
|
|
|
// // // setOpenSearch(true)
|
|
|
|
|
// // history.push('/search?value=')
|
|
|
|
|
// // }} />
|
|
|
|
|
// )
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|