(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/address/list"],{"05c2":function(t,e,n){"use strict";n.r(e);var o=n("484e"),r=n("1642");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("93e3");var c=n("828b"),u=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,"58c36749",null,!1,o["a"],void 0);e["default"]=u.exports},1642:function(t,e,n){"use strict";n.r(e);var o=n("f955"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},"484e":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={uButton:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-button/u-button")]).then(n.bind(null,"043e"))},loginModal:function(){return Promise.all([n.e("common/vendor"),n.e("components/login-modal/login-modal")]).then(n.bind(null,"e34a"))}},r=function(){var t=this.$createElement;this._self._c},i=[]},"55bd":function(t,e,n){},"93e3":function(t,e,n){"use strict";var o=n("55bd"),r=n.n(o);r.a},ae49:function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("4c1a");o(n("3240"));var r=o(n("05c2"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},f955:function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n("7ca3")),i=n("8f59");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}var u={components:{},data:function(){return{list:[]}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,i.mapGetters)(["base"])),onLoad:function(){},onShow:function(){this.getList()},methods:{useAddress:function(e){t.setStorageSync("address_id",e.id),t.navigateBack({delta:1})},getList:function(){var t=this;this.$util.get("user/address/list").then((function(e){1==e.code&&(t.list=e.data)}))},onDel:function(e){var n=this;t.showModal({title:"提示",content:"确认删除吗？",success:function(t){t.confirm&&n.$util.get("user/address/del",{id:n.list[e].id}).then((function(t){1==t.code?n.list.splice(e,1):n.toast(t.message)}))}})}}};e.default=u}).call(this,n("df3c")["default"])}},[["ae49","common/runtime","common/vendor"]]]);