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

修改显示

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