(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/pages/introduce/introduce"],{3075:function(e,n,o){"use strict";(function(e){o("fdf4");r(o("66fd"));var n=r(o("d190"));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=o,e(n.default)}).call(this,o("543d")["createPage"])},5283:function(e,n,o){"use strict";o.r(n);var r=o("fa88"),t=o.n(r);for(var a in r)"default"!==a&&function(e){o.d(n,e,(function(){return r[e]}))}(a);n["default"]=t.a},6184:function(e,n,o){},"8cc8":function(e,n,o){"use strict";var r=o("6184"),t=o.n(r);t.a},c559:function(e,n,o){"use strict";var r;o.d(n,"b",(function(){return t})),o.d(n,"c",(function(){return a})),o.d(n,"a",(function(){return r}));var t=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.showPop=!1})},a=[]},d190:function(e,n,o){"use strict";o.r(n);var r=o("c559"),t=o("5283");for(var a in t)"default"!==a&&function(e){o.d(n,e,(function(){return t[e]}))}(a);o("8cc8");var i,d=o("f0c5"),c=Object(d["a"])(t["default"],r["b"],r["c"],!1,null,"59fb85b9",null,!1,r["a"],i);n["default"]=c.exports},fa88:function(e,n,o){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o("057a"),t={data:function(){return{userPhone:"",userName:"",isChecked:!1,notVip:!0,is_vip:0,showPop:!1,order_no:"",order_id:"",remark:"",userInfo:"",areaName:"中国大陆",areaCode:"+86"}},onLoad:function(e){this.order_id=e.order_id,this.order_no=e.order_no,this.remark=e.remark},created:function(){var n=this;e.$on("CHOOSEPHONECODE",(function(e,o){n.areaName=e,n.areaCode=o}))},methods:{toBind:function(){var n=this,o=this.remark?r.editBindRecomer:r.bindRecomer,t=this.remark?{id:this.userInfo.id,order_id:this.order_id,remark:this.remark}:{id:this.userInfo.id,order_id:this.order_id};o(t).then((function(o){n.showPop=!1,200===o.code?e.showModal({content:n.remark?"更换介绍人成功":"绑定介绍人成功",showCancel:!1,success:function(o){e.reLaunch({url:"../../../pages/order-info/order-info?order_no="+n.order_no})}}):e.showModal({content:o.data,showCancel:!1})}))},addUser:function(){var n=this;return this.userPhone?this.userName?(e.showLoading({title:"提交中..."}),void(0,r.addUser)({phone:this.userPhone,is_vip:"",nickname:this.userName,code:this.areaCode}).then((function(o){200==o.code?(n.userInfo=o.data,n.showPop=!0):e.showModal({content:o.data||"添加失败",showCancel:!1}),e.hideLoading()})).catch((function(){e.hideLoading()}))):(e.showModal({content:"请先输入昵称",showCancel:!1}),!1):(e.showModal({content:"请先输入手机号",showCancel:!1}),!1)}}};n.default=t}).call(this,o("543d")["default"])}},[["3075","common/runtime","common/vendor"]]]);