好的,谢谢
广告组件被驳回,但不是太明白原因,测试都没有被遮挡问题小程序广告组件驳回原因: 1. 你的广告位数据表现大幅偏离正常范围,请检查广告位是否与页面内其他内容重叠或者相连,请做好所有常用机型下的展示适配。此外,请确保没有进行任何形式的诱导点击广告违规行为。广告位整改后可重新提交审核,通过审核后可正常展示。如果数据表现持续异常,可能会暂停流量主功能的使用。 如上,我们测试都没有问题,请问具体需要怎么修改
2019-12-23[图片]
云函数报错- 当前 Bug 的表现(可附上截图) 请求报错 [图片] - 预期表现 - 复现路径 - 提供一个最简复现 Demo
2018-09-26[图片]
backgroundAudioManager背景音乐播放器移动端精度不对的问题- 当前 Bug 的表现(可附上截图) 这是编辑器输出的时间 精度是浮点数 [图片] 这是android 华为输出的时间 精度是整数 [图片] - 预期表现 - 复现路径 - 提供一个最简复现 Demo var innerAudioContext = wx.getBackgroundAudioManager(); innerAudioContext.title = 'T' innerAudioContext.epname = 'T' innerAudioContext.singer = 'T' innerAudioContext.coverImgUrl = 'T' innerAudioContext.src = 'http://mp3.henduoge.com/mp3/2018-05-17/1526537594.mp3' innerAudioContext.onTimeUpdate((call)=>{ console.log(innerAudioContext.currentTime.toFixed(6)) })
2018-05-18楼主我也遇到同样的问题请问有解决方案吗?
<video>组件bindtimeupdate设备currentTime精度问题首先频率有问题: https://developers.weixin.qq.com/blogdetail?action=get_post_info&docid=00006e5976cf9866f726a217b51800&highline=video%7C%26%E7%BB%84%E4%BB%B6%7C%26%E7%9A%84%7C%26bindtimeupdate&token=905838030&lang=zh_CN 但是精度有问题,模拟器上出来是是浮点数,设备上(iOS,Android)都是整数: 代码如下: [代码]onStartPlay () {[代码][代码] [代码][代码]this[代码][代码].startWallClcokInSec = [代码][代码]new[代码] [代码]Date().getTime() / 1000[代码][代码] [代码][代码]this[代码][代码].lastVideoTimeInSec = 0.0[代码][代码]},[代码][代码]onTimeUpdate (e) {[代码][代码] [代码][代码]var[代码] [代码]currentWallClockInSec = [代码][代码]new[代码] [代码]Date().getTime() / 1000[代码][代码] [代码][代码]var[代码] [代码]currentVideoTimeInSec = e.mp.detail.currentTime[代码][代码] [代码][代码]var[代码] [代码]wallClock = currentWallClockInSec - [代码][代码]this[代码][代码].startWallClcokInSec[代码][代码] [代码][代码]console.log(`wallclock:${(wallClock).toFixed(3)}, videoTime: ${(currentVideoTimeInSec).toFixed(3)}`)[代码][代码]}[代码]模拟器输出: [代码]wallclock:1.247, videoTime: 1.098[代码][代码]wallclock:1.747, videoTime: 1.598[代码][代码]wallclock:1.997, videoTime: 1.848[代码][代码]wallclock:2.248, videoTime: 2.098[代码][代码]wallclock:2.747, videoTime: 2.598[代码][代码]wallclock:3.247, videoTime: 3.098[代码][代码]wallclock:3.747, videoTime: 3.598[代码][代码]wallclock:3.997, videoTime: 3.848[代码] iOS输出: [代码]wallclock:0.232, videoTime: 0.000[代码][代码]wallclock:0.234, videoTime: 0.000[代码][代码]wallclock:1.235, videoTime: 1.000[代码][代码]wallclock:2.251, videoTime: 2.000[代码][代码]wallclock:3.237, videoTime: 3.000[代码][代码]wallclock:4.241, videoTime: 4.000[代码][代码]wallclock:4.875, videoTime: 4.000[代码] bindtimeupdate参数:(貌似进来只是个整数?) [代码]JSON.stringify(e, null, 2):[代码][代码][代码]"{ "mp": { "type": "timeupdate", "target": { "dataset": { "eventid": "0" }, "id": "", "offsetTop": 0, "offsetLeft": 0 }, "currentTarget": { "dataset": { "eventid": "0" }, "id": "", "offsetTop": 0, "offsetLeft": 0 }, "timeStamp": 78938, "detail": { "currentTime": 4, "duration": 4.63 } }, "type": "timeupdate", "timeStamp": 78938, "target": { "dataset": { "eventid": "0" }, "id": "", "offsetTop": 0, "offsetLeft": 0, "currentTime": 4, "duration": 4.63 }, "currentTarget": { "dataset": { "eventid": "0" }, "id": "", "offsetTop": 0, "offsetLeft": 0 } }" [代码][代码] 设备信息: {"errMsg":"getSystemInfo:ok","batteryLevel":95,"version":"6.6.6","system":"iOS 11.3","windowHeight":603,"pixelRatio":2,"screenHeight":667,"language":"zh_CN","statusBarHeight":20,"windowWidth":375,"model":"iPhone 7<iPhone9,1>","screenWidth":375,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"1.9.98"}
2018-05-18