(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-shipping-address/app-shipping-address"],{"000d":function(e,t,n){"use strict";n.r(t);var a=n("3f27"),i=n("c5a8");for(var d in i)"default"!==d&&function(e){n.d(t,e,(function(){return i[e]}))}(d);n("65d5");var o,s=n("f0c5"),u=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"baeacef0",null,!1,a["a"],o);t["default"]=u.exports},"3f27":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return a}));var i=function(){var e=this,t=e.$createElement;e._self._c},d=[]},"65d5":function(e,t,n){"use strict";var a=n("dc71"),i=n.n(a);i.a},c5a8:function(e,t,n){"use strict";n.r(t);var a=n("cb8e"),i=n.n(a);for(var d in a)"default"!==d&&function(e){n.d(t,e,(function(){return a[e]}))}(d);t["default"]=i.a},cb8e:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){n.e("components/basic-component/app-radio/app-radio").then(function(){return resolve(n("5241"))}.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:String},methods:{changeDefault:function(){var t=this;t.$request({url:t.$api.user.address_default,method:"POST",data:{id:t.item.id,type:t.type,is_default:1==t.item.is_default?0:1}}).then((function(n){0===n.code?t.$emit("handleAddress"):e.showToast({title:n.msg,icon:"none"})}))},edit:function(){e.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 t=this;e.showModal({content:"确定删除收货地址",success:function(n){n.confirm&&t.$request({url:t.destroy_url,method:"POST",data:{id:t.item.id}}).then((function(n){0===n.code?t.$emit("handleAddress","delete"):e.showToast({title:n.msg,icon:"none"})}))}})}}};t.default=i}).call(this,n("543d")["default"])},dc71:function(e,t,n){}}]);
;(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__("000d"))
        })
    },
    [['components/page-component/app-shipping-address/app-shipping-address-create-component']]
]);
