在真机上cover-view和cover-image无法覆盖在live-pusher上 在开发工具上没问题 之前也看到其他人在社区反馈了这个问题 但官方没有给出解决方案 我的cover-view和cover-image是写在live-pusher里的
<live-pusher
id="pushPlayer"
orientation="{{orientation}}"
mode="{{mode}}"
device-position="{{devicePosition}}"
voice="{{voice}}"
beauty="{{beauty}}"
class="live-pusher"
waiting-image="../../images/wait_bg.png"
mode="FHD"
autopush="{{autopush}}"
@statechange="statechange"
@netstatus="netstatusChange"
url="{{pushUrl}}"
>
<cover-view>
<cover-view class="icon_code" @tap="toggleCode">
<cover-image src="../../images/icon_code.png" />
</cover-view>
<cover-view class="icon_camera" @tap="toggleCamera">
<cover-image src="../../images/icon_camera.png" />
</cover-view>
<cover-view class="icon_voice" @tap="toggleVoice">
<cover-image src="{{voice === 'false' ? '../../images/icon_voice.png' : '../../images/icon_voice_close.png'}}" />
</cover-view>
<cover-view class="icon_beauty" @tap="toggleBeauty">
<cover-image src="../../images/icon_beauty.png" />
</cover-view>
<cover-view class="icon_play" @tap="beginPush" hidden="{{isHiddenPlay}}">
<cover-image src="../../images/icon_play.png" />
</cover-view>
<cover-view class="icon_pause" @tap="pausePush" hidden="{{isHiddenPause}}">
<cover-image src="../../images/icon_pause.png" />
</cover-view>
</cover-view>
</live-pusher>