|
|
-(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/app-area-sel"],{"0641":function(t,e,n){},"62ec":function(t,e,n){"use strict";n.r(e);var o=n("cb74"),u=n("fcd4");for(var i in u)"default"!==i&&function(t){n.d(e,t,(function(){return u[t]}))}(i);n("b648");var c,r=n("f0c5"),a=Object(r["a"])(u["default"],o["b"],o["c"],!1,null,"c555eb3c",null,!1,o["a"],c);e["default"]=a.exports},b648:function(t,e,n){"use strict";var o=n("0641"),u=n.n(o);u.a},c894:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("b26e"),u=function(){return n.e("components/plugin/bottom-popup").then(n.bind(null,"062d"))},i=function(){return n.e("components/module/app-close").then(n.bind(null,"3239"))},c=function(){return n.e("components/module/app-search").then(n.bind(null,"80f2"))},r={name:"app-area-sel",components:{BottomPopup:u,AppClose:i,AppSearchModule:c},props:{show:{type:Boolean,default:!1},city:{type:String,default:""}},data:function(){return{showPopup:!1,keyword:"",currentSelectAddress:null,nearListData:[]}},watch:{show:function(t){this.showPopup=t,t&&this.getAreaList()}},methods:{getAreaList:function(){var t=this;(0,o.suggestion)({region:this.city,keyword:this.keyword}).then((function(e){t.nearListData=e.data.data}))},searchFn:function(t){this.keyword=t,this.getAreaList()},hidePopup:function(){this.$emit("update:show",!1),this.$emit("hide")},switchAddress:function(t,e){this.currentSelectAddress=e,this.$emit("change",t),this.hidePopup()}}};e.default=r},cb74:function(t,e,n){"use strict";var o,u=function(){var t=this,e=t.$createElement;t._self._c},i=[];n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}))},fcd4:function(t,e,n){"use strict";n.r(e);var o=n("c894"),u=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=u.a}}]);
|
|
|
+(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/app-area-sel"],{"0aeb":function(t,e,n){},"1b00":function(t,e,n){"use strict";var o=n("0aeb"),u=n.n(o);u.a},"56e6":function(t,e,n){"use strict";var o,u=function(){var t=this,e=t.$createElement;t._self._c},i=[];n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}))},"62ec":function(t,e,n){"use strict";n.r(e);var o=n("56e6"),u=n("fcd4");for(var i in u)"default"!==i&&function(t){n.d(e,t,(function(){return u[t]}))}(i);n("1b00");var r,a=n("f0c5"),c=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,"133ffe44",null,!1,o["a"],r);e["default"]=c.exports},c894:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("b26e"),u=function(){return n.e("components/plugin/bottom-popup").then(n.bind(null,"062d"))},i=function(){return n.e("components/module/app-close").then(n.bind(null,"3239"))},r=function(){return n.e("components/module/app-search").then(n.bind(null,"80f2"))},a={name:"app-area-sel",components:{BottomPopup:u,AppClose:i,AppSearchModule:r},props:{show:{type:Boolean,default:!1},city:{type:String,default:""}},data:function(){return{showPopup:!1,keyword:"",currentSelectAddress:null,nearListData:[]}},watch:{show:function(t){this.showPopup=t}},methods:{getAreaList:function(){var t=this;if(!this.keyword)return!1;(0,o.suggestion)({region:this.city,keyword:this.keyword}).then((function(e){t.nearListData=e.data.data}))},searchFn:function(t){this.keyword=t,this.getAreaList()},hidePopup:function(){this.$emit("update:show",!1),this.$emit("hide")},switchAddress:function(t,e){this.currentSelectAddress=e,this.$emit("change",t),this.hidePopup()}}};e.default=a},fcd4:function(t,e,n){"use strict";n.r(e);var o=n("c894"),u=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=u.a}}]);
|