This commit is contained in:
root 2019-12-12 16:36:38 +08:00
parent 21050afa60
commit 1b92b6374c
27 changed files with 28 additions and 27 deletions

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

1
public/p__admin__notice.async.js vendored Normal file

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

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

View File

@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[11],{"2v4S":function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return i});a("/xke");var r=a("TeRw"),s=a("q1tI"),l=a.n(s),o=a("t3Un"),n=a("3a4m"),m=a.n(n);class i extends l.a.Component{constructor(){super(...arguments),this.state={sendEmailVerifyTimeout:60}}componentDidMount(){}sendEmailVerify(){var e=this;function t(){setTimeout(()=>{0!==e.state.sendEmailVerifyTimeout?(e.setState({sendEmailVerifyTimeout:e.state.sendEmailVerifyTimeout-1}),t()):e.setState({sendEmailVerifyTimeout:60})},1e3)}Object(o["b"])("/passport/sendEmailVerify",{email:this.refs.email.value}).then(e=>{200===e.code&&t()})}submit(){if(this.refs.password.value!==this.refs.repassword.value)return r["a"]["error"]({message:"\u8bf7\u6c42\u9519\u8bef",description:"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u540c",duration:1.5});Object(o["b"])("/passport/forget",{email:this.refs.email.value,password:this.refs.password.value,email_code:this.refs.email_code.value}).then(e=>{200===e.code&&e.data&&m.a.push("/login")})}render(){return l.a.createElement("div",{id:"page-container"},l.a.createElement("main",{id:"main-container"},l.a.createElement("div",{className:"row no-gutters justify-content-center bg-body-dark"},l.a.createElement("div",{className:"hero-static col-sm-10 col-md-6 col-xl-4 d-flex align-items-center p-2"},l.a.createElement("div",{className:"block block-rounded block-transparent block-fx-pop w-100 mb-0 overflow-hidden bg-image"},l.a.createElement("div",{className:"row no-gutters"},l.a.createElement("div",{className:"col-md-12 order-md-1 bg-white"},l.a.createElement("div",{className:"block-content block-content-full px-lg-4 py-md-4 py-lg-4"},l.a.createElement("div",{className:"mb-2 text-center"},l.a.createElement("a",{className:"link-fx font-w700 font-size-h1",href:"index.html"},l.a.createElement("span",{className:"text-dark"},window.v2board.title?window.v2board.title:"V2Board")),l.a.createElement("p",{className:"text-uppercase font-w700 font-size-sm text-muted"},"\u8be5\u9875\u9762\u662f\u88ab\u52a0\u5bc6\u7684")),l.a.createElement("div",{className:"form-group"},l.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1",ref:"email"})),l.a.createElement("div",{className:"form-group form-row"},l.a.createElement("div",{className:"col-9"},l.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1\u9a8c\u8bc1\u7801",ref:"email_code"})),l.a.createElement("div",{className:"col-3"},l.a.createElement("button",{type:"submit",disabled:60!==this.state.sendEmailVerifyTimeout,className:"btn btn-block btn-primary",onClick:()=>this.sendEmailVerify()},60===this.state.sendEmailVerifyTimeout?"\u53d1\u9001":this.state.sendEmailVerifyTimeout))),l.a.createElement("div",{className:"form-group"},l.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"password"})),l.a.createElement("div",{className:"form-group"},l.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"repassword"})),l.a.createElement("div",{className:"form-group"},l.a.createElement("button",{type:"submit",className:"btn btn-block btn-hero-primary",onClick:()=>this.submit()},l.a.createElement("i",{className:"fa fa-fw fa-life-ring mr-1"}),"\u91cd\u7f6e\u5bc6\u7801")),l.a.createElement("div",{className:"text-center mt-3"},l.a.createElement("a",{className:"font-w700 font-size-sm text-muted",href:"javascript:;",onClick:()=>m.a.push("/login")},"\u8fd4\u56de\u767b\u9646"))))))))))}}}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[12],{"2v4S":function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return i});a("/xke");var r=a("TeRw"),s=a("q1tI"),l=a.n(s),o=a("t3Un"),n=a("3a4m"),m=a.n(n);class i extends l.a.Component{constructor(){super(...arguments),this.state={sendEmailVerifyTimeout:60}}componentDidMount(){}sendEmailVerify(){var e=this;function t(){setTimeout(()=>{0!==e.state.sendEmailVerifyTimeout?(e.setState({sendEmailVerifyTimeout:e.state.sendEmailVerifyTimeout-1}),t()):e.setState({sendEmailVerifyTimeout:60})},1e3)}Object(o["b"])("/passport/sendEmailVerify",{email:this.refs.email.value}).then(e=>{200===e.code&&t()})}submit(){if(this.refs.password.value!==this.refs.repassword.value)return r["a"]["error"]({message:"\u8bf7\u6c42\u9519\u8bef",description:"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u540c",duration:1.5});Object(o["b"])("/passport/forget",{email:this.refs.email.value,password:this.refs.password.value,email_code:this.refs.email_code.value}).then(e=>{200===e.code&&e.data&&m.a.push("/login")})}render(){return l.a.createElement("div",{id:"page-container"},l.a.createElement("main",{id:"main-container"},l.a.createElement("div",{className:"row no-gutters justify-content-center bg-body-dark"},l.a.createElement("div",{className:"hero-static col-sm-10 col-md-6 col-xl-4 d-flex align-items-center p-2"},l.a.createElement("div",{className:"block block-rounded block-transparent block-fx-pop w-100 mb-0 overflow-hidden bg-image"},l.a.createElement("div",{className:"row no-gutters"},l.a.createElement("div",{className:"col-md-12 order-md-1 bg-white"},l.a.createElement("div",{className:"block-content block-content-full px-lg-4 py-md-4 py-lg-4"},l.a.createElement("div",{className:"mb-2 text-center"},l.a.createElement("a",{className:"link-fx font-w700 font-size-h1",href:"index.html"},l.a.createElement("span",{className:"text-dark"},window.v2board.title?window.v2board.title:"V2Board")),l.a.createElement("p",{className:"text-uppercase font-w700 font-size-sm text-muted"},"\u8be5\u9875\u9762\u662f\u88ab\u52a0\u5bc6\u7684")),l.a.createElement("div",{className:"form-group"},l.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1",ref:"email"})),l.a.createElement("div",{className:"form-group form-row"},l.a.createElement("div",{className:"col-9"},l.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1\u9a8c\u8bc1\u7801",ref:"email_code"})),l.a.createElement("div",{className:"col-3"},l.a.createElement("button",{type:"submit",disabled:60!==this.state.sendEmailVerifyTimeout,className:"btn btn-block btn-primary",onClick:()=>this.sendEmailVerify()},60===this.state.sendEmailVerifyTimeout?"\u53d1\u9001":this.state.sendEmailVerifyTimeout))),l.a.createElement("div",{className:"form-group"},l.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"password"})),l.a.createElement("div",{className:"form-group"},l.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"repassword"})),l.a.createElement("div",{className:"form-group"},l.a.createElement("button",{type:"submit",className:"btn btn-block btn-hero-primary",onClick:()=>this.submit()},l.a.createElement("i",{className:"fa fa-fw fa-life-ring mr-1"}),"\u91cd\u7f6e\u5bc6\u7801")),l.a.createElement("div",{className:"text-center mt-3"},l.a.createElement("a",{className:"font-w700 font-size-sm text-muted",href:"javascript:;",onClick:()=>m.a.push("/login")},"\u8fd4\u56de\u767b\u9646"))))))))))}}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[14],{SGa5:function(e,t,a){"use strict";a.r(t);a("/zsF");var n=a("PArb"),o=(a("Pwec"),a("CtXQ")),s=a("q1tI"),r=a.n(s),l=a("/MKj"),c=a("3a4m"),i=a.n(c);a("t3Un");class m extends r.a.Component{constructor(){super(...arguments),this.state={loading:!1}}keyDown(e){13===e.keyCode&&this.onLogin()}componentDidMount(){window.addEventListener("keydown",this.keyDown.bind(this))}componentWillMount(){window.removeEventListener("keydown",this.keyDown.bind(this))}onLogin(){this.setState({loading:!0}),this.props.dispatch({type:"auth/login",action:{email:this.refs.email.value,password:this.refs.password.value},complete:e=>{if(console.log(e.code),200!==e.code)return this.setState({loading:!1});e.data&&(this.setState({loading:!1}),i.a.push("/dashboard"),this.props.dispatch({type:"header/getUserInfo"}))}})}render(){return r.a.createElement("div",{id:"page-container"},r.a.createElement("main",{id:"main-container"},r.a.createElement("div",{className:"row no-gutters justify-content-center bg-body-dark"},r.a.createElement("div",{className:"hero-static col-sm-10 col-md-6 col-xl-4 d-flex align-items-center p-2"},r.a.createElement("div",{className:"block block-rounded block-transparent block-fx-pop w-100 mb-0 overflow-hidden bg-image"},r.a.createElement("div",{className:"row no-gutters"},r.a.createElement("div",{className:"col-md-12 order-md-1 bg-white"},r.a.createElement("div",{className:"block-content block-content-full px-lg-4 py-md-4 py-lg-4"},r.a.createElement("div",{className:"mb-2 text-center"},r.a.createElement("a",{className:"link-fx font-w700 font-size-h1",href:"index.html"},r.a.createElement("span",{className:"text-dark"},window.v2board.title?window.v2board.title:"V2Board")),r.a.createElement("p",{className:"text-uppercase font-w700 font-size-sm text-muted"},"\u8be5\u9875\u9762\u662f\u88ab\u52a0\u5bc6\u7684")),r.a.createElement("div",{className:"form-group"},r.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1",ref:"email"})),r.a.createElement("div",{className:"form-group"},r.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"password"})),r.a.createElement("div",{className:"form-group"},r.a.createElement("button",{disabled:this.state.loading,type:"submit",className:"btn btn-block btn-hero-primary",onClick:()=>this.onLogin()},this.state.loading?r.a.createElement(o["a"],{type:"loading"}):r.a.createElement("span",null,r.a.createElement("i",{className:"fa fa-fw fa-sign-in-alt mr-1"}),"\u767b\u9646")),r.a.createElement("div",{className:"text-center mt-3"},r.a.createElement("a",{className:"font-w700 font-size-sm text-muted",href:"javascript:;",onClick:()=>i.a.push("/register")},"\u6ce8\u518c"),r.a.createElement(n["a"],{type:"vertical"}),r.a.createElement("a",{className:"font-w700 font-size-sm text-muted",href:"javascript:;",onClick:()=>i.a.push("/forgetpassword")},"\u5fd8\u8bb0\u5bc6\u7801")))))))))))}}t["default"]=Object(l["c"])()(m)}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[15],{SGa5:function(e,t,a){"use strict";a.r(t);a("/zsF");var n=a("PArb"),o=(a("Pwec"),a("CtXQ")),s=a("q1tI"),r=a.n(s),l=a("/MKj"),c=a("3a4m"),i=a.n(c);a("t3Un");class m extends r.a.Component{constructor(){super(...arguments),this.state={loading:!1}}keyDown(e){13===e.keyCode&&this.onLogin()}componentDidMount(){window.addEventListener("keydown",this.keyDown.bind(this))}componentWillMount(){window.removeEventListener("keydown",this.keyDown.bind(this))}onLogin(){this.setState({loading:!0}),this.props.dispatch({type:"auth/login",action:{email:this.refs.email.value,password:this.refs.password.value},complete:e=>{if(console.log(e.code),200!==e.code)return this.setState({loading:!1});e.data&&(this.setState({loading:!1}),i.a.push("/dashboard"),this.props.dispatch({type:"header/getUserInfo"}))}})}render(){return r.a.createElement("div",{id:"page-container"},r.a.createElement("main",{id:"main-container"},r.a.createElement("div",{className:"row no-gutters justify-content-center bg-body-dark"},r.a.createElement("div",{className:"hero-static col-sm-10 col-md-6 col-xl-4 d-flex align-items-center p-2"},r.a.createElement("div",{className:"block block-rounded block-transparent block-fx-pop w-100 mb-0 overflow-hidden bg-image"},r.a.createElement("div",{className:"row no-gutters"},r.a.createElement("div",{className:"col-md-12 order-md-1 bg-white"},r.a.createElement("div",{className:"block-content block-content-full px-lg-4 py-md-4 py-lg-4"},r.a.createElement("div",{className:"mb-2 text-center"},r.a.createElement("a",{className:"link-fx font-w700 font-size-h1",href:"index.html"},r.a.createElement("span",{className:"text-dark"},window.v2board.title?window.v2board.title:"V2Board")),r.a.createElement("p",{className:"text-uppercase font-w700 font-size-sm text-muted"},"\u8be5\u9875\u9762\u662f\u88ab\u52a0\u5bc6\u7684")),r.a.createElement("div",{className:"form-group"},r.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1",ref:"email"})),r.a.createElement("div",{className:"form-group"},r.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"password"})),r.a.createElement("div",{className:"form-group"},r.a.createElement("button",{disabled:this.state.loading,type:"submit",className:"btn btn-block btn-hero-primary",onClick:()=>this.onLogin()},this.state.loading?r.a.createElement(o["a"],{type:"loading"}):r.a.createElement("span",null,r.a.createElement("i",{className:"fa fa-fw fa-sign-in-alt mr-1"}),"\u767b\u9646")),r.a.createElement("div",{className:"text-center mt-3"},r.a.createElement("a",{className:"font-w700 font-size-sm text-muted",href:"javascript:;",onClick:()=>i.a.push("/register")},"\u6ce8\u518c"),r.a.createElement(n["a"],{type:"vertical"}),r.a.createElement("a",{className:"font-w700 font-size-sm text-muted",href:"javascript:;",onClick:()=>i.a.push("/forgetpassword")},"\u5fd8\u8bb0\u5bc6\u7801")))))))))))}}t["default"]=Object(l["c"])()(m)}}]);

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

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[20],{aSaP:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return d});a("/xke");var s=a("TeRw"),r=a("p0pE"),l=a.n(r),o=a("q1tI"),i=a.n(o),n=a("t3Un"),m=a("3a4m"),c=a.n(m);class d extends i.a.Component{constructor(){super(...arguments),this.state={isEmailVerify:!1,isInviteForce:!1,sendEmailVerifyTimeout:60,loading:!0}}componentDidMount(){Object(n["a"])("/passport/config").then(e=>{200===e.code&&this.setState(l()({},e.data),()=>{this.setState({loading:!1})})})}sendEmailVerify(){var e=this;function t(){setTimeout(()=>{0!==e.state.sendEmailVerifyTimeout?(e.setState({sendEmailVerifyTimeout:e.state.sendEmailVerifyTimeout-1}),t()):e.setState({sendEmailVerifyTimeout:60})},1e3)}Object(n["b"])("/passport/sendEmailVerify",{email:this.refs.email.value}).then(e=>{200===e.code&&t()})}submit(){if(this.refs.password.value!==this.refs.repassword.value)return s["a"]["error"]({message:"\u8bf7\u6c42\u9519\u8bef",description:"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u540c",duration:1.5});Object(n["b"])("/passport/register",{email:this.refs.email.value,password:this.refs.password.value,invite_code:this.refs.invite.value,email_code:this.refs.email_code?this.refs.email_code.value:""}).then(e=>{200===e.code&&e.data&&c.a.push("/login")})}render(){return i.a.createElement("div",{id:"page-container"},i.a.createElement("main",{id:"main-container"},i.a.createElement("div",{className:"row no-gutters justify-content-center bg-body-dark"},i.a.createElement("div",{className:"hero-static col-sm-10 col-md-6 col-xl-4 d-flex align-items-center p-2"},i.a.createElement("div",{className:"block block-rounded block-transparent block-fx-pop w-100 mb-0 overflow-hidden bg-image"},i.a.createElement("div",{className:"row no-gutters"},i.a.createElement("div",{className:"col-md-12 order-md-1 bg-white"},i.a.createElement("div",{className:"block-content block-content-full px-lg-4 py-md-4 py-lg-4"},i.a.createElement("div",{className:"mb-2 text-center"},i.a.createElement("a",{className:"link-fx font-w700 font-size-h1",href:"index.html"},i.a.createElement("span",{className:"text-dark"},window.v2board.title?window.v2board.title:"V2Board")),i.a.createElement("p",{className:"text-uppercase font-w700 font-size-sm text-muted"},"\u8be5\u9875\u9762\u662f\u88ab\u52a0\u5bc6\u7684")),this.state.loading?i.a.createElement("div",{className:"content content-full text-center"},i.a.createElement("div",{className:"spinner-grow text-primary",role:"status"},i.a.createElement("span",{className:"sr-only"},"Loading..."))):i.a.createElement("div",null,i.a.createElement("div",{className:"form-group"},i.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1",ref:"email"})),this.state.isEmailVerify?i.a.createElement("div",{className:"form-group form-row"},i.a.createElement("div",{className:"col-9"},i.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1\u9a8c\u8bc1\u7801",ref:"email_code"})),i.a.createElement("div",{className:"col-3"},i.a.createElement("button",{type:"submit",disabled:60!==this.state.sendEmailVerifyTimeout,className:"btn btn-block btn-primary",onClick:()=>this.sendEmailVerify()},60===this.state.sendEmailVerifyTimeout?"\u53d1\u9001":this.state.sendEmailVerifyTimeout))):"",i.a.createElement("div",{className:"form-group"},i.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"password"})),i.a.createElement("div",{className:"form-group"},i.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"repassword"})),i.a.createElement("div",{className:"form-group"},i.a.createElement("input",{type:"text",disabled:this.props.location.query.code,defaultValue:this.props.location.query.code,className:"form-control form-control-alt",placeholder:this.state.isInviteForce?"\u9080\u8bf7\u7801":"\u9080\u8bf7\u7801(\u9009\u586b)",ref:"invite"})),i.a.createElement("div",{className:"form-group"},i.a.createElement("button",{type:"submit",className:"btn btn-block btn-hero-primary",onClick:()=>this.submit()},i.a.createElement("i",{className:"fa fa-fw fa-smile mr-1"}),"\u6ce8\u518c"))),i.a.createElement("div",{className:"text-center mt-3"},i.a.createElement("a",{className:"font-w700 font-size-sm text-muted",href:"javascript:;",onClick:()=>c.a.push("/login")},"\u8fd4\u56de\u767b\u9646"))))))))))}}}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[21],{aSaP:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return d});a("/xke");var s=a("TeRw"),r=a("p0pE"),l=a.n(r),o=a("q1tI"),i=a.n(o),n=a("t3Un"),m=a("3a4m"),c=a.n(m);class d extends i.a.Component{constructor(){super(...arguments),this.state={isEmailVerify:!1,isInviteForce:!1,sendEmailVerifyTimeout:60,loading:!0}}componentDidMount(){Object(n["a"])("/passport/config").then(e=>{200===e.code&&this.setState(l()({},e.data),()=>{this.setState({loading:!1})})})}sendEmailVerify(){var e=this;function t(){setTimeout(()=>{0!==e.state.sendEmailVerifyTimeout?(e.setState({sendEmailVerifyTimeout:e.state.sendEmailVerifyTimeout-1}),t()):e.setState({sendEmailVerifyTimeout:60})},1e3)}Object(n["b"])("/passport/sendEmailVerify",{email:this.refs.email.value}).then(e=>{200===e.code&&t()})}submit(){if(this.refs.password.value!==this.refs.repassword.value)return s["a"]["error"]({message:"\u8bf7\u6c42\u9519\u8bef",description:"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u540c",duration:1.5});Object(n["b"])("/passport/register",{email:this.refs.email.value,password:this.refs.password.value,invite_code:this.refs.invite.value,email_code:this.refs.email_code?this.refs.email_code.value:""}).then(e=>{200===e.code&&e.data&&c.a.push("/login")})}render(){return i.a.createElement("div",{id:"page-container"},i.a.createElement("main",{id:"main-container"},i.a.createElement("div",{className:"row no-gutters justify-content-center bg-body-dark"},i.a.createElement("div",{className:"hero-static col-sm-10 col-md-6 col-xl-4 d-flex align-items-center p-2"},i.a.createElement("div",{className:"block block-rounded block-transparent block-fx-pop w-100 mb-0 overflow-hidden bg-image"},i.a.createElement("div",{className:"row no-gutters"},i.a.createElement("div",{className:"col-md-12 order-md-1 bg-white"},i.a.createElement("div",{className:"block-content block-content-full px-lg-4 py-md-4 py-lg-4"},i.a.createElement("div",{className:"mb-2 text-center"},i.a.createElement("a",{className:"link-fx font-w700 font-size-h1",href:"index.html"},i.a.createElement("span",{className:"text-dark"},window.v2board.title?window.v2board.title:"V2Board")),i.a.createElement("p",{className:"text-uppercase font-w700 font-size-sm text-muted"},"\u8be5\u9875\u9762\u662f\u88ab\u52a0\u5bc6\u7684")),this.state.loading?i.a.createElement("div",{className:"content content-full text-center"},i.a.createElement("div",{className:"spinner-grow text-primary",role:"status"},i.a.createElement("span",{className:"sr-only"},"Loading..."))):i.a.createElement("div",null,i.a.createElement("div",{className:"form-group"},i.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1",ref:"email"})),this.state.isEmailVerify?i.a.createElement("div",{className:"form-group form-row"},i.a.createElement("div",{className:"col-9"},i.a.createElement("input",{type:"text",className:"form-control form-control-alt",placeholder:"\u90ae\u7bb1\u9a8c\u8bc1\u7801",ref:"email_code"})),i.a.createElement("div",{className:"col-3"},i.a.createElement("button",{type:"submit",disabled:60!==this.state.sendEmailVerifyTimeout,className:"btn btn-block btn-primary",onClick:()=>this.sendEmailVerify()},60===this.state.sendEmailVerifyTimeout?"\u53d1\u9001":this.state.sendEmailVerifyTimeout))):"",i.a.createElement("div",{className:"form-group"},i.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"password"})),i.a.createElement("div",{className:"form-group"},i.a.createElement("input",{type:"password",className:"form-control form-control-alt",placeholder:"\u5bc6\u7801",ref:"repassword"})),i.a.createElement("div",{className:"form-group"},i.a.createElement("input",{type:"text",disabled:this.props.location.query.code,defaultValue:this.props.location.query.code,className:"form-control form-control-alt",placeholder:this.state.isInviteForce?"\u9080\u8bf7\u7801":"\u9080\u8bf7\u7801(\u9009\u586b)",ref:"invite"})),i.a.createElement("div",{className:"form-group"},i.a.createElement("button",{type:"submit",className:"btn btn-block btn-hero-primary",onClick:()=>this.submit()},i.a.createElement("i",{className:"fa fa-fw fa-smile mr-1"}),"\u6ce8\u518c"))),i.a.createElement("div",{className:"text-center mt-3"},i.a.createElement("a",{className:"font-w700 font-size-sm text-muted",href:"javascript:;",onClick:()=>c.a.push("/login")},"\u8fd4\u56de\u767b\u9646"))))))))))}}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
public/umi.css vendored

File diff suppressed because one or more lines are too long

2
public/umi.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -18,6 +18,6 @@ Route::get('/', function (Request $request) {
return view('app', [
'title' => config('v2board.app_name', 'V2Board'),
'theme' => config('v2board.app_theme', 1),
'verison' => '0.2.1'
'verison' => '0.2.2'
]);
});