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.
1 lines
24 KiB
1 lines
24 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-142284ed"],{"318e":function(e,t,n){"use strict";n.r(t);var r=n("5723"),a=n("6987"),i=n("3dda"),o=n.n(i),s=n("d708"),c=n("c276"),u=n("bc3a"),l=n.n(u),d=n("5d39");function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof w?t:w,o=Object.create(i.prototype),s=new T(r||[]);return a(o,"_invoke",{value:O(e,n,s)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var m="suspendedStart",p="suspendedYield",g="executing",v="completed",y={};function w(){}function b(){}function _(){}var x={};u(x,o,(function(){return this}));var k=Object.getPrototypeOf,I=k&&k(k(j([])));I&&I!==n&&r.call(I,o)&&(x=I);var $=_.prototype=w.prototype=Object.create(x);function S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function n(a,i,o,s){var c=d(e[a],e,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==h(l)&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(l).then((function(e){u.value=e,o(u)}),(function(e){return n("throw",e,o,s)}))}s(c.arg)}var i;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return i=i?i.then(a,a):a()}})}function O(t,n,r){var a=m;return function(i,o){if(a===g)throw Error("Generator is already running");if(a===v){if("throw"===i)throw o;return{value:e,done:!0}}for(r.method=i,r.arg=o;;){var s=r.delegate;if(s){var c=E(s,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===m)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=g;var u=d(t,n,r);if("normal"===u.type){if(a=r.done?v:p,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(a=v,r.method="throw",r.arg=u.arg)}}}function E(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=d(a,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function j(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(h(t)+" is not iterable")}return b.prototype=_,a($,"constructor",{value:_,configurable:!0}),a(_,"constructor",{value:b,configurable:!0}),b.displayName=u(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,u(e,c,"GeneratorFunction")),e.prototype=Object.create($),e},t.awrap=function(e){return{__await:e}},S(L.prototype),u(L.prototype,s,(function(){return this})),t.AsyncIterator=L,t.async=function(e,n,r,a,i){void 0===i&&(i=Promise);var o=new L(l(e,n,r,a),i);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S($),u($,c,"Generator"),u($,o,(function(){return this})),u($,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=j,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=r.call(o,"catchLoc"),u=r.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;N(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function m(e,t,n,r,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){m(i,r,a,o,s,"next",e)}function s(e){m(i,r,a,o,s,"throw",e)}o(void 0)}))}}var g={mixins:[o.a],components:{Verify:d.a},data:function(){return{fullWidth:document.documentElement.clientWidth,swiperOption:{pagination:".swiper-pagination",autoplay:!0},isShow:!1,loading:!1,autoLogin:!0,imgcode:"",iscaptcha:!1,formInline:{username:"",password:"",phone:"",new_pwd:""},ruleInline:{username:[{required:!0,message:"请输入用户名",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],phone:[{required:!0,message:"请填写手机号码",trigger:"change"},{pattern:/^1[3456789]\d{9}$/,message:"手机号码格式不正确",trigger:"change"}]},errorNum:0,login_logo:"",swiperList:[],defaultSwiperList:n("433f"),loginTab:["账号登录","短信登录"],active:0,isSms:!1,disabled:!1,text:"获取验证码",resetStatus:!0,copyright:"",version:""}},created:function(){var e=this;top!=window&&(top.location.href=location.href),document.onkeydown=function(t){"login"===e.$route.name&&13===window.event.keyCode&&e.handleSubmit("formInline")},window.addEventListener("resize",this.handleResize)},watch:{fullWidth:function(e){if(!this.timer){this.screenWidth=e,this.timer=!0;var t=this;setTimeout((function(){t.timer=!1}),400)}},$route:function(e){this.captchas()}},mounted:function(){var e=this;this.$nextTick((function(){e.screenWidth<768?document.getElementsByTagName("canvas")[0]&&document.getElementsByTagName("canvas")[0].removeAttribute("class","index_bg"):document.getElementsByTagName("canvas")[0]&&(document.getElementsByTagName("canvas")[0].className="index_bg"),e.swiperData()})),this.captchas(),this.getCopyright()},methods:{loginTabSwitch:function(e){this.active=e,this.formInline.code=""},sendCode:function(e){var t=this;this.disabled&&this.closeModel(e),this.disabled=!0;var n=60;this.text="剩余 "+n+"s";var r=setInterval((function(){(n-=1)<0&&clearInterval(r),t.text="剩余 "+n+"s",t.text<"剩余 0s"&&(t.disabled=!1,t.text="重新获取")}),1e3)},code:function(){return this.isSms=!0,this.formInline.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.formInline.phone)?void this.$refs.verify.show():this.$Message.error("请输入正确的手机号码"):this.$Message.error("请填写手机号码")},resetUpwd:function(){this.resetStatus?(this.$set(this,"loginTab",["忘记密码"]),this.resetStatus=!1):(this.$set(this,"loginTab",["账号登录","短信登录"]),this.resetStatus=!0,this.active=0),this.$refs.formInline.resetFields()},swiperData:function(){var e=this;Object(r.g)().then((function(t){var r=t.data||{};e.login_logo=r.login_logo?r.login_logo:n("9d64"),e.swiperList=r.slide.length?r.slide:[e.defaultSwiperList],e.$cache.local.setJSON("file_size_max",r.upload_file_size_max)})).catch((function(t){e.$Message.error(t.msg)}))},getChilden:function(e){return e.length&&e[0].children?this.getChilden(e[0].children):e[0].path},getCopyright:function(){var e=this;Object(r.d)().then((function(t){var n=t.data;e.copyright=n.copyrightContext,e.version=n.version})).catch((function(t){e.$Message.error(t.msg)}))},closeModel:function(e){var t=this;if(0==this.resetStatus){if(""==this.formInline.phone)return this.$Message.error("手机号不能为空");if(""==this.formInline.new_pwd)return this.$Message.error("新密码不能为空");Object(r.k)({phone:this.formInline.phone,code:this.formInline.code,new_pwd:this.formInline.new_pwd}).then((function(e){t.$Message.success(e.msg),t.$set(t,"loginTab",["账号登录","短信登录"]),t.resetStatus=!0,t.active=0,t.$refs.formInline.resetFields()})).catch((function(e){t.$Message.error(e.msg)}))}else if(1==this.resetStatus&&0==this.active){if(""==this.formInline.username)return this.$Message.error("账号不能为空");if(""==this.formInline.password)return this.$Message.error("密码不能为空");var n=this.$Message.loading({content:"登录中...",duration:0});Object(r.a)({account:this.formInline.username,pwd:this.formInline.password,captchaType:"blockPuzzle",captchaVerification:e.captchaVerification}).then(function(){var e=p(f().mark((function e(r){var i,o,u,l,d,h;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n(),r.data.unique_auth.length){e.next=3;break}return e.abrupt("return",t.$Message.error("您暂无任何菜单权限"));case 3:return t.$store.dispatch("admin/account/setPageTitle"),i=r.data.expires_time,c.a.cookies.set("uuid",r.data.user_info.id,{expires:i}),c.a.cookies.set("token",r.data.token,{expires:i}),c.a.cookies.set("expires_time",r.data.expires_time,{expires:i}),e.next=10,t.$store.dispatch("admin/db/database",{user:!0});case 10:return e.sent.set("unique_auth",r.data.unique_auth).set("user_info",r.data.user_info).write(),c.a.makeMenu(s.a.roterPre,r.data.menus),o=r.data.menus,t.$store.commit("admin/menus/getmenusNav",o),u=Object(a.d)(r.data.menus),t.$store.commit("admin/menu/setHeader",u),l=t.getChilden(r.data.menus),d=Object(a.c)({path:l,query:{},params:{}},o),h=Object(a.e)(o,d),t.$store.commit("admin/menu/setSider",h[0].children),t.$store.commit("admin/menus/setIndexPath",l),t.$store.dispatch("admin/user/set",{name:r.data.user_info.account,avatar:r.data.user_info.head_pic,access:r.data.unique_auth,logo:r.data.logo,logoSmall:r.data.logo_square,version:r.data.version,newOrderAudioLink:r.data.newOrderAudioLink}),e.abrupt("return",t.$router.replace({path:t.$route.query.redirect||l||"/"}));case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){n();var r=void 0===e?{}:e;t.errorNum++,t.captchas(),t.$Message.error(r.msg||"登录失败")}))}else{var i=this.$Message.loading({content:"登录中...",duration:0});Object(r.j)({phone:this.formInline.phone,code:this.formInline.code}).then(function(){var e=p(f().mark((function e(n){var r,o,u,l,d,h;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i(),n.data.unique_auth.length){e.next=3;break}return e.abrupt("return",t.$Message.error("您暂无任何菜单权限"));case 3:return t.$store.dispatch("admin/account/setPageTitle"),r=n.data.expires_time,c.a.cookies.set("uuid",n.data.user_info.id,{expires:r}),c.a.cookies.set("token",n.data.token,{expires:r}),c.a.cookies.set("expires_time",n.data.expires_time,{expires:r}),e.next=10,t.$store.dispatch("admin/db/database",{user:!0});case 10:return e.sent.set("unique_auth",n.data.unique_auth).set("user_info",n.data.user_info).write(),c.a.makeMenu(s.a.roterPre,n.data.menus),o=n.data.menus,t.$store.commit("admin/menus/getmenusNav",o),u=Object(a.d)(n.data.menus),t.$store.commit("admin/menu/setHeader",u),l=t.getChilden(n.data.menus),d=Object(a.c)({path:l,query:{},params:{}},o),h=Object(a.e)(o,d),t.$store.commit("admin/menu/setSider",h[0].children),t.$store.commit("admin/menus/setIndexPath",l),t.$store.dispatch("admin/user/set",{name:n.data.user_info.account,avatar:n.data.user_info.head_pic,access:n.data.unique_auth,logo:n.data.logo,logoSmall:n.data.logo_square,version:n.data.version,newOrderAudioLink:n.data.newOrderAudioLink}),e.abrupt("return",t.$router.replace({path:t.$route.query.redirect||l||"/"}));case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){i();var n=void 0===e?{}:e;t.errorNum++,t.captchas(),t.$Message.error(n.msg||"登录失败")}))}},getExpiresTime:function(e){var t=Math.round(new Date/1e3);return parseFloat(parseFloat(parseFloat((e-t)/60)/60)/24)},handleResize:function(e){this.fullWidth=document.documentElement.clientWidth,this.fullWidth<768?document.getElementsByTagName("canvas")[0].removeAttribute("class","index_bg"):document.getElementsByTagName("canvas")[0].className="index_bg"},captchas:function(){this.imgcode=s.a.apiBaseURL+"/captcha_pro?"+Date.parse(new Date)},getLogin:function(){var e=this;if(""==this.formInline.username)return this.$Message.error("账号不能为空");if(""==this.formInline.password)return this.$Message.error("密码不能为空");var t,n=this.$Message.loading({content:"登录中...",duration:0});t={account:this.formInline.username,pwd:this.formInline.password,captchaType:"",captchaVerification:""},Object(r.a)(t).then(function(){var t=p(f().mark((function t(r){var i,o,u,l,d,h;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n(),r.data.unique_auth.length){t.next=3;break}return t.abrupt("return",e.$Message.error("您暂无任何菜单权限"));case 3:return e.$store.dispatch("admin/account/setPageTitle"),i=r.data.expires_time,c.a.cookies.set("uuid",r.data.user_info.id,{expires:i}),c.a.cookies.set("token",r.data.token,{expires:i}),c.a.cookies.set("expires_time",r.data.expires_time,{expires:i}),t.next=10,e.$store.dispatch("admin/db/database",{user:!0});case 10:return t.sent.set("unique_auth",r.data.unique_auth).set("user_info",r.data.user_info).write(),c.a.makeMenu(s.a.roterPre,r.data.menus),o=r.data.menus,e.$store.commit("admin/menus/getmenusNav",o),u=Object(a.d)(r.data.menus),e.$store.commit("admin/menu/setHeader",u),l=e.getChilden(r.data.menus),d=Object(a.c)({path:l,query:{},params:{}},o),h=Object(a.e)(o,d),e.$store.commit("admin/menu/setSider",h[0].children),e.$store.commit("admin/menus/setIndexPath",l),e.$store.dispatch("admin/user/set",{name:r.data.user_info.account,avatar:r.data.user_info.head_pic,access:r.data.unique_auth,logo:r.data.logo,logoSmall:r.data.logo_square,version:r.data.version,newOrderAudioLink:r.data.newOrderAudioLink}),t.abrupt("return",e.$router.replace({path:e.$route.query.redirect||l||"/"}));case 24:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){n();var r=void 0===t?{}:t;e.errorNum++,e.captchas(),e.$Message.error(r.msg||"登录失败")}))},handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){e&&0==t.active?Object(r.f)({account:t.formInline.username}).then((function(e){t.iscaptcha=e.data.is_captcha,!0===t.iscaptcha?t.$refs.verify.show():t.getLogin()})):t.closeModel()}))},resetPwd:function(e){var t=this;this.$refs[e].validate((function(e){e&&t.$refs.verify.show()}))},success:function(e){var t=this;if(this.isSms){var n=s.a.apiBaseURL.replace(/adminapi/,"api");l.a.get(n+"/verify_code").then((function(r){var a={type:"login",phone:t.formInline.phone,key:r.data.data.key,code:"",captchaType:"blockPuzzle",captchaVerification:e.captchaVerification};fetch(n+"/register/verify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}).then((function(e){t.sendCode()})).catch((function(e){t.$Message.error(e.msg)}))}))}else this.closeModel(e)},onClose:function(){this.isShow=!1}},beforeCreate:function(){this.fullWidth<768?document.getElementsByTagName("canvas")[0]&&document.getElementsByTagName("canvas")[0].removeAttribute("class","index_bg"):document.getElementsByTagName("canvas")[0]&&(document.getElementsByTagName("canvas")[0].className="index_bg")},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize),document.getElementsByTagName("canvas")[0]&&document.getElementsByTagName("canvas")[0].removeAttribute("class","index_bg")}},v=(n("4006"),n("2877")),y=Object(v.a)(g,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"page-account"},[t("div",{staticClass:"container",class:[e.fullWidth>768?"containerSamll":"containerBig"]},[e.fullWidth>768?t("swiper",{staticClass:"swiperPross",attrs:{options:e.swiperOption}},[e._l(e.swiperList,(function(e,n){return t("swiper-slide",{key:n,staticClass:"swiperPic"},[t("img",{staticStyle:{"object-fit":"fill"},attrs:{src:e}})])})),t("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2):e._e(),t("div",{staticClass:"index_from page-account-container"},[t("div",{staticClass:"page-account-top"},[t("div",{staticClass:"page-account-top-logo"},[t("img",{attrs:{src:e.login_logo,alt:"logo"}})])]),this.resetStatus?t("div",{staticClass:"login_tab flex"},e._l(e.loginTab,(function(n,r){return t("div",{key:r,staticClass:"login_tab_item",class:e.active==r?"active_tab":"",on:{click:function(t){return e.loginTabSwitch(r)}}},[e._v(e._s(n))])})),0):e._e(),t("Form",{directives:[{name:"show",rawName:"v-show",value:!e.active&&e.resetStatus,expression:"!active && resetStatus"}],ref:"formInline",attrs:{model:e.formInline,rules:e.ruleInline},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSubmit("formInline")}}},[t("FormItem",{attrs:{prop:"username"}},[t("Input",{attrs:{type:"text",prefix:"ios-contact-outline",placeholder:"请输入用户名",size:"large"},model:{value:e.formInline.username,callback:function(t){e.$set(e.formInline,"username",t)},expression:"formInline.username"}})],1),t("FormItem",{attrs:{prop:"password"}},[t("Input",{attrs:{type:"password",prefix:"ios-lock-outline",placeholder:"请输入密码",size:"large"},model:{value:e.formInline.password,callback:function(t){e.$set(e.formInline,"password",t)},expression:"formInline.password"}})],1),t("FormItem",[t("Button",{staticClass:"btn",attrs:{type:"primary",long:"",size:"large"},on:{click:function(t){return e.handleSubmit("formInline")}}},[e._v(e._s(e.$t("page.login.submit"))+"\r\n ")])],1),t("div",{directives:[{name:"show",rawName:"v-show",value:e.resetStatus,expression:"resetStatus"}],staticClass:"primary",on:{click:function(t){return e.resetUpwd()}}},[e._v("忘记密码")])],1),t("Form",{directives:[{name:"show",rawName:"v-show",value:e.active&&e.resetStatus,expression:"active && resetStatus"}],ref:"formInline",attrs:{model:e.formInline,rules:e.ruleInline},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSubmit("formInline")}}},[t("FormItem",{attrs:{prop:"phone"}},[t("Input",{staticStyle:{width:"100%"},attrs:{maxlength:"11",type:"text",prefix:"ios-contact-outline",placeholder:"请输入手机号",size:"large"},model:{value:e.formInline.phone,callback:function(t){e.$set(e.formInline,"phone",t)},expression:"formInline.phone"}})],1),t("FormItem",{attrs:{prop:"code"}},[t("div",{staticClass:"code"},[t("Input",{staticClass:"captch_input",attrs:{type:"text",prefix:"ios-keypad-outline",placeholder:"请输入验证码",size:"large"},model:{value:e.formInline.code,callback:function(t){e.$set(e.formInline,"code",t)},expression:"formInline.code"}}),t("Button",{staticClass:"send_code",attrs:{disabled:e.disabled,size:"large"},on:{click:e.code}},[e._v(e._s(e.text))])],1)]),t("FormItem",[t("Button",{staticClass:"btn",attrs:{type:"primary",long:"",size:"large"},on:{click:function(t){return e.handleSubmit("formInline")}}},[e._v(e._s(e.$t("page.login.submit"))+"\r\n ")])],1)],1),t("Form",{directives:[{name:"show",rawName:"v-show",value:!e.resetStatus,expression:"!resetStatus"}],ref:"formInline",attrs:{model:e.formInline,rules:e.ruleInline},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSubmit("formInline")}}},[t("FormItem",[t("Input",{attrs:{type:"text",maxlength:"11",prefix:"ios-contact-outline",placeholder:"请输入手机号",size:"large"},model:{value:e.formInline.phone,callback:function(t){e.$set(e.formInline,"phone",t)},expression:"formInline.phone"}})],1),t("FormItem",{attrs:{prop:"code"}},[t("div",{staticClass:"code"},[t("Input",{staticClass:"captch_input",attrs:{type:"text",prefix:"ios-keypad-outline",placeholder:"请输入验证码",size:"large"},model:{value:e.formInline.code,callback:function(t){e.$set(e.formInline,"code",t)},expression:"formInline.code"}}),t("Button",{staticClass:"send_code",attrs:{disabled:e.disabled,size:"large"},on:{click:e.code}},[e._v(e._s(e.text))])],1)]),t("FormItem",[t("Input",{attrs:{type:"text",prefix:"ios-contact-outline",placeholder:"请输入密码",size:"large"},model:{value:e.formInline.new_pwd,callback:function(t){e.$set(e.formInline,"new_pwd",t)},expression:"formInline.new_pwd"}})],1),t("FormItem",[t("Button",{staticClass:"btn",attrs:{type:"primary",long:"",size:"large"},on:{click:function(t){return e.resetPwd("formInline")}}},[e._v("提交")])],1),t("div",{directives:[{name:"show",rawName:"v-show",value:!e.resetStatus,expression:"!resetStatus"}],staticClass:"primary",on:{click:function(t){return e.resetUpwd()}}},[e._v("返回登录")])],1)],1)],1),t("Verify",{ref:"verify",attrs:{captchaType:"blockPuzzle",imgSize:{width:"330px",height:"155px"}},on:{success:e.success}}),t("div",{staticClass:"footer"},[e.copyright?t("div",{staticClass:"pull-right"},[e._v(e._s(e.copyright))]):t("div",{staticClass:"pull-right"},[e._v("Copyright ©2014-2024 "),t("a",{staticClass:"infoUrl",attrs:{href:"https://www.RENZHOU.com",target:"_blank"}},[e._v(e._s(e.version))])])])],1)}),[],!1,null,"10d2becc",null);t.default=y.exports},"3dda":function(e,t){},4006:function(e,t,n){"use strict";n("c310")},"433f":function(e,t,n){e.exports=n.p+"view_admin/img/sw.95ce5637.jpg"},c310:function(e,t,n){}}]); |