app-area-sel.js 2.2 KB

12345678910
  1. (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}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/app-area-sel-create-component',
  4. {
  5. 'components/app-area-sel-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("62ec"))
  7. })
  8. },
  9. [['components/app-area-sel-create-component']]
  10. ]);