- iphone6s plus cover-view点击事件触发报错
live-player组件内的 cover-view点击事件触发报错(其他机型暂未发现此问题) ******html******** <live-player id="videolivePlayer" src="{{playUrl}}" mode="RTC" autoplay='{{autoplay}}' class="live-player" object-fit='contain' background-mute="true" bindstatechange='livezt' bindfullscreenchange="qpzt"> <cover-view class='bind' bindtap='quanpinanniu'> <cover-view wx:if='{{fullScreen}}' hidden='{{quanpin}}' bindtap="tapName" class='zhibofanhui' style='width:48rpx;height:48rpx'> <cover-image src='../../imgs/fanhui.png' style='width:48rpx;height:48rpx'>cover-image> cover-view> <cover-view hidden='{{quanpin}}' class='quanpin'> <cover-image wx:if='{{fullScreen}}' src='../../imgs/quanpin2.png' style='width:64rpx;height:64rpx'>cover-image> <cover-image wx:else src='../../imgs/quanpin1.png' style='width:64rpx;height:64rpx'>cover-image> cover-view> cover-view> <cover-view class='livezwf' hidden='{{liveplayzwf==2}}'> <cover-view class='livezwftext'> {{boxcontent.hyztms}} cover-view> <cover-view class='livezwftextjszc'>技术支持:xx电子有限公司 cover-view> cover-view> <cover-view class='top' bindtap='focusshang ' hidden='{{livehiddens}}'> <cover-image src='../../imgs/fahongbao1.png' class='tops'> cover-image> <cover-view class='guanbi' bindtap='guanbi'>cover-view> cover-view> live-player> ******html******** ********js********* tapName: function () { var videoContext = wx.createLivePlayerContext("videolivePlayer") console.log(1) if (this.data.fullScreen) { console.log(2) videoContext.exitFullScreen({ direction: 0, success: function() {}, fail: function() {}, }) } else { console.log(3) videoContext.requestFullScreen({ direction: -90, success: function() {}, fail: function() {}, complete: function() {} }) } }, *******js******** 事件无法触发报错信息如下 [图片]
2018-07-03 - cover-view背景色设置无效 三天两头改组件api,真滴烦
map组件里创建cover-view,设置cover-view背景色无效,不管设置什么颜色都是透明色。之前都是正常使用的,今天发现背景色设置无效
2018-07-03