(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/plugin/simple-address"],{"1b16":function(e,t,i){"use strict";i.r(t);var n=i("3612"),a=i.n(n);for(var o in n)"default"!==o&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},3612:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"simpleAddress",props:{animation:{type:Boolean,default:!0},type:{type:String,default:"bottom"},maskClick:{type:Boolean,default:!0},show:{type:Boolean,default:!0},maskBgColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},pickerValueDefault:{type:Array,default:function(){return[0,0]}},region:{type:Array,default:function(){return[]}}},data:function(){return{ani:"",showPopup:!1,pickerValue:[0,0],provinceDataList:[],cityDataList:[],areaDataList:[]}},watch:{show:function(e){e?this.open():this.close()},pickerValueDefault:function(){this.sInit()}},created:function(){this.sInit()},methods:{sInit:function(){},handPickValueDefault:function(){},pickerChange:function(e){this.pickerValue=e.detail.value,this._$emit("onChange")},_$emit:function(e){var t={label:this._getLabel(),value:this.pickerValue,provinceName:this.region[this.pickerValue[0]].name,cityName:this.region[this.pickerValue[0]].children[this.pickerValue[1]].name,provinceCode:this._getProvinceCode(),cityCode:this._getCityCode()};console.log(t),this.$emit(e,t)},_getLabel:function(){var e=this.region[this.pickerValue[0]].name+"-"+this.region[this.pickerValue[0]].children[this.pickerValue[1]].name;return e},_getProvinceCode:function(){return this.region[this.pickerValue[0]].id},_getCityCode:function(){return this.region[this.pickerValue[0]].children[this.pickerValue[1]].id},_getAreaCode:function(){return this.region[this.pickerValue[0]].children[this.pickerValue[1]].children[this.pickerValue[2]].id},clear:function(){},hideMask:function(){this._$emit("onCancel"),this.close()},pickerCancel:function(){this._$emit("onCancel"),this.close()},pickerConfirm:function(){this._$emit("onConfirm"),this.close()},open:function(){var e=this;this.showPopup=!0,this.$nextTick((function(){setTimeout((function(){e.ani="simple-"+e.type}),100)}))},close:function(e){var t=this;!this.maskClick&&e||(this.ani="",this.$nextTick((function(){setTimeout((function(){t.showPopup=!1}),300)})))}}};t.default=n},"4d09":function(e,t,i){},"618a":function(e,t,i){"use strict";i.r(t);var n=i("8384"),a=i("1b16");for(var o in a)"default"!==o&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("8c1a");var r=i("5511"),c=Object(r["a"])(a["default"],n["a"],n["b"],!1,null,"58b974ad",null);t["default"]=c.exports},8384:function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;e._self._c},a=[];i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return a}))},"8c1a":function(e,t,i){"use strict";var n=i("4d09"),a=i.n(n);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/plugin/simple-address-create-component',
    {
        'components/plugin/simple-address-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('d1ae')['createComponent'](__webpack_require__("618a"))
        })
    },
    [['components/plugin/simple-address-create-component']]
]);                
