(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/service_box/choiceBox"],{"05a3":function(t,e,n){},"65c5":function(t,e,n){"use strict";var r=n("05a3"),a=n.n(r);a.a},"6f14":function(t,e,n){"use strict";n.r(e);var r=n("c7ff"),a=n("c023");for(var c in a)"default"!==c&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("65c5");var i,o=n("f0c5"),u=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],i);e["default"]=u.exports},a76c:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("a34a"));function a(t){return t&&t.__esModule?t:{default:t}}function c(t,e,n,r,a,c,i){try{var o=t[c](i),u=o.value}catch(s){return void n(s)}o.done?e(u):Promise.resolve(u).then(r,a)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(r,a){var i=t.apply(e,n);function o(t){c(i,r,a,o,u,"next",t)}function u(t){c(i,r,a,o,u,"throw",t)}o(void 0)}))}}var o={name:"productdetailspage",onLoad:function(t){this.service=JSON.parse(t.data)},mounted:function(){this.getservice()},data:function(){return{isfollow:!1,num:1,imgitem:{istrue:!1,name:"https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/xieyi.png"},packs:{},serviceid:""}},methods:{submitCollect:function(){var e=i(r.default.mark((function e(n){var a;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(n),e.next=3,this.$request.post("/api/v1/collection/submitCollect",{type:1,relation_id:n.currentTarget.dataset.id});case 3:a=e.sent,0==a.status&&(0==a.data.is_collect?(t.showToast({title:"取消成功",icon:"none"}),this.packs.team.docter[n.currentTarget.dataset.index].is_collect=a.data.is_collect):(t.showToast({title:"关注成功",icon:"none"}),this.packs.team.docter[n.currentTarget.dataset.index].is_collect=a.data.is_collect));case 5:case"end":return e.stop()}}),e,this)})));function n(t){return e.apply(this,arguments)}return n}(),getservice:function(){var t=i(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$request.post("/api/v1/order/orderDetail",{order_id:this.service.order_id});case 2:e=t.sent,0==e.status&&(this.packs=e.data);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}};e.default=o}).call(this,n("543d")["default"])},c023:function(t,e,n){"use strict";n.r(e);var r=n("a76c"),a=n.n(r);for(var c in r)"default"!==c&&function(t){n.d(e,t,(function(){return r[t]}))}(c);e["default"]=a.a},c7ff:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return r}));var a=function(){var t=this,e=t.$createElement;t._self._c},c=[]},d862:function(t,e,n){"use strict";(function(t){n("02cf");r(n("66fd"));var e=r(n("6f14"));function r(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["d862","common/runtime","common/vendor"]]]);