You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
4.3 KiB
2 lines
4.3 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{"7A1C":function(s,u,t){},RhLm:function(s,u,t){},XmPC:function(s,u,t){s.exports=t.p+"static/wechat.a53d22ca.svg"},p3IR:function(s,u,t){s.exports=t.p+"static/qq.ee284be0.svg"},zCei:function(s,u,t){"use strict";t.r(u);var C=t("0Owb"),b=t("tJVT"),U=t("PpiC"),c=t("q1tI"),e=t.n(c),P=t("XmPC"),x=t.n(P),R=t("p3IR"),f=t.n(R),d=t("1vsH"),W=t("RhLm"),A=t("m3rI"),m=window.location.host,E=A.a.QQLoginCB,M=function(n){var o=n.onWechatLogin;function a(){Object(d.N)()?window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=".concat(E,"%2fotherloginqq&state=null,").concat(m,"&response_type=code"):Object(d.R)("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(E,"%2fotherloginqq&state=null,").concat(m,"&response_type=code"))}return e.a.createElement(e.a.Fragment,null,e.a.createElement("p",{className:"driver"}," \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 ",e.a.createElement("span",{style:{color:"#444444"}},"\u5FEB\u901F\u767B\u5F55")," \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 "),e.a.createElement("div",{className:"other-login"},e.a.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",onClick:o},e.a.createElement("img",{src:x.a,alt:"\u5FAE\u4FE1",width:46})),e.a.createElement("a",{title:"qq\u767B\u5F55",onClick:a},e.a.createElement("img",{src:f.a,alt:"QQ",width:46}))))};function O(n){var o=n.onBack;return e.a.createElement(e.a.Fragment,null,e.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(E,"%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(m,"#wechat_redirect")}),e.a.createElement("a",{className:"btn-link",onClick:o},"\u8FD4\u56DE\u8D26\u53F7\u767B\u5F55"))}var L=t("ruvs"),Q=t("7A1C"),i=t("9kvl"),F=t("Ty5D");function N(n){var o,a,_,D=n.dispatch,r=n.globalSetting,j=n.children,w=Object(U.a)(n,["dispatch","globalSetting","children"]),y=Object(c.useState)(!1),h=Object(b.a)(y,2),p=h[0],g=h[1];function T(){g(!1),i.d.push("/user/login")}function S(){g(!0)}Object(c.useEffect)(function(){r.setting||D({type:"globalSetting/query"})},[]);var B=function(){var X=Object(F.h)(),l=X.pathname;return l==="/user/reset-password"?e.a.createElement("div",{className:"register-nav"},e.a.createElement("div",{style:{color:"#333"}},"\u627E\u56DE\u5BC6\u7801")):e.a.createElement("div",{className:"register-nav"},e.a.createElement("div",{onClick:function(){return i.d.push("/user/login")},className:l==="/user/login"||l==="/login"?"nav-active":""},"\u767B\u5F55"),e.a.createElement("div",{onClick:function(){return i.d.push("/user/register")},className:l==="/user/register"||l==="/register"?"nav-active":""},"\u6CE8\u518C"))},q=(o=r.setting)===null||o===void 0?void 0:o.main_site,k=(a=r.setting)===null||a===void 0?void 0:a.login_logo_url,v=(_=r.setting)===null||_===void 0?void 0:_.is_local;return e.a.createElement("div",{className:"register-container"},!Object(d.q)()&&e.a.createElement(L.a,Object(C.a)({isLogin:!0},w)),e.a.createElement("div",{className:"register-bg"},e.a.createElement("div",{className:"register-introduce"},e.a.createElement("h4",null,"OpenI AI \u534F\u4F5C\u5E73\u53F0"),e.a.createElement("p",null,"\u9762\u5411AI\u9886\u57DF\u7684\u4E00\u7AD9\u5F0F\u534F\u540C\u5F00\u53D1\u73AF\u5883\uFF0C\u63D0\u4F9B\u96C6\u4EE3\u7801\u5F00\u53D1\u73AF\u5883\uFF0C\u6570\u636E\u7BA1\u7406\u3001\u6A21\u578B\u8C03\u8BD5\u3001\u63A8\u7406\u548C\u8BC4\u6D4B\u4E3A\u4E00\u4F53\u7684AI\u5F00\u53D1\u6D41\u6C34\u7EBF")),e.a.createElement("div",{className:"register-panel"},p?null:B(),p?null:j,p?e.a.createElement(O,{onBack:T}):e.a.createElement(e.a.Fragment,null,q&&!v&&e.a.createElement(M,{onWechatLogin:S})))),!v&&e.a.createElement("div",{className:"register-footer"},e.a.createElement("span",null,"\xA9")," 2021 \u542F\u667A \u6E58ICP\u590717009477\u53F7 ",e.a.createElement("a",{href:"https://team.trustie.net/",target:"_blank"},"Trustie")," & IntelliDE inside"))}var H=u.default=Object(i.a)(function(n){var o=n.loading,a=n.globalSetting;return{globalSetting:a,loading:o.models.index}})(N)}}]);
|