Commit 6dd73681 authored by spc's avatar spc

fixed home.vue

parent 131cc66f
......@@ -705,7 +705,7 @@ export default {
componentContent: item.title
});
if (item.videoUrl) {
this.currentVideoUrl = this.$baseUrl + item.videoUrl;
this.currentVideoUrl = item.videoUrl.indexOf('http') === -1 ? this.$baseUrl + item.videoUrl : item.videoUrl;
this.showVideo = true;
return;
}
......@@ -1143,7 +1143,7 @@ export default {
if (this.floatIcon.videoUrl) {
// 播放视频
this.currentVideoUrl = this.$baseUrl + this.floatIcon.videoUrl;
this.currentVideoUrl = this.floatIcon.videoUrl.indexOf('http') === -1 ? this.$baseUrl + this.floatIcon.videoUrl : this.floatIcon.videoUrl;
this.showVideo = true;
return;
} else if (this.floatIcon.link) {
......@@ -1757,9 +1757,9 @@ export default {
.channelscroll {
width: 718rpx;
overflow-y: scroll;
// overflow-y: scroll;
margin-top: 32rpx;
height: 620rpx;
// height: 620rpx;
.box {
display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment