dev_local_v6 v1.1.4

dev_local_v6
linlu 4 years ago
parent 44c194301b
commit 54836a3c73

@ -93,6 +93,6 @@
gtag('config', 'UA-198293321-1');
</script> -->
<script src="/react/build/umi.1ed9c9e6.js"></script>
<script src="/react/build/umi.472512ab.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[224,15],{"8orJ":function($,h,e){"use strict";e.r(h);var C=e("WmNS"),c=e.n(C),O=e("9og8"),E=e("q1tI"),t=e.n(E),J=e("sRBo"),_=e("kaz8"),V=e("+L6B"),M=e("2/Rp"),G=e("5NDa"),v=e("5rEg"),k=e("y8nQ"),a=e("Vl3Y"),P=e("tJVT"),T=e("55Ip"),A=e("Ty5D"),p=e("9kvl"),y=e("m3rI"),g={height:40},x=function(s){var o=s.onLogin,u=s.dispatch,R=s.user,d=a.a.useForm(),L=Object(P.a)(d,1),r=L[0],j=Object(A.l)(),n=Object(E.useState)(0),N=Object(P.a)(n,2),D=N[0],I=N[1];Object(E.useEffect)(function(){r.resetFields()},[R.showPopLogin]);var B=Object(E.useMemo)(function(){return"/rucaptcha?t="+new Date().getTime()},[D]);function S(i){return U.apply(this,arguments)}function U(){return U=Object(O.a)(c.a.mark(function i(z){var f;return c.a.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,o(z);case 2:f=m.sent,(f==null?void 0:f.status)===-2&&r.resetFields();case 4:case"end":return m.stop()}},i)})),U.apply(this,arguments)}var b=function(){u({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.a.createElement(a.a,{layout:"vertical",form:r,initialValues:{autologin:!0},onFinish:S},t.a.createElement(a.a.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7 "}]},t.a.createElement(v.a,{style:g,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),t.a.createElement(a.a.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BC6\u7801"}]},t.a.createElement(v.a.Password,{style:g,visibilityToggle:!1,size:"large",placeholder:"\u5BC6\u7801"})),t.a.createElement(a.a.Item,{name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},t.a.createElement("div",{style:{display:"flex"}},t.a.createElement(v.a,{style:g,size:"large",placeholder:"\u9A8C\u8BC1\u7801"}),t.a.createElement("img",{src:(y.a===null||y.a===void 0?void 0:y.a.API_SERVER)+B,style:{height:"32px",marginLeft:"10px"},onClick:function(){I(D+1)}}))),t.a.createElement(a.a.Item,null,t.a.createElement(M.a,{size:"large",type:"primary",htmlType:"submit",block:!0,style:g},"\u767B\u5F55")),t.a.createElement(a.a.Item,null,t.a.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},t.a.createElement(a.a.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},t.a.createElement(_.a,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")),t.a.createElement("div",null,t.a.createElement(T.Link,{className:"c-grey-c",onClick:function(){return b()},to:"/user/reset-password?from=".concat(j.pathname)},"\u627E\u56DE\u5BC6\u7801")," |",t.a.createElement(T.Link,{onClick:function(){return b()},className:"c-grey-c",to:"/user/register"},"\u6CE8\u518C")))))},F=Object(p.a)(function(l){var s=l.user,o=l.loading,u=l.globalSetting;return{user:s,globalSetting:u,loading:o.models.index}})(x),X=e("jb+D"),w=h.default=function(){var l=Object(A.l)();function s(u){return o.apply(this,arguments)}function o(){return o=Object(O.a)(c.a.mark(function u(R){var d,L,r;return c.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(X.b)(R);case 2:return L=n.sent,r=(d=l.query)===null||d===void 0?void 0:d.from,r?p.c.replace(r):p.c.replace("/"),n.abrupt("return",L);case 6:case"end":return n.stop()}},u)})),o.apply(this,arguments)}return t.a.createElement(F,{onLogin:s})}}}]);

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[224,15],{"1bfj":function(N,u,e){},"8orJ":function(N,u,e){"use strict";e.r(u);var y=e("q1tI"),t=e.n(y),z=e("sRBo"),j=e("kaz8"),J=e("+L6B"),x=e("2/Rp"),G=e("5NDa"),U=e("5rEg"),D=e("WmNS"),R=e.n(D),b=e("9og8"),Q=e("y8nQ"),n=e("Vl3Y"),p=e("tJVT"),M=e("55Ip"),C=e("jb+D"),F=e("4i/N"),X=e("Ty5D"),i=e("9kvl"),W=e("1bfj"),d={height:48,borderRadius:4},_=function(m){var E=m.dispatch,c=n.a.useForm(),B=Object(p.a)(c,1),h=B[0],s=Object(X.l)(),I=Object(y.useState)(""),O=Object(p.a)(I,2),P=O[0],f=O[1],V=function(){var l=Object(b.a)(R.a.mark(function T(A){var o,L,v,g;return R.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(C.b)(A);case 2:if(o=a.sent,!o.status){a.next=6;break}return f(o==null?void 0:o.message),a.abrupt("return");case 6:(o==null?void 0:o.show)?(localStorage.setItem("extension-modal","exist"),localStorage.setItem("extension-date",o==null?void 0:o.start_date)):localStorage.removeItem("extension-modal"),console.log(i.c,"history"),s.pathname==="/user/login"||s.pathname==="/login"?(g=((L=s.query)===null||L===void 0?void 0:L.from)||((v=s.query)===null||v===void 0?void 0:v.back_url),g?window.location.href=decodeURIComponent(g):i.c.replace("/")):window.location.reload(),h.resetFields();case 10:case"end":return a.stop()}},T)}));return function(A){return l.apply(this,arguments)}}(),$=function(){E({type:"user/showPopLogin",payload:{showPopLogin:!1}})};return t.a.createElement(n.a,{layout:"vertical",form:h,initialValues:{autologin:!0},onFinish:V,onValuesChange:function(){return f("")}},!!P&&t.a.createElement("div",{className:"res-error-values"},t.a.createElement("span",null,P),t.a.createElement(F.a,{onClick:function(){return f("")}})),t.a.createElement(n.a.Item,{name:"login",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\u3001\u624B\u673A\u53F7\u6216\u90AE\u7BB1"}]},t.a.createElement(U.a,{style:d,size:"large",placeholder:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u624B\u673A\u53F7/\u90AE\u7BB1\u53F7/\u8D26\u53F7"})),t.a.createElement(n.a.Item,{name:"password",rules:[{required:!0,message:"\u8BF7\u8F93\u51658-16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199\u3001\u4E0D\u80FD\u4F7F\u7528\u7A7A\u683C"}]},t.a.createElement(U.a.Password,{style:d,size:"large",placeholder:"\u5BC6\u7801"})),t.a.createElement(n.a.Item,null,t.a.createElement(x.a,{size:"large",type:"primary",htmlType:"submit",block:!0,className:"font16",style:d},"\u767B\u5F55")),t.a.createElement(n.a.Item,null,t.a.createElement("div",{className:"flex-container",style:{justifyContent:"space-between"}},t.a.createElement(n.a.Item,{name:"autologin",noStyle:!0,valuePropName:"checked"},t.a.createElement(j.a,null,"\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55")),t.a.createElement("div",null,t.a.createElement(M.Link,{className:"c-grey-333 font14",onClick:function(){return $()},to:"/user/reset-password?from=".concat(s.pathname)},"\u627E\u56DE\u5BC6\u7801")))))},S=Object(i.a)(function(r){var m=r.user,E=r.loading,c=r.globalSetting;return{user:m,globalSetting:c,loading:E.models.index}})(_),Y=u.default=function(){return t.a.createElement(S,null)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
.other-login-panel{width:1200px;margin:0 auto;padding:40px 0}.other-login-panel h1{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;font-size:16px}.other-login-body{background:#fff}.other-login-body .desc{margin:30px 0 80px;color:#999;text-align:center;font-size:16px}.other-login-body .login-container{width:320px;margin:0 auto;padding-bottom:100px}.other-login-body .mt100{margin-top:100px;padding-bottom:30px}.other-login-body .navs{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-align:center;align-items:center;font-size:20px;text-align:center;border-bottom:1px solid #eee;padding:0;margin:0;list-style:none}.other-login-body .navs li{-ms-flex:1 0;flex:1 0}.other-login-body .navs li a{height:86px;display:block;line-height:86px;color:#999}.other-login-body .navs li a.active{color:#459be5;background:#ecf5fc}.unlock-wrapper{position:relative;width:100%;background-color:#ddd;border-radius:4px;overflow:hidden}.unlock-bg{background-color:#7ac23c;height:48px}.unlock-error-bg{background-color:#ff4d4f;height:48px}.error{color:#ff4d4f}.unlock-handler{position:absolute;width:48px;height:48px;left:0;z-index:10;top:0;cursor:move;background:#fff;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-pack:center;justify-content:center;border:1px solid #ddd;border-radius:4px}.unlock-text{position:absolute;top:0;bottom:0;left:0;right:0;font-size:14px;width:100%;color:#fff;line-height:48px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.other-login-panel{width:1200px;margin:0 auto;padding:40px 0}.other-login-panel h1{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;font-size:16px}.other-login-body{background:#fff}.other-login-body .desc{margin:30px 0 80px;color:#999;text-align:center;font-size:16px}.other-login-body .login-container{width:320px;margin:0 auto;padding-bottom:100px}.other-login-body .mt100{margin-top:100px;padding-bottom:30px}.other-login-body .navs{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-align:center;align-items:center;font-size:20px;text-align:center;border-bottom:1px solid #eee;padding:0;margin:0;list-style:none}.other-login-body .navs li{-ms-flex:1 0;flex:1 0}.other-login-body .navs li a{height:86px;display:block;line-height:86px;color:#999}.other-login-body .navs li a.active{color:#459be5;background:#ecf5fc}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
.unlock-wrapper{position:relative;width:100%;background-color:#ddd;border-radius:4px;overflow:hidden}.unlock-bg{background-color:#7ac23c;height:48px}.unlock-error-bg{background-color:#ff4d4f;height:48px}.error{color:#ff4d4f}.unlock-handler{position:absolute;width:48px;height:48px;left:0;z-index:10;top:0;cursor:move;background:#fff;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-pack:center;justify-content:center;border:1px solid #ddd;border-radius:4px}.unlock-text{position:absolute;top:0;bottom:0;left:0;right:0;font-size:14px;width:100%;color:#fff;line-height:48px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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