(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["brick-uni-module-member-login"],{"531a":function(t,a,e){var i=e("4bad");a=i(!1),a.push([t.i,".pb-page-form .nav[data-v-34ff6634]{text-align:center;padding:%?20?% 0;color:#999}.pb-page-form .nav uni-text[data-v-34ff6634]{display:inline-block;padding:0 %?20?%}.pb-page-form .nav .link[data-v-34ff6634]{color:#999;text-decoration:none;font-size:%?36?%}.pb-page-form .nav .link.active[data-v-34ff6634]{color:#00bc9b}.pb-page-form .cu-form-group[data-v-34ff6634]{margin:10px 20px;border-radius:5px}.pb-page-form .submit[data-v-34ff6634]{margin:10px 20px}",""]),t.exports=a},"5ee3":function(t,a,e){"use strict";var i=e("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,e("ac1f"),e("5319");var n=e("0cd4"),s=e("358c"),r=i(e("632f")),o=i(e("ec4f")),c=i(e("1560")),u=i(e("aacc")),f=e("c5ea"),l={components:{Retrieve:u.default,Oauth:c.default,Logo:o.default,StartCaptcha:r.default},mixins:[f.StoreMixin],data:function(){return{isSubmitting:!1,data:{username:"",password:"",captcha:""}}},onShow:function(){this.$starter.boot()},methods:{doSubmit:function(){var t=this;this.isSubmitting=!0;var a=this.$r.getQuery("redirect");this.$api.post("login",this.data,(function(e){n.EventBus.$emit("UpdateApp",(function(){a?t.$r.replace(a):t.$r.relaunch()}))}),(function(a){t.isSubmitting=!1,a.code===s.ResponseCodes.CAPTCHA_ERROR&&t.$refs.captcha.refresh()}))}}};a.default=l},7072:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return s})),e.d(a,"a",(function(){return i}));var i={pageMeta:e("6d42").default},n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("page-meta",{attrs:{"root-font-size":"20px"}}),e("v-uni-view",{staticClass:"pb-page-form"},[e("Logo"),t.base.config.registerDisable?t._e():e("v-uni-view",{staticClass:"nav"},[e("smart-link",{staticClass:"active",attrs:{to:"/brick-uni/module/member/login"}},[t._v("登录")]),e("v-uni-text",[t._v("·")]),e("smart-link",{attrs:{to:"/brick-uni/module/member/register"}},[t._v("注册")])],1),e("v-uni-form",[e("v-uni-view",{staticClass:"cu-form-group margin-top"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",{staticClass:"iconfont"},[t._v("")]),t._v("用户")],1),e("v-uni-input",{attrs:{placeholder:"输入用户"},model:{value:t.data.username,callback:function(a){t.$set(t.data,"username",a)},expression:"data.username"}})],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",{staticClass:"iconfont"},[t._v("")]),t._v("密码")],1),e("v-uni-input",{attrs:{placeholder:"输入密码",type:"password"},model:{value:t.data.password,callback:function(a){t.$set(t.data,"password",a)},expression:"data.password"}})],1),e("v-uni-view",{staticClass:"cu-form-group captcha"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",{staticClass:"iconfont"},[t._v("")]),t._v("验证码")],1),e("v-uni-input",{attrs:{placeholder:"输入验证码"},model:{value:t.data.captcha,callback:function(a){t.$set(t.data,"captcha",a)},expression:"data.captcha"}}),e("v-uni-view",{staticClass:"image"},[e("StartCaptcha",{ref:"captcha",staticClass:"captcha",attrs:{src:"login_captcha"}})],1)],1),e("v-uni-view",{staticClass:"submit"},[e("v-uni-button",{staticClass:"btn btn-lg btn-primary btn-block",attrs:{loading:t.isSubmitting},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.doSubmit()}}},[t._v("登录")])],1)],1),e("Oauth"),e("Retrieve")],1)],1)},s=[]},"8f53":function(t,a,e){"use strict";e.r(a);var i=e("7072"),n=e("b288");for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(s);e("a874");var r,o=e("f0c5"),c=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"34ff6634",null,!1,i["a"],r);a["default"]=c.exports},a874:function(t,a,e){"use strict";var i=e("fad4"),n=e.n(i);n.a},b288:function(t,a,e){"use strict";e.r(a);var i=e("5ee3"),n=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(s);a["default"]=n.a},fad4:function(t,a,e){var i=e("531a");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("cf977038",i,!0,{sourceMap:!1,shadowMode:!1})}}]);