(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["BookingSet"],{"1bd0":function(t,e,n){"use strict";var a=n("cda8"),i=n.n(a);i.a},"38f0":function(t,e,n){"use strict";var a=n("5b7e"),i=n.n(a);i.a},"5b7e":function(t,e,n){},"6e6e":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mheader",style:{height:"calc("+t.titleHeight+"px + "+t.navBarHeight+"px)"}},[n("header",{staticClass:"m-nav-header",class:[t.isFixed?"fixed":""],style:[t.headStyle]},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isBack,expression:"isBack"}],staticClass:"m-nav-bar__left",on:{click:t.goBack}},[n("van-icon",{staticClass:"arrow-left",attrs:{name:"arrow-left"}})],1),n("div",{staticClass:"m-nav-bar__title"},[t._t("default",[t._v(t._s(t.name?t.name:this.$route.meta.descrition))])],2),n("div",{staticClass:"m-nav-bar__right"},[t._t("right")],2)])])},i=[],r=n("a34a"),o=n.n(r),s=n("ddf4");function c(t,e,n,a,i,r,o){try{var s=t[r](o),c=s.value}catch(l){return void n(l)}s.done?e(c):Promise.resolve(c).then(a,i)}function l(t){return function(){var e=this,n=arguments;return new Promise(function(a,i){var r=t.apply(e,n);function o(t){c(r,a,i,o,s,"next",t)}function s(t){c(r,a,i,o,s,"throw",t)}o(void 0)})}}var u={name:"mheader",props:{name:String,isNative:{type:Boolean,default:!0},isBack:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!0},backUrl:{type:Object,default:function(){return{callBack:null,path:"",params:{}}}}},data:function(){return{navBarHeight:0,headStyle:{},titleHeight:44}},mounted:function(){this.isNative||(Object(s["b"])({api:"setBarStatus",content:{status:0}}),this.getNav(),this.isBack=!1)},methods:{getNav:function(){var t=l(o.a.mark(function t(){var e,n,a=this;return o.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(e=sessionStorage.getItem("navHeight"),n=sessionStorage.getItem("titleHeight"),!e||!n){t.next=7;break}this.navBarHeight=e,this.headStyle={paddingTop:e+"px",height:n+"px",lineHeight:n+"px"},t.next=9;break;case 7:return t.next=9,Object(s["b"])({api:"getNavHeight"},function(t){var e=t.content,n={},i=e.dpi||2;if(e.navHeight){var r=e.navHeight/i;sessionStorage.setItem("navHeight",r),a.navBarHeight=r,n={paddingTop:r+"px"}}if(e.titleHeight){var o=e.titleHeight/i;sessionStorage.setItem("titleHeight",o),a.titleHeight=o,n.height=o+"px",n.lineHeight=o+"px"}a.headStyle=n});case 9:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),goBack:function(){var t=this.backUrl;"function"==typeof t.callBack?t.callBack():t.path?this.$router.push({path:t.path,query:t.params}):history.go(-1)}},beforeDestroy:function(){this.isNative||(Object(s["b"])({api:"setBarStatus",content:{status:1}}),this.isBack=!0)}},f=u,p=(n("38f0"),n("2877")),v=Object(p["a"])(f,a,i,!1,null,"6a74717c",null);e["a"]=v.exports},cda8:function(t,e,n){},ddf4:function(t,e,n){"use strict";n.d(e,"b",function(){return p}),n.d(e,"a",function(){return v});var a=n("ff51");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,a)}return n}function r(t){for(var e=1;e