(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pageA-pages-common-city-area"],{"06e4":function(t,e,i){var s=i("b68e");"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var a=i("4f06").default;a("0c338ffb",s,!0,{sourceMap:!1,shadowMode:!1})},2614:function(t,e,i){"use strict";var s=i("06e4"),a=i.n(s);a.a},"40d0":function(t,e,i){"use strict";i.r(e);var s=i("db92"),a=i("c037");for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);i("2614");var c,l=i("f0c5"),r=Object(l["a"])(a["default"],s["b"],s["c"],!1,null,"ffdffc72",null,!1,s["a"],c);e["default"]=r.exports},8369:function(t,e,i){"use strict";var s=i("4ea4");i("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=s(i("d55e")),n=uni.getSystemInfoSync(),c={data:function(){return{navActive:0,selectedList:[{title:"请选择"}],safeAreaBottom:0,eventName:"",province:[],city:[],area:[]}},onLoad:function(t){this.eventName=t.eventName,this.safeAreaBottom=n.safeAreaInsets.bottom,this.initHtml()},watch:{navActive:function(t,e){t>=3&&this.selected()}},methods:{initHtml:function(){var t=this;a.default.getCacheData("arealist",(function(e){t.province=e}))},setSelectedList:function(t){switch(this.navActive){case 0:this.selectedList[this.navActive]=t,this.selectedList[this.navActive]?this.selectedList[1]={title:"请选择"}:this.selectedList.push({title:"请选择"}),this.selectedList.splice(2,1),this.city=t.data;break;case 1:this.selectedList[this.navActive]=t,this.selectedList[2]?this.selectedList[2]={title:"请选择"}:this.selectedList.push({title:"请选择"}),this.area=t.data;break;case 2:this.selectedList[this.navActive]=t;break}this.navActive++},selected:function(){for(var t={data:this.selectedList,area:[]},e=0;e<this.selectedList.length;e++)t.area.push(this.selectedList[e].id);uni.$emit(this.eventName,t),uni.navigateBack()}}};e.default=c},b68e:function(t,e,i){var s=i("24fb");e=s(!1),e.push([t.i,".header[data-v-ffdffc72]{height:60px}.fixed-top[data-v-ffdffc72]{position:fixed;\n\n\ntop:var(--window-top);\nleft:0;right:0;z-index:100;background-color:#fff}.flex-justify-center[data-v-ffdffc72]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}",""]),t.exports=e},c037:function(t,e,i){"use strict";i.r(e);var s=i("8369"),a=i.n(s);for(var n in s)"default"!==n&&function(t){i.d(e,t,(function(){return s[t]}))}(n);e["default"]=a.a},db92:function(t,e,i){"use strict";var s;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return s}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"header fixed-top border-bottom flex-justify-center"},[i("v-uni-view",{staticClass:"px-3 flex-row"},[i("v-uni-text",{staticClass:"uni-h5 text-auxiliary pr-2 py-2",class:{"text-primary":0===t.navActive},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navActive=0}}},[t._v(t._s(t.selectedList[0].title))]),t.selectedList[1]?i("v-uni-text",{staticClass:"uni-h5 text-auxiliary pr-2 py-2",class:{"text-primary":1===t.navActive},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navActive=1}}},[t._v(t._s(t.selectedList[1].title))]):t._e(),t.selectedList[2]?i("v-uni-text",{staticClass:"uni-h5 text-auxiliary pr-2 py-2",class:{"text-primary":2===t.navActive},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navActive=2}}},[t._v(t._s(t.selectedList[2].title))]):t._e()],1)],1),i("v-uni-view",{staticClass:"header"}),0===t.navActive?i("v-uni-view",{staticClass:"p-2 flex-column",style:{paddingBottom:t.safeAreaBottom+"px"}},t._l(t.province,(function(e,s){return i("v-uni-view",{key:s,staticClass:"px-2 py-2",attrs:{"hover-class":"bg-hover"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.setSelectedList(e)}}},[i("v-uni-text",{staticClass:"uni-h5 text-auxiliary"},[t._v(t._s(e.title))])],1)})),1):t._e(),1===t.navActive?i("v-uni-view",{staticClass:"p-2 flex-column",style:{paddingBottom:t.safeAreaBottom+"px"}},t._l(t.city,(function(e,s){return i("v-uni-view",{key:s,staticClass:"px-2 py-2",attrs:{"hover-class":"bg-hover"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.setSelectedList(e)}}},[i("v-uni-text",{staticClass:"uni-h5 text-auxiliary"},[t._v(t._s(e.title))])],1)})),1):t._e(),2===t.navActive?i("v-uni-view",{staticClass:"p-2 flex-column",style:{paddingBottom:t.safeAreaBottom+"px"}},t._l(t.area,(function(e,s){return i("v-uni-view",{key:s,staticClass:"px-2 py-2",attrs:{"hover-class":"bg-hover"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.setSelectedList(e)}}},[i("v-uni-text",{staticClass:"uni-h5 text-auxiliary"},[t._v(t._s(e.title))])],1)})),1):t._e()],1)},n=[]}}]);