|
@@ -1,8 +1,8 @@
|
|
<template>
|
|
<template>
|
|
<view class="play">
|
|
<view class="play">
|
|
- <video-player v-if="videoUrl" :videoUrl="videoUrl" :initialTime="durationSeconds" @timeUpdate="handleTimeUpdate"></video-player>
|
|
|
|
|
|
+ <video-player v-if="videoUrl" :videoUrl="videoUrl" :initialTime="durationSeconds" :selanShow="selanShow" @timeUpdate="handleTimeUpdate" @chectSelanShow="chectSelanShow"></video-player>
|
|
<image v-else :src="videoData.thumbnail" class="cover_img"></image>
|
|
<image v-else :src="videoData.thumbnail" class="cover_img"></image>
|
|
- <view class="anthologys_detail">
|
|
|
|
|
|
+ <view v-if="selanShow" class="anthologys_detail">
|
|
<view class="anthology" @click="show = true">
|
|
<view class="anthology" @click="show = true">
|
|
<view class="ant">
|
|
<view class="ant">
|
|
<image :src="play_img" class="play"></image>
|
|
<image :src="play_img" class="play"></image>
|
|
@@ -92,11 +92,12 @@
|
|
return {
|
|
return {
|
|
id:'',
|
|
id:'',
|
|
type: 0,
|
|
type: 0,
|
|
- watchVo:{},
|
|
|
|
- videoData:{},
|
|
|
|
- sort:0,
|
|
|
|
- show: false,
|
|
|
|
- isPayShow: false,
|
|
|
|
|
|
+ watchVo:{},//点击短剧
|
|
|
|
+ videoData:{},//传入短剧信息
|
|
|
|
+ sort:0,//集数
|
|
|
|
+ show: false,//集数弹窗
|
|
|
|
+ isPayShow: false,//购买集数弹窗
|
|
|
|
+ selanShow: true,
|
|
videoUrl: '', //路径
|
|
videoUrl: '', //路径
|
|
play_img: defaultConfig.ossImgUrl + '/playVideo/video/ic_search.png',
|
|
play_img: defaultConfig.ossImgUrl + '/playVideo/video/ic_search.png',
|
|
coverImg: 'https://obs-fanxing.obs.cn-east-3.myhuaweicloud.com/retail/main/img_bgtop.png',
|
|
coverImg: 'https://obs-fanxing.obs.cn-east-3.myhuaweicloud.com/retail/main/img_bgtop.png',
|
|
@@ -190,6 +191,10 @@
|
|
if(type == this.type) return
|
|
if(type == this.type) return
|
|
type?this.type = 1:this.type = 0
|
|
type?this.type = 1:this.type = 0
|
|
},
|
|
},
|
|
|
|
+ //显示剧名集数
|
|
|
|
+ chectSelanShow(status){
|
|
|
|
+ this.selanShow = status
|
|
|
|
+ },
|
|
open() {
|
|
open() {
|
|
},
|
|
},
|
|
close() {
|
|
close() {
|