(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-shipping-address/app-shipping-address"],{"023b":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(){n.e("components/basic-component/app-radio/app-radio").then(function(){return resolve(n("b0e1"))}.bind(null,n)).catch(n.oe)},i={name:"app-shipping-address",components:{appRadio:a},props:{item:{type:Object},is_hide_default_btn:{type:Boolean,default:!1},destroy_url:{type:String,default:""},is_refund_address:{type:Number,default:0},type:{type:Number,default:0},theme:Object},methods:{changeDefault:function(){var e=this;e.$request({url:e.$api.user.address_default,method:"POST",data:{id:e.item.id,type:e.type,is_default:1==e.item.is_default?0:1}}).then((function(n){0===n.code?e.$emit("handleAddress"):t.showToast({title:n.msg,icon:"none"})}))},edit:function(){t.navigateTo({url:"/pages/address/address-edit?id=".concat(this.item.id,"&is_refund_address=").concat(this.is_refund_address,"&type=").concat(this.type)})},editStop:function(){this.$emit("handleStop","editStop")},destroy:function(){var e=this;t.showModal({content:"确定删除收货地址",success:function(n){n.confirm&&e.$request({url:e.destroy_url,method:"POST",data:{id:e.item.id}}).then((function(n){0===n.code?e.$emit("handleAddress","delete"):t.showToast({title:n.msg,icon:"none"})}))}})}}};e.default=i}).call(this,n("543d")["default"])},"0dc6":function(t,e,n){"use strict";n.r(e);var a=n("a5f7"),i=n("5a4f");for(var d in i)"default"!==d&&function(t){n.d(e,t,(function(){return i[t]}))}(d);n("c662");var o,s=n("f0c5"),u=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"4203a370",null,!1,a["a"],o);e["default"]=u.exports},"38cb":function(t,e,n){},"5a4f":function(t,e,n){"use strict";n.r(e);var a=n("023b"),i=n.n(a);for(var d in a)"default"!==d&&function(t){n.d(e,t,(function(){return a[t]}))}(d);e["default"]=i.a},a5f7:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return d})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},d=[]},c662:function(t,e,n){"use strict";var a=n("38cb"),i=n.n(a);i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/app-shipping-address/app-shipping-address-create-component',
    {
        'components/page-component/app-shipping-address/app-shipping-address-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("0dc6"))
        })
    },
    [['components/page-component/app-shipping-address/app-shipping-address-create-component']]
]);
