Browse Source

修改视屏显示问题

lex-xin 4 years ago
parent
commit
0ae0a07e74

File diff suppressed because it is too large
+ 0 - 0
dist/app.38b25deb5f0afd8afd5b.js


BIN
dist/app.a327cab12466414ac1d9.js.gz → dist/app.38b25deb5f0afd8afd5b.js.gz


+ 1 - 0
dist/css/LookVideo.02a323cc.css

@@ -0,0 +1 @@
+.lookVideo[data-v-0b1518f4]{min-height:100vh;background-color:#fff;overflow-x:hidden;overflow-y:auto}.video[data-v-0b1518f4]{width:100%;height:2rem;background:#f6f6f6}

+ 0 - 1
dist/css/LookVideo.8951ca48.css

@@ -1 +0,0 @@
-.lookVideo[data-v-9fdb8de8]{min-height:100vh;background-color:#fff;overflow-x:hidden;overflow-y:auto}.video[data-v-9fdb8de8]{width:100%;height:2rem;background:#f6f6f6}

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


+ 0 - 1
dist/js/LookVideo.6097847b.js

@@ -1 +0,0 @@
-(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"},[n("video",{staticClass:"video",attrs:{controls:"controls",type:"video/mp4",preload:"auto",src:e.videoUrl}})])},o=[],r=n("cf45"),a={name:"lookVideo",data:function(){var e=this.$route.query;return{headerStatus:!1,videoUrl:decodeURIComponent(e.url)}},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("dc1c"),n("2877")),u=Object(c["a"])(d,i,o,!1,null,"9fdb8de8",null);t["default"]=u.exports},"5b94":function(e,t,n){},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}},dc1c:function(e,t,n){"use strict";var i=n("5b94"),o=n.n(i);o.a}}]);

+ 1 - 0
dist/js/LookVideo.e8de151e.js

@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["LookVideo"],{"08eb":function(e,t,n){},"2b9b":function(e,t,n){"use strict";var i=n("08eb"),o=n.n(i);o.a},"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",type:"video/mp4",preload:"auto",src:e}})])})),0)},o=[],r=n("cf45"),a={name:"lookVideo",data:function(){var e=this.$route.query,t=decodeURIComponent(e.url);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("2b9b"),n("2877")),u=Object(c["a"])(d,i,o,!1,null,"0b1518f4",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}}}]);

+ 7 - 3
src/views/app/LookVideo.vue

@@ -1,7 +1,9 @@
 <template>
 	<div class="lookVideo">
 		<!-- <m-header v-if="headerStatus" /> -->
-		<video class="video" controls="controls" type="video/mp4" preload="auto" :src="videoUrl"></video>
+		<div v-for="i in videoUrl" :key="i">
+			<video class="video" controls="controls" type="video/mp4" preload="auto" :src="i"></video>
+		</div>
 	</div>
 </template>
 <script>
@@ -9,10 +11,12 @@
 	export default {
 		name: "lookVideo",
 		data() {
-            let query = this.$route.query
+			const query = this.$route.query
+			let tempUrl = decodeURIComponent(query.url)
+			tempUrl = tempUrl.split(',')
 			return {
 				headerStatus: false,
-                videoUrl: decodeURIComponent(query.url)
+                videoUrl: tempUrl
 			};
 		},
 		mounted() {

Some files were not shown because too many files changed in this diff