LookVideo.838f090a.js 1.9 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["LookVideo"],{"3ace":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"lookVideo"},e._l(e.videoUrl,(function(e){return n("div",{key:e},[n("video",{staticClass:"video",attrs:{controls:"controls","webkit-playsinline":"true",type:"video/mp4",preload:"auto",src:e}})])})),0)},o=[],r=n("cf45"),a={name:"lookVideo",data:function(){var e=localStorage.getItem("examVideoUrl"),t=decodeURIComponent(e);return t=t.split(","),{headerStatus:!1,videoUrl:t}},mounted:function(){var e=this.$route.query;e.Authorization&&localStorage.setItem("Authorization",decodeURI(e.Authorization)),Object(r["a"])().android||Object(r["a"])().iPhone?document.title="考级回看":this.headerStatus=!0}},d=a,c=(n("f830"),n("2877")),u=Object(c["a"])(d,i,o,!1,null,"578bae90",null);t["default"]=u.exports},cf45:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r}));var i=function(){var e=navigator.userAgent;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("EXAMAPPA")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("EXAMAPPI")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,qq:" qq"==e.match(/\sQQ/i)}},o=function(e){var t=parseFloat(e);if(isNaN(t))return"0.00";t=Math.round(100*t)/100;var n=t.toString(),i=n.indexOf(".");i<0&&(i=n.length,n+=".");while(n.length<=i+2)n+="0";return n},r=function(e){return decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.href)||[,""])[1].replace(/\+/g,"%20"))||null}},f558:function(e,t,n){},f830:function(e,t,n){"use strict";var i=n("f558"),o=n.n(i);o.a}}]);