(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/me/pagesOne/address/addressEdit/addressEdit"],{"058c":function(e,t,s){"use strict";s.r(t);var n=s("08ec"),d=s.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){s.d(t,e,(function(){return n[e]}))}(o);t["default"]=d.a},"08ec":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{address:[{name:"祝锦鹏",mobile:13184129096,area:"山东省济南市历下区",address:"经十路武警医院花样家缘",default:"1"}],type:null}},onLoad:function(e){this.type=e.type},onShow:function(){this.getAddress()},methods:{selectAddress:function(e){1==this.type&&(this.app.onAddress=e,this.goBack())},gonewAddress:function(){this.$tools.goNext("/pages/me/pagesOne/address/newAddress/newAddress")},noselectTap:function(e){var t=this;e.default=1,e.id=e.id,this.$tools.axiosFromToken("POST","index/edit_address",e).then((function(e){t.getAddress(),"1"==t.type&&t.$tools.goBack(1)}))},editAddress:function(e){this.$tools.goNext("/pages/me/pagesOne/address/newAddress/newAddress?id=".concat(e))},detletAddress:function(e,t){var s=this;this.$tools.axiosFromToken("POST","index/del_address",{id:t,type:4},"加载中").then((function(t){s.address.splice(e,1),s.getAddress()}))},getAddress:function(){var e=this;this.$tools.axiosFromToken("POST","user/sel_address",{},"加载中").then((function(t){e.address=t.data}))}}}},"0bd2":function(e,t,s){"use strict";s.d(t,"b",(function(){return n})),s.d(t,"c",(function(){return d})),s.d(t,"a",(function(){}));var n=function(){var e=this.$createElement;this._self._c},d=[]},"264c":function(e,t,s){},"2f58":function(e,t,s){"use strict";var n=s("264c"),d=s.n(n);d.a},"5d07":function(e,t,s){"use strict";s.r(t);var n=s("0bd2"),d=s("058c");for(var o in d)["default"].indexOf(o)<0&&function(e){s.d(t,e,(function(){return d[e]}))}(o);s("2f58");var i=s("f0c5"),a=Object(i["a"])(d["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);t["default"]=a.exports},"7ef6":function(e,t,s){"use strict";(function(e){var t=s("4ea4");s("0178");t(s("66fd"));var n=t(s("5d07"));wx.__webpack_require_UNI_MP_PLUGIN__=s,e(n.default)}).call(this,s("543d")["createPage"])}},[["7ef6","common/runtime","common/vendor"]]]);