(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/views/user/myaddress"],{"138f":function(e,n,t){"use strict";(function(e){t("2804");o(t("66fd"));var n=o(t("5575"));function o(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,t("543d")["createPage"])},"1f32":function(e,n,t){"use strict";var o=t("5dfc"),s=t.n(o);s.a},2053:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t("c041"),s=getApp(),i=function(){t.e("pages/commponent/public/loading").then(function(){return resolve(t("7c23"))}.bind(null,t)).catch(t.oe)},a={data:function(){return{colors:"",addressList:[{name:"张三",phone:"12345678915",address:"北京市海淀区",moreAddres:"苏家坨乡前沙涧村15号",isdefult:1,id:1},{name:"李四",phone:"12345678915",address:"北京市海淀区",moreAddres:"苏家坨乡前沙涧村15号",isdefult:0,id:2}],isShow:!0,type:""}},components:{loading:i},props:{},onLoad:function(e){var n=this,t=e.type||"";this.setData({colors:s.globalData.newColor,type:t}),setTimeout((function(){n.setData({isShow:!1})}),600)},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{editAddress:function(n){e.navigateTo({url:"/pages/views/user/address/edit?type=edit&address="+JSON.stringify(n)})},addAddress:function(){e.navigateTo({url:"/pages/views/user/address/edit?type=add"})},onsetAddress:function(n){(this.type="select")&&((0,o.setAddress)(n),e.navigateBack(-1))},delAddress:function(n,t){var o=this;e.showModal({title:"提示",content:"确认要删除该地址吗?",confirmText:"删除",confirmColor:this.colors,success:function(n){n.confirm&&(e.showToast({title:"删除成功~",icon:"none"}),o.addressList.splice(t,1))}})}}};n.default=a}).call(this,t("543d")["default"])},5575:function(e,n,t){"use strict";t.r(n);var o=t("672e"),s=t("d8c2");for(var i in s)"default"!==i&&function(e){t.d(n,e,(function(){return s[e]}))}(i);t("1f32");var a,d=t("f0c5"),r=Object(d["a"])(s["default"],o["b"],o["c"],!1,null,"65956d66",null,!1,o["a"],a);n["default"]=r.exports},"5dfc":function(e,n,t){},"672e":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return s})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var s=function(){var e=this,n=e.$createElement;e._self._c},i=[]},d8c2:function(e,n,t){"use strict";t.r(n);var o=t("2053"),s=t.n(o);for(var i in o)"default"!==i&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=s.a}},[["138f","common/runtime","common/vendor"]]]);