cover-image 有时候不显示
发布于 6 年前 作者 bdeng 8789 次浏览 来自 问答

页面从首页跳转到视频页面,cover-image 有时候显示,有时候不显示;原因待解;

代码如下:

<video wx:if="{{!videoPlay}}" id=“myVideo” class=“mainvideo” src="{{content.playUrl}}">  

<cover-view wx:if="{{!coverHide}}" class=“coverimg” bindtap=“playVideo”>

<cover-image src="{{content.imageUrl}}" binderror=“imgreload” class=“img”></cover-image>

<cover-image src="/pages/img/play_icon80.png" binderror=“imgreload” class=“play-icon”></cover-image>

</cover-view>

</video>

视频封面图.img不显示,.play-icon是静态资源,会显示

回到顶部