提交 78dce6ac 编写于 作者: guofeng.chen's avatar guofeng.chen

修改显示

上级 af15893f
......@@ -51,6 +51,7 @@ export default {
line-height: 14px;
display: flex;
flex-direction: row;
white-space: nowrap;
span {
font-size: 16px;
color: #676869;
......
......@@ -173,8 +173,8 @@ export default {
if (this.proved && this.player.currentTime >= this.proved) {
return;
}
this.player.style.display = 'block';
if (isPaused) {
this.player.style.display = 'block';
this.player.play();
this.showProved = false;
} else {
......@@ -188,6 +188,7 @@ export default {
if (!this.isWechat) {
return;
}
this.player.style.display = 'block';
const { url = '', poster = '', proved = 0, history = 0, enable = true } = opts;
this.loaded = false;
this.player.src = url;
......@@ -220,7 +221,6 @@ export default {
}
const loop = () => {
if (this.loaded) {
this.player.style.display = 'block';
this.player.play();
this.isPaused = false;
this.reportOnOff(1);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册