(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/plate/index"],{528:function(n,e,t){"use strict";t.r(e);var r=t(529),i=t(531);for(var o in i)"default"!==o&&function(n){t.d(e,n,(function(){return i[n]}))}(o);t(533);var a,c=t(15),u=Object(c["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,"60a8d3a4",null,!1,r["components"],a);u.options.__file="components/plate/index.vue",e["default"]=u.exports},529:function(n,e,t){"use strict";t.r(e);var r=t(530);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},530:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return i})),t.d(e,"staticRenderFns",(function(){return a})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));try{r={uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,416))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var i=function(){var n=this,e=n.$createElement;n._self._c},o=!1,a=[];i._withStripped=!0},531:function(n,e,t){"use strict";t.r(e);var r=t(532),i=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=i.a},532:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"index",props:{characterDatas:{type:Array,default:function(){return[1,2,3,4,5,6,7,8,9,0,"A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z","港","澳","学","领"]}},areaDatas:{type:Array,default:function(){return["京","沪","粤","津","冀","晋","蒙","黑","吉","辽","苏","浙","皖","闽","赣","鲁","豫","鄂","湘","桂","琼","渝","川","贵","云","藏","陕","甘","青","宁","新","临","领","警","学","港","澳"]}},defaultPlate:{type:Array,default:function(){return Array.from({length:8},(function(n){return""}))}}},data:function(){return{show:!1,index:-1,newEnergy:!1,plate:this.defaultPlate}},created:function(){},computed:{currentDatas:function(){return 0===this.index?this.areaDatas:this.characterDatas}},watch:{plate:function(n){this.$emit("listenPlateChange",n)}},methods:{panelShow:function(){this.show=!0},panelHide:function(){this.show=!1},handleChange:function(n){this.index=n,7===n&&(this.newEnergy=!0),this.panelShow()},clickKeyBoard:function(n){console.log(n),(this.index<7||this.newEnergy)&&this.$set(this.plate,this.index,n),this.index<7&&this.index++},backspace:function(){this.index>0&&(this.$set(this.plate,this.index,""),this.index--)},panelReset:function(){this.index=0,this.plate=Array.from({length:8},(function(n){return""})),this.newEnergy=!1}}};e.default=r},533:function(n,e,t){"use strict";t.r(e);var r=t(534),i=t.n(r);for(var o in r)"default"!==o&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=i.a},534:function(n,e,t){}}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/plate/index.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/plate/index-create-component',
    {
        'components/plate/index-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('1')['createComponent'](__webpack_require__(528))
        })
    },
    [['components/plate/index-create-component']]
]);
