(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-shipping-address/app-shipping-address"],{"0763":function(e,t,n){"use strict";n.r(t);var i=n("8d8e"),d=n("4a64");for(var a in d)"default"!==a&&function(e){n.d(t,e,(function(){return d[e]}))}(a);n("31da");var o,r=n("f0c5"),s=Object(r["a"])(d["default"],i["b"],i["c"],!1,null,"36001f45",null,!1,i["a"],o);t["default"]=s.exports},"31da":function(e,t,n){"use strict";var i=n("415a"),d=n.n(i);d.a},"415a":function(e,t,n){},"4a64":function(e,t,n){"use strict";n.r(t);var i=n("9f6e"),d=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=d.a},"8d8e":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var d=function(){var e=this,t=e.$createElement,n=(e._self._c,e.verifyUndefined(e.item.name)),i=e.verifyUndefined(e.item.sex),d=e.verifyUndefined(e.item.mobile),a=e.verifyUndefined(e.item.age),o=e.verifyUndefined(e.item.weight),r=e.verifyUndefined(e.item.height),s=e.verifyUndefined(e.item.idcard);e.$mp.data=Object.assign({},{$root:{m0:n,m1:i,m2:d,m3:a,m4:o,m5:r,m6:s}})},a=[]},"9f6e":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){n.e("components/basic-component/app-radio/app-radio").then(function(){return resolve(n("f291"))}.bind(null,n)).catch(n.oe)},d={name:"app-shipping-address",components:{appRadio:i},props:{item:{type:Object},is_hide_default_btn:{type:Boolean,default:!1},destroy_url:{type:String,default:""},is_refund_address:{type:Number,default:0}},methods:{verifyUndefined:function(e){return"undefined"==typeof e||""==e||"undefined"==e?"":e},changeDefault:function(){var t=this;t.$request({url:t.$api.user.address_default,method:"POST",data:{id:t.item.id,is_default:1==t.item.is_default?0:1}}).then((function(n){0===n.code?t.$emit("handleAddress","price-sort-default.png"):e.showToast({title:n.msg,icon:"none"})})).catch((function(){}))},edit:function(){e.navigateTo({url:"/pages/address/address-edit?id="+this.item.id+"&is_refund_address="+this.is_refund_address})},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"})})).catch((function(){})):n.cancel}})}}};t.default=d}).call(this,n("543d")["default"])}}]);
;(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__("0763"))
        })
    },
    [['components/page-component/app-shipping-address/app-shipping-address-create-component']]
]);
