|
@@ -130,7 +130,7 @@ export default {
|
|
activeNames: ["first"],
|
|
activeNames: ["first"],
|
|
player: null,
|
|
player: null,
|
|
videoArr: [],
|
|
videoArr: [],
|
|
- times:''
|
|
|
|
|
|
+ times: "",
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -193,10 +193,10 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async getSetting() {
|
|
async getSetting() {
|
|
- const { data } = await getSetting({ keys: ["SENG_VIDEO_MSG"]});
|
|
|
|
|
|
+ const { data } = await getSetting({ keys: ["SENG_VIDEO_MSG"] });
|
|
console.log(data);
|
|
console.log(data);
|
|
- this.times = Number(data.SENG_VIDEO_MSG)
|
|
|
|
- console.log(this.times)
|
|
|
|
|
|
+ this.times = Number(data.SENG_VIDEO_MSG);
|
|
|
|
+ console.log(this.times);
|
|
},
|
|
},
|
|
//点击重新播放
|
|
//点击重新播放
|
|
refLook() {
|
|
refLook() {
|
|
@@ -316,7 +316,10 @@ export default {
|
|
let that = this;
|
|
let that = this;
|
|
playTimeInterval = setInterval(function () {
|
|
playTimeInterval = setInterval(function () {
|
|
that.playTime = parseInt(myPlayer.currentTime());
|
|
that.playTime = parseInt(myPlayer.currentTime());
|
|
- if (Math.floor(that.playTime / that.times) > 0 && that.playTime % that.times == 0) {
|
|
|
|
|
|
+ if (
|
|
|
|
+ Math.floor(that.playTime / that.times) > 0 &&
|
|
|
|
+ that.playTime % that.times == 0
|
|
|
|
+ ) {
|
|
that.lookRecord();
|
|
that.lookRecord();
|
|
console.log(that.playTime, "that.playTime");
|
|
console.log(that.playTime, "that.playTime");
|
|
}
|
|
}
|
|
@@ -446,8 +449,8 @@ export default {
|
|
margin: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
- position: fixed;
|
|
|
|
- top: 145px;
|
|
|
|
|
|
+ // position: fixed;
|
|
|
|
+ // top: 145px;
|
|
width: 100%;
|
|
width: 100%;
|
|
background-color: #e5e5e5;
|
|
background-color: #e5e5e5;
|
|
height: 100%;
|
|
height: 100%;
|