(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6be06a07"],{5481:function(t,e,n){"use strict";var i=n("f06c"),c=n.n(i);c.a},b10b:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"scope"},[n("cl-form",{ref:"cl-form"}),t._m(0),n("div",{staticClass:"c"},[n("el-button",{attrs:{size:"small"},on:{click:t.openForm}},[t._v("填写邀请码")])],1),t._m(1)],1)},c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"h"},[n("span",[t._v("cl-form")]),t._v(" 自定义表单 ")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"f"},[n("span",{staticClass:"date"},[t._v("2019/10/11")])])}],s=(n("3546"),n("0e8d"),n("fdc1"),n("851c"),n("ea51"),n("a94a"),n("639b"),n("4f5b"),n("b287"),n("9d37"));function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a={methods:{openForm:function(){var t=this,e=this.$createElement;this.$refs["cl-form"].open({props:{title:"填写邀请码",width:"450px"},items:[{props:{"label-width":"0px"},component:e("div",[e("i"),e("span",["如无邀请码，请联系客服：icssoa"])])},{props:{"label-width":"0px"},prop:"code",component:{name:"login-invite-code",data:function(){return{list:["","","",""]}},methods:{onInput:function(t){this.list[t]&&t<=4-t&&this.$refs["input-".concat(t+1)].focus(),this.$emit("input",this.list.join(""))},nativeOnInput:function(t,e){"Backspace"==t.code&&(this.list[e]||e-1>=0&&this.$refs["input-".concat(e-1)].focus()),this.$emit("input",this.list.join(""))}},mounted:function(){this.$refs["input-0"].focus()},render:function(){var t=this,e=arguments[0];return e("div",{class:"invite-code"},[this.list.map((function(n,i){return e("el-input",{attrs:{maxlength:"1"},ref:"input-".concat(i),on:r({},{input:function(){t.onInput(i)},"keydown:enter":function(){console.log(1)}}),nativeOn:r({},{keydown:function(e){t.nativeOnInput(e,i)}}),model:{value:t.list[i],callback:function(e){t.$set(t.list,i,e)}}})}))])}}}],on:{submit:function(e,n){t.$message.success(e.code),n()}}})}}},u=a,l=(n("5481"),n("5511")),p=Object(l["a"])(u,i,c,!1,null,null,null);e["default"]=p.exports},f06c:function(t,e,n){}}]);