mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
470f77e42c
commit
59259d04c3
1
public/p__admin__commission.async.js
vendored
Normal file
1
public/p__admin__commission.async.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
public/p__admin__config__payment.async.js
vendored
2
public/p__admin__config__payment.async.js
vendored
File diff suppressed because one or more lines are too long
1
public/p__admin__config__system.async.js
vendored
Normal file
1
public/p__admin__config__system.async.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
public/p__admin__dashboard.async.js
vendored
2
public/p__admin__dashboard.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__admin__order.async.js
vendored
2
public/p__admin__order.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__admin__plan.async.js
vendored
2
public/p__admin__plan.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__admin__server.async.js
vendored
2
public/p__admin__server.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__admin__server__group.async.js
vendored
2
public/p__admin__server__group.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__admin__user.async.js
vendored
2
public/p__admin__user.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__dashboard.async.js
vendored
2
public/p__dashboard.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__forgetpassword.async.js
vendored
2
public/p__forgetpassword.async.js
vendored
@ -1 +1 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[10],{"2v4S":function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return m});a("/xke");var r=a("TeRw"),s=a("q1tI"),l=a.n(s),o=a("t3Un"),n=a("3a4m"),i=a.n(n);class m 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/register",{email:this.refs.email.value,password:this.refs.password.value,invite_code:this.refs.invite.value,email_code:this.refs.email_code.value}).then(e=>{200===e.code&&e.data&&i.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:()=>i.a.push("/login")},"\u8fd4\u56de\u767b\u9646"))))))))))}}}}]);
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[11],{"2v4S":function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return m});a("/xke");var r=a("TeRw"),s=a("q1tI"),l=a.n(s),o=a("t3Un"),n=a("3a4m"),i=a.n(n);class m 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/register",{email:this.refs.email.value,password:this.refs.password.value,invite_code:this.refs.invite.value,email_code:this.refs.email_code.value}).then(e=>{200===e.code&&e.data&&i.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:()=>i.a.push("/login")},"\u8fd4\u56de\u767b\u9646"))))))))))}}}}]);
|
2
public/p__index.async.js
vendored
2
public/p__index.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__invite.async.js
vendored
2
public/p__invite.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__login.async.js
vendored
2
public/p__login.async.js
vendored
@ -1 +1 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[13],{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([[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)}}]);
|
2
public/p__order.async.js
vendored
2
public/p__order.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__order__$trade_no.async.js
vendored
2
public/p__order__$trade_no.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__plan.async.js
vendored
2
public/p__plan.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__plan__$plan_id.async.js
vendored
2
public/p__plan__$plan_id.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__profile.async.js
vendored
2
public/p__profile.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__register.async.js
vendored
2
public/p__register.async.js
vendored
@ -1 +1 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[19],{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([[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"))))))))))}}}}]);
|
2
public/p__subscribe.async.js
vendored
2
public/p__subscribe.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/p__tutorial.async.js
vendored
2
public/p__tutorial.async.js
vendored
File diff suppressed because one or more lines are too long
2
public/umi.js
vendored
2
public/umi.js
vendored
File diff suppressed because one or more lines are too long
4
public/vendors.chunk.css
vendored
4
public/vendors.chunk.css
vendored
File diff suppressed because one or more lines are too long
@ -12,7 +12,8 @@
|
|||||||
<script>
|
<script>
|
||||||
window.v2board = {
|
window.v2board = {
|
||||||
title: '{{$title}}',
|
title: '{{$title}}',
|
||||||
theme: '{{$theme}}'
|
theme: '{{$theme}}',
|
||||||
|
version: '{{$version}}'
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -15,6 +15,6 @@ Route::get('/', function () {
|
|||||||
return view('app', [
|
return view('app', [
|
||||||
'title' => config('v2board.app_name', 'V2Board'),
|
'title' => config('v2board.app_name', 'V2Board'),
|
||||||
'theme' => config('v2board.app_theme', 1),
|
'theme' => config('v2board.app_theme', 1),
|
||||||
'verison' => '0.1.9'
|
'verison' => '0.1.91'
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user