|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{"1Sn+":
|
|
|
/*!*************************************************!*\
|
|
|
!*** ./src/components/Header/search-input.less ***!
|
|
|
\*************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},"498V":
|
|
|
/*!****************************************!*\
|
|
|
!*** ./src/components/Header/logo.svg ***!
|
|
|
\****************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/logo.22b9a281.svg"},"55Ip":
|
|
|
/*!***************************************************************!*\
|
|
|
!*** ./node_modules/react-router-dom/esm/react-router-dom.js ***!
|
|
|
\***************************************************************/
|
|
|
/*! exports provided: MemoryRouter, Prompt, Redirect, Route, Router, StaticRouter, Switch, generatePath, matchPath, useHistory, useLocation, useParams, useRouteMatch, withRouter, BrowserRouter, HashRouter, Link, NavLink */
|
|
|
/*! exports used: Link, NavLink */function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return x}));var a=n(/*! react-router */"Ty5D"),i=n(/*! @babel/runtime/helpers/esm/inheritsLoose */"dI71"),r=n(/*! react */"q1tI"),o=n.n(r),l=n(/*! history */"YS25"),c=(n(/*! prop-types */"17x9"),n(/*! @babel/runtime/helpers/esm/extends */"wx14")),s=n(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */"zLVn"),u=n(/*! tiny-invariant */"9R94");o.a.Component;o.a.Component;var d=function(e,t){return"function"==typeof e?e(t):e},m=function(e,t){return"string"==typeof e?Object(l.c)(e,null,null,t):e},g=function(e){return e},f=o.a.forwardRef;void 0===f&&(f=g);var p=f((function(e,t){var n=e.innerRef,a=e.navigate,i=e.onClick,r=Object(s.a)(e,["innerRef","navigate","onClick"]),l=r.target,u=Object(c.a)({},r,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||l&&"_self"!==l||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),a())}});return u.ref=g!==f&&t||n,o.a.createElement("a",u)}));var v=f((function(e,t){var n=e.component,i=void 0===n?p:n,r=e.replace,l=e.to,v=e.innerRef,h=Object(s.a)(e,["component","replace","to","innerRef"]);return o.a.createElement(a.e.Consumer,null,(function(e){e||Object(u.a)(!1);var n=e.history,a=m(d(l,e.location),e.location),s=a?n.createHref(a):"",p=Object(c.a)({},h,{href:s,navigate:function(){var t=d(l,e.location);(r?n.replace:n.push)(t)}});return g!==f?p.ref=t||v:p.innerRef=v,o.a.createElement(i,p)}))})),h=function(e){return e},b=o.a.forwardRef;void 0===b&&(b=h);var x=b((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,r=e.activeClassName,l=void 0===r?"active":r,g=e.activeStyle,f=e.className,p=e.exact,x=e.isActive,E=e.location,A=e.sensitive,w=e.strict,y=e.style,S=e.to,j=e.innerRef,k=Object(s.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.a.createElement(a.e.Consumer,null,(function(e){e||Object(u.a)(!1);var n=E||e.location,r=m(d(S,n),n),s=r.pathname,O=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),I=O?Object(a.f)(n.pathname,{path:O,exact:p,sensitive:A,strict:w}):null,C=!!(x?x(I,n):I),N=C?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(f,l):f,_=C?Object(c.a)({},y,{},g):y,T=Object(c.a)({"aria-current":C&&i||null,className:N,style:_,to:r},k);return h!==b?T.ref=t||j:T.innerRef=j,o.a.createElement(v,T)}))}))},"7A1C":
|
|
|
/*!*************************************!*\
|
|
|
!*** ./src/layouts/user/index.less ***!
|
|
|
\*************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},"Cs+z":
|
|
|
/*!******************************************!*\
|
|
|
!*** ./src/components/HomeModal/jqr.png ***!
|
|
|
\******************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/jqr.b801d45b.png"},RhLm:
|
|
|
/*!***************************************************!*\
|
|
|
!*** ./src/components/User/OauthPanel/index.less ***!
|
|
|
\***************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},XmPC:
|
|
|
/*!***************************************************!*\
|
|
|
!*** ./src/components/User/OauthPanel/wechat.svg ***!
|
|
|
\***************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/wechat.a53d22ca.svg"},Y1PL:
|
|
|
/*!**********************************************************!*\
|
|
|
!*** ./node_modules/rc-textarea/es/index.js + 7 modules ***!
|
|
|
\**********************************************************/
|
|
|
/*! exports provided: ResizableTextArea, default */
|
|
|
/*! all exports used */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/findDOMNode.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/omit.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/warning.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js (<- Module uses injected variables (global)) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/shallowequal/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t),n.d(t,"ResizableTextArea",(function(){return z}));var a=n("wx14"),i=n("1OyB"),r=n("vuIU"),o=n("Ji7U"),l=n("LK+K"),c=n("q1tI"),s=n("VTBJ"),u=n("rePB"),d=n("Zm9Q"),m=(n("Kwbf"),n("c+Xe")),g=n("m+aA"),f=n("bdgK"),p=new Map;var v=new f.default((function(e){e.forEach((function(e){var t,n=e.target;null===(t=p.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var h=function(e){Object(o.a)(n,e);var t=Object(l.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component),b=c.createContext(null);function x(e){var t=e.children,n=e.disabled,a=c.useRef(null),i=c.useRef(null),r=c.useContext(b),o=c.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),l=c.isValidElement(t)&&Object(m.c)(t),u=l?t.ref:null,d=c.useMemo((function(){return Object(m.a)(u,a)}),[u,a]),f=c.useRef(e);f.current=e;var x=c.useCallback((function(e){var t=f.current,n=t.onResize,a=t.data,i=e.getBoundingClientRect(),l=i.width,c=i.height,u=e.offsetWidth,d=e.offsetHeight,m=Math.floor(l),g=Math.floor(c);if(o.current.width!==m||o.current.height!==g||o.current.offsetWidth!==u||o.current.offsetHeight!==d){var p={width:m,height:g,offsetWidth:u,offsetHeight:d};o.current=p;var v=u===Math.round(l)?l:u,h=d===Math.round(c)?c:d,b=Object(s.a)(Object(s.a)({},p),{},{offsetWidth:v,offsetHeight:h});null==r||r(b,e,a),n&&Promise.resolve().then((function(){n(b,e)}))}}),[]);return c.useEffect((function(){var e,t,r=Object(g.a)(a.current)||Object(g.a)(i.current);return r&&!n&&(e=r,t=x,p.has(e)||(p.set(e,new Set),v.observe(e)),p.get(e).add(t)),function(){return function(e,t){p.has(e)&&(p.get(e).delete(t),p.get(e).size||(v.unobserve(e),p.delete(e)))}(r,x)}}),[a.current,n]),c.createElement(h,{ref:i},l?c.cloneElement(t,{ref:d}):t)}function E(e){var t=e.children;return Object(d.a)(t).map((function(t,n){var i=(null==t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return c.createElement(x,Object(a.a)({},e,{key:i}),t)}))}E.Collection=function(e){var t=e.children,n=e.onBatchResize,a=c.useRef(0),i=c.useRef([]),r=c.useContext(b),o=c.useCallback((function(e,t,o){a.current+=1;var l=a.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){l===a.current&&(null==n||n(i.current),i.current=[])})),null==r||r(e,t,o)}),[n,r]);return c.createElement(b.Provider,{value:o},t)};var A,w=E,y=n("bT9E"),S=n("TSYQ"),j=n.n(S),k="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",O=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],I={};function C(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&I[n])return I[n];var a=window.getComputedStyle(e),i=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),r=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),o=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),l=O.map((function(e){return"".concat(e,":").concat(a.getPropertyValue(e))})).join(";"),c={sizingStyle:l,paddingSize:r,borderSize:o,boxSizing:i};return t&&n&&(I[n]=c),c}var N,_=n("Gytx"),T=n.n(_);!function(e){e[e.NONE=0]="NONE",e[e.RESIZING=1]="RESIZING",e[e.RESIZED=2]="RESIZED"}(N||(N={}));var z=function(e){Object(o.a)(n,e);var t=Object(l.a)(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this,e)).nextFrameActionId=void 0,r.resizeFrameId=void 0,r.textArea=void 0,r.saveTextArea=function(e){r.textArea=e},r.handleResize=function(e){var t=r.state.resizeStatus,n=r.props,a=n.autoSize,i=n.onResize;t===N.NONE&&("function"==typeof i&&i(e),a&&r.resizeOnNextFrame())},r.resizeOnNextFrame=function(){cancelAnimationFrame(r.nextFrameActionId),r.nextFrameActionId=requestAnimationFrame(r.resizeTextarea)},r.resizeTextarea=function(){var e=r.props.autoSize;if(e&&r.textArea){var t=e.minRows,n=e.maxRows,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;A||((A=document.createElement("textarea")).setAttribute("tab-index","-1"),A.setAttribute("aria-hidden","true"),document.body.appendChild(A)),e.getAttribute("wrap")?A.setAttribute("wrap",e.getAttribute("wrap")):A.removeAttribute("wrap");var i=C(e,t),r=i.paddingSize,o=i.borderSize,l=i.boxSizing,c=i.sizingStyle;A.setAttribute("style","".concat(c,";").concat(k)),A.value=e.value||e.placeholder||"";var s,u=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,m=A.scrollHeight;if("border-box"===l?m+=o:"content-box"===l&&(m-=r),null!==n||null!==a){A.value=" ";var g=A.scrollHeight-r;null!==n&&(u=g*n,"border-box"===l&&(u=u+r+o),m=Math.max(u,m)),null!==a&&(d=g*a,"border-box"===l&&(d=d+r+o),s=m>d?"":"hidden",m=Math.min(d,m))}return{height:m,minHeight:u,maxHeight:d,overflowY:s,resize:"none"}}(r.textArea,!1,t,n);r.setState({textareaStyles:a,resizeStatus:N.RESIZING},(function(){cancelAnimationFrame(r.resizeFrameId),r.resizeFrameId=requestAnimationFrame((function(){r.setState({resizeStatus:N.RESIZED},(function(){r.resizeFrameId=requestAnimationFrame((function(){r.setState({resizeStatus:N.NONE}),r.fixFirefoxAutoScroll()}))}))}))}))}},r.renderTextArea=function(){var e=r.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,i=e.autoSize,o=e.onResize,l=e.className,d=e.disabled,m=r.state,g=m.textareaStyles,f=m.resizeStatus,p=Object(y.a)(r.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),v=j()(n,l,Object(u.a)({},"".concat(n,"-disabled"),d));"value"in p&&(p.value=p.value||"");var h=Object(s.a)(Object(s.a)(Object(s.a)({},r.props.style),g),f===N.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return c.createElement(w,{onResize:r.handleResize,disabled:!(i||o)},c.createElement("textarea",Object(a.a)({},p,{className:v,style:h,ref:r.saveTextArea})))},r.state={textareaStyles:{},resizeStatus:N.NONE},r}return Object(r.a)(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&T()(e.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(e){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(c.Component),L=function(e){Object(o.a)(n,e);var t=Object(l.a)(n);function n(e){var a;Object(i.a)(this,n),(a=t.call(this,e)).resizableTextArea=void 0,a.focus=function(){a.resizableTextArea.textArea.focus()},a.saveTextArea=function(e){a.resizableTextArea=e},a.handleChange=function(e){var t=a.props.onChange;a.setValue(e.target.value,(function(){a.resizableTextArea.resizeTextarea()})),t&&t(e)},a.handleKeyDown=function(e){var t=a.props,n=t.onPressEnter,i=t.onKeyDown;13===e.keyCode&&n&&n(e),i&&i(e)};var r=void 0===e.value||null===e.value?e.defaultValue:e.value;return a.state={value:r},a}return Object(r.a)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return c.createElement(z,Object(a.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(c.Component);t.default=L},aZj7:
|
|
|
/*!***********************************!*\
|
|
|
!*** ./src/layouts/user/logo.png ***!
|
|
|
\***********************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAxCAYAAAABWrbGAAAX7klEQVR4Xu2dB9R0V1WG96tGUJQioKB0UIjUgCAl0sRCNdIhIEVEQpXekSKE3okgzRgMVbqAVDFgIj0ENCBNRUBAEBBCk5f1fJ4Zzpw555aZO/N/+dfstb71Z2XuPffcfe957y7v3kexBbH9kxFx58aljpP031NOw/a5IuIOU45ZGetJkk6z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00ASYFJ/GvyxYE+bWIucDsfO2qE0guRKtYkJ9XsmI2BDD41mw9AduxtqcTqVS2ka1R6YkxHF3REzo87zoZs3V0vzt3p4FNamAJYNJOdRCdqBrtEliXN6r1DB074eR3Q7Aq97SZDdW5uXztehsAmFMlHWob4hLB7jLrgfVCerNqyTWaMM+m3tnIaaw+d8fvNLBfNLAAMLbZs5b6hcN6Jgi1+IZ9+/2OucnGtp+zIYj2k1EC1AbJxACDG0isCAuFOpQaTZtsGPGUZnDSNpT32mbqpB6p+J2s89ogJe0O2mlgwxqYA0z6wsI3qNVw5NOA4v+oodtrDp1/2jirayO2YyWVtRrN4VPuv+xZOnQ6+XGAGynME9OWsS3C2SNrXeXzgWxTf1NrDM5h6LRsm7jKfHfn7DSwbzTwQwweC9+6/JUxAAAAAElFTkSuQmCC"},bT9E:
|
|
|
/*!*****************************************!*\
|
|
|
!*** ./node_modules/rc-util/es/omit.js ***!
|
|
|
\*****************************************/
|
|
|
/*! exports provided: default */
|
|
|
/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(/*! @babel/runtime/helpers/esm/objectSpread2 */"VTBJ");function i(e,t){var n=Object(a.a)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},p3IR:
|
|
|
/*!***********************************************!*\
|
|
|
!*** ./src/components/User/OauthPanel/qq.svg ***!
|
|
|
\***********************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/qq.ee284be0.svg"},ruvs:
|
|
|
/*!*****************************************************!*\
|
|
|
!*** ./src/components/Header/index.tsx + 2 modules ***!
|
|
|
\*****************************************************/
|
|
|
/*! exports provided: getCourseParam, default */
|
|
|
/*! exports used: default, getCourseParam */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/components/User/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/umiExports.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/ImagesIcon/index.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/service/user.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/authority.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/util.tsx */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/logo.svg (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/HomeModal/jqr.png (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router-dom/esm/react-router-dom.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router/esm/react-router.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"b",(function(){return P}));n("2qtc");var a,i=n("kLXV"),r=n("9og8"),o=n("tJVT"),l=n("PpiC"),c=n("k1fw"),s=(n("5NDa"),n("5rEg")),u=(n("B9cy"),n("Ol7k")),d=n("WmNS"),m=n.n(d),g=n("q1tI"),f=n.n(g),p=n("Ty5D"),v=n("55Ip"),h=n("9kvl"),b=n("lzim"),x=n("xrsn"),E=n.n(x),A=(n("1Sn+"),n("qVdP"),n("jsC+")),w=(n("miYZ"),n("tsqr")),y=(n("lUTK"),n("BvKs")),S=n("vToQ"),j=n.n(S),k=n("xKgJ"),O=n("jb+D"),I=n("m3rI"),C=n("1vsH"),N=function(e){var t=new Date;t.setTime(t.getTime()-1);var n,a,i=(a=RegExp("(^| )"+e+"=([^;]+)(;|$)"),(n=document.cookie.match(a))?decodeURIComponent(n[2]):null);null!=i&&(document.cookie=e+"="+i+";expires="+t.toGMTString())};!function(e){e.Classrooms="classrooms",e.Shixuns="shixuns",e.Paths="paths",e.Projects="projects",e.Videos="videos",e.Topics="topics"}(a||(a={}));var _=Object(h.a)((function(e){var t=e.homePage,n=e.loading;return{homePage:t,user:e.user,globalSetting:e.globalSetting,shixunHomeworks:e.shixunHomeworks,loading:n.models.index}}))((function(e){e.homePage;var t,n,i,o,s,u,d,g,p,b,x,E,S,_=e.user,T=e.globalSetting,z=(e.loading,e.dispatch),L=e.shixunHomeworks,Y=(e.location,e.payload),q=void 0===Y?{}:Y;Object(l.a)(e,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),null===(t=((null===(n=T.setting)||void 0===n?void 0:n.navbar)||[]).find((function(e){return e.link==="/".concat(a.Classrooms)})))||void 0===t||t.hidden,null===(i=((null===(o=T.setting)||void 0===o?void 0:o.navbar)||[]).find((function(e){return e.link==="/".concat(a.Shixuns)})))||void 0===i||i.hidden,null===(s=((null===(u=T.setting)||void 0===u?void 0:u.navbar)||[]).find((function(e){return e.link==="/".concat(a.Paths)})))||void 0===s||s.hidden,(null===(d=_.userInfo)||void 0===d?void 0:d.admin)||(null===(g=_.userInfo)||void 0===g?void 0:g.business)||(null===(p=_.userInfo)||void 0===p?void 0:p.is_shixun_marker)||(null===(b=_.userInfo)||void 0===b?void 0:b.is_teacher)||null===(x=_.userInfo)||void 0===x||x.user_identity;return Object(k.p)()?f.a.createElement(A.a,{className:"".concat(j.a.height67," pr25"),overlay:function(){return Object(C.p)()?f.a.createElement(y.a,{className:"".concat(j.a.rightMenu," ").concat(j.a.menuWrap)},f.a.createElement(y.a.Item,null,f.a.createElement(v.a,{to:"/account/profile"},"账号管理"))):f.a.createElement(y.a,{className:"".concat(j.a.rightMenu," ").concat(j.a.menuWrap)},f.a.createElement(y.a.Item,null,f.a.createElement(v.a,{to:"/users/".concat(null===(e=_.userInfo)||void 0===e?void 0:e.login,"/classrooms")},"我的个人主页")),f.a.createElement(y.a.Item,{className:j.a.exit},f.a.createElement("a",{onClick:Object(r.a)(m.a.mark((function e(){var t;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(O.c)({});case 2:1===(null==(t=e.sent)?void 0:t.status)&&(z({type:"user/getUserInfo",payload:Object(c.a)({},q)}),z({type:"user/getNavigationInfo",payload:Object(c.a)({},q)}),N("autologin_trustie"),N("_educoder_session"),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),w.b.success(null==t?void 0:t.message),h.d.replace("/"));case 4:case"end":return e.stop()}}),e)})))},"退出")));var e},placement:"bottomRight"},f.a.createElement("section",null,f.a.createElement("aside",null,f.a.createElement("div",{className:1===L.actionTabs.type?j.a.classromediv:""},f.a.createElement("img",{className:"".concat(j.a.userPic," current ml15"),src:"".concat(null===I.a||void 0===I.a?void 0:I.a.IMG_SERVER,"/images/").concat(null===(E=_.userInfo)||void 0===E?void 0:E.image_url),alt:"",onClick:function(){var e;return h.d.push(Object(C.p)()?"/account/profile":"/users/".concat(null===(e=_.userInfo)||void 0===e?void 0:e.login,"/classrooms"))}}),Object(C.p)()&&f.a.createElement("span",{className:"ml10 font16"},null===(S=_.userInfo)||void 0===S?void 0:S.username))))):f.a.createElement("div",{className:"font15 ".concat(T.isIlearning?j.a.login:"")},f.a.createElement("span",{className:"ml10 mr5 current c-white",onClick:function(){z({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"登录"),f.a.createElement("span",{className:"ml5 mr5"},"|"),f.a.createElement(v.a,{to:"/user/register",className:"ml5 current c-white pr25"},"注册"))})),T=(n("+L6B"),n("2/Rp")),z=n("Cs+z"),L=n.n(z),Y=Object(h.a)((function(e){var t=e.homePage,n=e.loading,a=e.user,i=e.globalSetting,r=e.shixunHomeworks;return{homePage:t,user:a,globalSetting:i,loading:n.models.index,shixunHomeworks:r}}))((function(e){e.homePage,e.user,e.globalSetting,e.loading;var t=e.dispatch,n=(e.location,e.text,e.shixunHomeworks),a=(e.payload,Object(l.a)(e,["homePage","user","globalSetting","loading","dispatch","location","text","shixunHomeworks","payload"]),Object(g.useState)("none")),i=Object(o.a)(a,2),r=i[0],c=i[1];return Object(g.useEffect)((function(){"底部弹窗"===n.actionTabs.key&&c("flex")}),[n.actionTabs.key]),Object(g.useEffect)((function(){"隐藏"===n.actionTabs.key&&(c("none"),localStorage.setItem("Noviceguide","0"))}),[n.actionTabs.key]),f.a.createElement("div",{style:{display:r,background:"#fff",width:"100%",height:"200px",position:"fixed",bottom:"0px",boxShadow:"0px -4px 6px 0px rgba(204, 204, 204, 0.2)",zIndex:"999"}},f.a.createElement("div",{style:{margin:"0 auto",width:"1200px"}},f.a.createElement("img",{src:L.a,style:{position:"absolute",top:"-32px"}}),f.a.createElement("div",{style:{marginLeft:"151px",marginTop:"40px",fontSize:"18px",color:"#333333"}},n.actionTabs.text),9===n.actionTabs.type?f.a.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},f.a.createElement(T.a,{type:"primary",onClick:function(){localStorage.setItem("Noviceguide","0"),c("none"),t({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"呆会见,有事呼我")):f.a.createElement("div",{style:{display:"flex",justifyContent:"flex-end"}},f.a.createElement(T.a,{type:"primary",onClick:function(){localStorage.setItem("Noviceguide","0"),t({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),c("none")},ghost:!0,style:{marginTop:"30px",width:"138px",height:"40px",position:"absolute",top:"124px"}},"跳过,我自己来"))))})),q=n("498V"),B=n.n(q),R=u.a.Header;s.a.Search;function P(){var e,t,n=window.location.pathname.split("/"),a={};return!("classrooms"==n[1]&&n.length>3)||null!==(e=n[4])&&void 0!==e&&e.includes("newgold")||null!==(t=n[5])&&void 0!==t&&t.includes("newgold")||"coursesId"===n[2]||(a.course_id=n[2]),"shixuns"===n[1]&&n.length>3&&(a.objective_type="shixun",a.objective_id=n[2]),"paths"===n[1]&&n.length>3&&(a.objective_type="path",a.objective_id=n[2]),Object(c.a)(Object(c.a)({},a),{school:1})}var H=["/","/classrooms","/account/profile","/account/profile/edit","/classrooms/new"];t.a=Object(h.a)((function(e){var t=e.homePage,n=e.loading,a=e.user,i=e.globalSetting,r=e.shixunHomeworks;return{homePage:t,user:a,globalSetting:i,loading:n.models.index,shixunHomeworks:r}}))((function(e){e.homePage,e.user;var t,n=e.globalSetting,a=(e.loading,e.dispatch),r=e.location,s=e.isLogin,d=void 0!==s&&s,m=e.shixunHomeworks,h=(Object(l.a)(e,["homePage","user","globalSetting","loading","dispatch","location","isLogin","shixunHomeworks"]),Object(p.g)(),Object(g.useState)(!1)),x=Object(o.a)(h,2),A=(x[0],x[1],Object(g.useState)(-1)),w=Object(o.a)(A,2),y=w[0],S=w[1],j=Object(g.useState)(!1),k=Object(o.a)(j,2),O=k[0],N=k[1],T=P();r.pathname;Object(g.useEffect)((function(){a({type:"user/getNavigationInfo",payload:Object(c.a)({},T)})}),[n.name]),Object(g.useEffect)((function(){"底部弹窗"===m.actionTabs.key&&(null!=H&&H.includes(null==r?void 0:r.pathname)||0===(null==r?void 0:r.pathname.indexOf("/classrooms"))||a({type:"shixunHomeworks/setActionTabs",payload:{key:"隐藏"}}))}),[r.pathname]),Object(g.useEffect)((function(){"底部弹窗"===m.actionTabs.key||m.actionTabs.key||localStorage.setItem("Noviceguide","0")}),[m.actionTabs.key]),Object(g.useEffect)((function(){var e,t,a;null!=n&&n.setting&&(null==n||null===(e=n.setting)||void 0===e||null===(t=e.navbar)||void 0===t||t.map((function(e,t){r.pathname.indexOf(e.link)>-1&&S(t)})),-1===y?Object(C.V)(n.setting.name):Object(C.V)((null===(a=n.setting.navbar[y])||void 0===a?void 0:a.name)||n.setting.name))}),[null==n?void 0:n.setting]);var z=Object(g.useMemo)((function(){var e,t;return null!=n&&null!==(e=n.setting)&&void 0!==e&&e.nav_logo_url?"".concat(I.a.IMG_SERVER,"/").concat(null==n||null===(t=n.setting)||void 0===t?void 0:t.nav_logo_url):"".concat(I.a.IMG_SERVER,"/images/avatars/LaboratorySetting/1nav?t=").concat((new Date).getTime())}),[null==n||null===(t=n.setting)||void 0===t?void 0:t.nav_logo_url]);var L;return n.showHeader&&n.showHeaderFooter?f.a.createElement(u.a,{className:"".concat(n.isIlearning?E.a["header-iearning"]:E.a.header," ").concat(n.showHeaderFixed?E.a.headerFixed:"")},f.a.createElement(R,{className:"header"},f.a.createElement("section",{className:E.a["edu-menu"]},(!!n.isIlearning||!!n.isPaZhou)&&f.a.createElement(v.a,{style:{display:"flex",alignItems:"center"},onClick:function(){a({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},to:"/"},f.a.createElement("img",{className:E.a.logo,title:null===(L=n.setting)||void 0===L?void 0:L.name,src:n.isPaZhou?z:B.a||z}),!n.isPaZhou&&f.a.createElement("span",{className:E.a.title},"混合增强智慧教育i-Learning平台")),f.a.createElement("ul",{className:"".concat(E.a.menu," ").concat(Object(C.p)()&&"ml0")},Object(C.p)()&&f.a.createElement("li",null,f.a.createElement("a",{href:"/"},"考试系统")),!Object(C.p)()&&n.setting&&n.setting.navbar.map((function(e,t){if(!e.hidden)return f.a.createElement("li",{key:t,className:y===t?E.a.actived:""},"教学课堂"===(null==e?void 0:e.name)&&f.a.createElement(v.a,{onClick:function(){"0"===localStorage.getItem("Noviceguide")||a({type:"shixunHomeworks/setActionTabs",payload:{key:"底部弹窗",type:5,text:f.a.createElement("div",null,"非常棒,咱们已经到达【教学课堂】,平台上已经有几千位老师创建了自己的教学课堂,你也可以轻松完成哟!现在请您点击页面上 “新建课堂”按钮开始新建自己的课堂~")}})},className:4===m.actionTabs.type?E.a.classromediv:"",dangerouslySetInnerHTML:{__html:e.name},to:e.link}),"教学课堂"!=(null==e?void 0:e.name)&&e.link.indexOf("http")<0&&f.a.createElement(v.a,{onClick:function(){a({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},dangerouslySetInnerHTML:{__html:e.name},to:e.link,target:e.link.indexOf("http")>-1?"_blank":"_self"}),"教学课堂"!=(null==e?void 0:e.name)&&e.link.indexOf("http")>-1&&f.a.createElement("a",{target:e.link.indexOf("http")>-1?"_blank":"_self",dangerouslySetInnerHTML:{__html:e.name},href:e.link}))}))),f.a.createElement("div",{className:"search-bar",style:{flex:n.isIlearning?"initial":"1 0 auto"}},!d&&f.a.createElement(_,{payload:T}))),f.a.createElement(i.a,{centered:!0,destroyOnClose:!0,visible:O,title:"提示",width:"500px",okText:"立即联系",cancelText:"取消",onOk:function(){Object(C.Q)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:function(){return N(!1)}},f.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},f.a.createElement("p",null,"您可以在QQ服务群向管理员申请,获得继续操作的权限"),f.a.createElement("img",{src:b.D,width:200,height:200}),f.a.createElement("p",null,"群号:693542422 ")))),f.a.createElement(Y,null)):f.a.createElement(f.a.Fragment,null)}))},vToQ:
|
|
|
/*!******************************************************************!*\
|
|
|
!*** ./src/components/Header/components/User/index.less?modules ***!
|
|
|
\******************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___3UWMh",flex_space_between:"flex_space_between___2nh9S",flex_box_vertical_center:"flex_box_vertical_center___2Neiq",flex_box_center_end:"flex_box_center_end___2_1FS",flex_box_column:"flex_box_column___2E-v7",userPic:"userPic___3Pu9t",rightMenu:"rightMenu___1qaVl",menuWrap:"menuWrap___3r9jm",exit:"exit___38Urs",classromediv:"classromediv___2R8_g",glow:"glow___323IR",height67:"height67___1DFRI",login:"login___20J7t"}},xrsn:
|
|
|
/*!**************************************************!*\
|
|
|
!*** ./src/components/Header/index.less?modules ***!
|
|
|
\**************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___2cC1r",flex_space_between:"flex_space_between___9TeDx",flex_box_vertical_center:"flex_box_vertical_center___3EIYv",flex_box_center_end:"flex_box_center_end___1Uph0",flex_box_column:"flex_box_column___17_5w",header:"header___1E4MV",logo:"logo___R8PNJ",menu:"menu___Km2Uo",actived:"actived___12Ff0","edu-menu":"edu-menu___2hxbr",newslight:"newslight___jwZR3",classromediv:"classromediv___Cjpgf",glow:"glow___3Nuu5",spandiv:"spandiv___3YPu8","header-iearning":"header-iearning___2Us_L",title:"title___3TtoH",headerFixed:"headerFixed___1V7d4"}},zCei:
|
|
|
/*!************************************************!*\
|
|
|
!*** ./src/layouts/user/index.tsx + 1 modules ***!
|
|
|
\************************************************/
|
|
|
/*! exports provided: default */
|
|
|
/*! all exports used */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/umiExports.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/index.tsx */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/util.tsx */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/User/OauthPanel/qq.svg (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/User/OauthPanel/wechat.svg (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/layouts/user/logo.png (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router/esm/react-router.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t);var a=n("0Owb"),i=n("tJVT"),r=n("PpiC"),o=n("q1tI"),l=n.n(o),c=n("XmPC"),s=n.n(c),u=n("p3IR"),d=n.n(u),m=n("1vsH"),g=(n("RhLm"),n("m3rI")),f=window.location.host,p=g.a.QQLoginCB,v=function(e){var t=e.onWechatLogin;return l.a.createElement(l.a.Fragment,null,l.a.createElement("p",{className:"driver"}," ———————— ",l.a.createElement("span",{style:{color:"#444444"}},"快速登录")," ———————— "),l.a.createElement("div",{className:"other-login"},l.a.createElement("a",{title:"微信登录",onClick:t},l.a.createElement("img",{src:s.a,alt:"微信",width:46})),l.a.createElement("a",{title:"qq登录",onClick:function(){Object(m.M)()?window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=".concat(p,"%2fotherloginqq&state=null,").concat(f,"&response_type=code"):Object(m.Q)("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=".concat(p,"%2fotherloginqq&state=null,").concat(f,"&response_type=code"))}},l.a.createElement("img",{src:d.a,alt:"QQ",width:46}))))};function h(e){var t=e.onBack;return l.a.createElement(l.a.Fragment,null,l.a.createElement("iframe",{className:"wechat-qrcode",frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:"https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=".concat(p,"%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(f,"#wechat_redirect")}),l.a.createElement("a",{className:"btn-link",onClick:t},"返回账号登录"))}var b=n("ruvs"),x=(n("7A1C"),n("aZj7")),E=n.n(x),A=n("9kvl"),w=n("Ty5D");t.default=Object(A.a)((function(e){var t=e.loading;return{globalSetting:e.globalSetting,loading:t.models.index}}))((function(e){var t,n,c,s=e.dispatch,u=e.globalSetting,d=e.children,f=Object(r.a)(e,["dispatch","globalSetting","children"]),p=Object(o.useState)(!1),x=Object(i.a)(p,2),y=x[0],S=x[1];Object(o.useEffect)((function(){u.setting||s({type:"globalSetting/query"})}),[]);var j,k=null===(t=u.setting)||void 0===t?void 0:t.main_site,O=null===(n=u.setting)||void 0===n?void 0:n.login_logo_url,I=null===(c=u.setting)||void 0===c?void 0:c.is_local;return l.a.createElement("div",{className:"register-container"},!Object(m.p)()&&l.a.createElement(b.a,Object(a.a)({isLogin:!0},f)),l.a.createElement("div",{className:"register-bg"},l.a.createElement("div",{className:"register-introduce"},l.a.createElement("img",{alt:"logo",src:O?"".concat(g.a.IMG_SERVER,"/").concat(O):E.a}),l.a.createElement("h4",null,"让实践教学更简单"),l.a.createElement("p",null," (educoder.net) 是一个在线实践教学和创新服务平台,支持实验实训、课堂教学、远程考试、一流课程、工程认证、能力竞赛等各类在线科教活动,致力于让高校教学和科研更有创造力。")),l.a.createElement("div",{className:"register-panel"},y?null:"/user/reset-password"===(j=Object(w.h)().pathname)?l.a.createElement("div",{className:"register-nav"},l.a.createElement("div",{style:{color:"#333"}},"找回密码")):l.a.createElement("div",{className:"register-nav"},l.a.createElement("div",{onClick:function(){return A.d.push("/user/login")},className:"/user/login"===j||"/login"===j?"nav-active":""},"登录"),l.a.createElement("div",{onClick:function(){return A.d.push("/user/register")},className:"/user/register"===j||"/register"===j?"nav-active":""},"注册")),y?null:d,y?l.a.createElement(h,{onBack:function(){S(!1),A.d.push("/user/login")}}):l.a.createElement(l.a.Fragment,null,k&&!I&&l.a.createElement(v,{onWechatLogin:function(){S(!0)}})))),!I&&l.a.createElement("div",{className:"register-footer"},l.a.createElement("span",null,"©")," 2021 EduCoder 湘ICP备17009477号 ",l.a.createElement("a",{href:"https://team.trustie.net/",target:"_blank"},"Trustie")," & IntelliDE inside"))}))}}]); |