|
@@ -391,6 +391,7 @@ export default {
|
|
|
uni.$on('changeSection', oldSectionId => {
|
|
|
console.log(this.playVID)
|
|
|
this.photoConfig = false
|
|
|
+ this.photoIndex = 0
|
|
|
var polyvPlayerContext = this.selectComponent('#playerVideo');
|
|
|
if(polyvPlayerContext){
|
|
|
//解决同个节视频切换问题
|
|
@@ -403,6 +404,7 @@ export default {
|
|
|
uni.$on('getSection', item => {
|
|
|
//清除直播
|
|
|
this.photoConfig = false
|
|
|
+ this.photoIndex = 0
|
|
|
this.$store.commit('setPlayChannelId', { playChannelId: 0 });
|
|
|
//获取拍照历史
|
|
|
this.getPhotoLastRecord()
|
|
@@ -525,8 +527,8 @@ export default {
|
|
|
if(s>totalVideoTime){
|
|
|
s = totalVideoTime-1
|
|
|
}
|
|
|
- if(s<2){
|
|
|
- s =1
|
|
|
+ if(s<=5){
|
|
|
+ s =5 //避免出现5秒内拍照时间
|
|
|
}
|
|
|
this.photoList.push(s)
|
|
|
initSpace+=spaceTime
|