(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/service_box/choiceBox"],{"05a3":function(t,e,n){},"65c5":function(t,e,n){"use strict";var c=n("05a3"),a=n.n(c);a.a},"6f14":function(t,e,n){"use strict";n.r(e);var c=n("c22e"),a=n("c023");for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("65c5");var i,o=n("f0c5"),s=Object(o["a"])(a["default"],c["b"],c["c"],!1,null,null,null,!1,c["a"],i);e["default"]=s.exports},a76c:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=a(n("a34a"));function a(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n,c,a,r,i){try{var o=t[r](i),s=o.value}catch(u){return void n(u)}o.done?e(s):Promise.resolve(s).then(c,a)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(c,a){var i=t.apply(e,n);function o(t){r(i,c,a,o,s,"next",t)}function s(t){r(i,c,a,o,s,"throw",t)}o(void 0)}))}}var o={name:"productdetailspage",onLoad:function(t){console.log(t.data),this.service=JSON.parse(t.data),console.log(this.service)},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:"",service:""}},methods:{submitCollect:function(){var e=i(c.default.mark((function e(n){var a;return c.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[n.currentTarget.dataset.itemindex].docter[n.currentTarget.dataset.index].is_collect=a.data.is_collect):(t.showToast({title:"关注成功",icon:"none"}),this.packs.team[n.currentTarget.dataset.itemindex].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(c.default.mark((function t(){var e;return c.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log(this.service),t.next=3,this.$request.post("/api/v1/ServicePack/servicePackDetail",{service_pack_id:this.service.service_pack_id});case 3:e=t.sent,console.log(e),0==e.status&&(this.packs=e.data);case 6: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 c=n("a76c"),a=n.n(c);for(var r in c)"default"!==r&&function(t){n.d(e,t,(function(){return c[t]}))}(r);e["default"]=a.a},c22e:function(t,e,n){"use strict";var c;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return c}));var a=function(){var t=this,e=t.$createElement;t._self._c},r=[]},d862:function(t,e,n){"use strict";(function(t){n("02cf");c(n("66fd"));var e=c(n("6f14"));function c(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["d862","common/runtime","common/vendor"]]]);