(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-73ab7664"],{"1b69":function(t,e,n){"use strict";n("96cf");var i=n("1da1"),r=n("5daa"),a=n("5f87"),o={};window.ajaxTimeout=2e4,e.a=Object(i.a)(regeneratorRuntime.mark((function t(){var e,n,s,c,u,d,p,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<l.length&&void 0!==l[0]?l[0]:"",n=1<l.length&&void 0!==l[1]?l[1]:{},c=3<l.length&&void 0!==l[3]?l[3]:{},u=4<l.length&&void 0!==l[4]?l[4]:o,d=5<l.length?l[5]:void 0,s=(s=2<l.length&&void 0!==l[2]?l[2]:"GET").toLowerCase(),p={method:s,baseURL:"",url:r.a.baseURL+e,data:n,params:c,processData:!0,timeout:window.ajaxTimeout,headers:u,onUploadProgress:d},d&&"function"==typeof d&&(p.onUploadProgress=d),axios.interceptors.request.use((function(t){return t.data.token||(t.data.token=Object(a.d)()),t}),(function(t){return Promise.reject(new Error("服务器异常，请联系管理员！"))})),axios.interceptors.response.use(function(){var t=Object(i.a)(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return 200===e.status&&100<=(n=e.data.code)&&n<=104&&Object(a.e)(),t.abrupt("return",e);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),(function(t){return Promise.reject(t.response.data)})),t.abrupt("return",new Promise((function(t,e){axios(p).then((function(e){t(e.data)})).catch((function(t){t.response&&t.response.data?e(t.response.data):e(t)}))})));case 12:case"end":return t.stop()}}),t)})))},"3c64":function(t,e,n){"use strict";n("c3c3")},"9f53":function(t,e,n){"use strict";n("433b");var i,r=n("d399");n("96cf"),n=n("1da1");e.a={methods:{logout:(i=Object(n.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/login"!==this.$route.path)return t.next=3,this.$store.dispatch("user/logout");t.next=4;break;case 3:this.$router.push("/login");case 4:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)}),show_title:function(t){Object(r.a)({message:t})}}}},bf1c:function(t,e,n){"use strict";var i=n("1b69");e.a={list:function(t,e){return Object(i.a)("home/obtainlist",t,"post",e)},detail:function(t,e){return Object(i.a)("home/preview",t,"post",e)}}},c288:function(t,e,n){"use strict";n.r(e),n("96cf");var i,r,a=n("1da1"),o=n("bf1c");a={mixins:[n("9f53").a],data:function(){return{Options:{},img:"",url:""}},created:(r=Object(a.a)(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return window.onresize=function(){e.getHeight()},this.id=this.$route.query.id||"0",this.initOPtions(),t.next=5,this.initData();case 5:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)}),mounted:function(){var t=this;this.$nextTick((function(){t.getHeight()}))},methods:{getHeight:function(){},onClickLeft:function(){window.history.back(-1)},initData:(i=Object(a.a)(regeneratorRuntime.mark((function t(){var e,n,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.a.detail({id:this.id});case 2:if(!(e=t.sent)||0!==e.code){t.next=10;break}i=e.data,n=i.video_url,i=i.video_img,this.img=i,this.url=n,this.initOPtions(),t.next=16;break;case 10:if(e&&100<=e.code&&e.code<=104)return t.next=13,this.logout();t.next=15;break;case 13:t.next=16;break;case 15:this.show_title(e.msg);case 16:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)}),initOPtions:function(){this.Options={autoplay:!1,muted:!1,loop:!1,preload:"auto",language:"zh-CN",aspectRatio:"16:10",fluid:!0,sources:[{type:"application/x-mpegURL",src:this.url,poster:this.img,notSupportedMessage:"此视频暂无法播放，请稍后再试",controlBar:{timeDivider:!0,durationDisplay:!0,remainingTimeDisplay:!1,fullscreenToggle:!0}}]}}}},n("3c64"),n=n("2877"),a=Object(n.a)(a,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"liveD"},[e("van-nav-bar",{staticClass:"van-nav-bar-my-fixed",attrs:{title:"订单详情","left-arrow":"",fixedfixed:""},on:{"click-left":t.onClickLeft}}),e("div",{staticClass:"page-main",staticStyle:{"padding-top":"44px"}},[e("video-player",{ref:"videoPlayer",staticStyle:{width:"100%"},attrs:{id:"videoPlayer",playsinline:!0,options:t.Options}})],1)],1)}),[],!1,null,"5955cec4",null);e.default=a.exports},c3c3:function(t,e,n){}}]);