- 手机号权限申请在启动具体功能前,请问这个需要怎么修改?
小程序中、下单等一些操作前需要先进行登录,登录页使用button组件授权获取手机号码,请问哪里违规了,要怎么修改? [图片]
2023-11-27 - 为什么最近审核这么慢啊?
都好几天了还没动静
2021-03-09 - 视频列表多个视频无法控制只有一个视频处于播放状态?
<video style="width:690rpx" id="myVideo{{idx}}" poster="{{ossUrl+listItem.url+'?x-oss-process=video/snapshot,t_100,m_fast'}}" src="{{ossUrl+listItem.url}}" binderror="videoErrorCallback" object-fit="contain" show-play-btn="{{true}}" controls data-index='{{idx}}' bindtap="videoPlay"></video> //js videoPlay: function (e) { var that = this; var curIdx = e.currentTarget.dataset.index; // 有播放时先将prev暂停,再播放当前点击的current if (that.data.indexCurrent != null) { console.log('aa') var videoContextPrev = wx.createVideoContext('myVideo' + that.data.indexCurrent) if (that.data.indexCurrent != curIdx) { console.log('cc') videoContextPrev.pause() } that.setData({ indexCurrent: curIdx }) var videoContextCurrent = wx.createVideoContext('myVideo' + curIdx) videoContextCurrent.play() if(curIdx ==that.data.indexCurrent ){ videoContextPrev.pause() } } else { // 没有播放时播放视频 console.log('bb') that.setData({ indexCurrent: curIdx }) var videoContext = wx.createVideoContext('myVideo' + curIdx) //这里对应的视频id videoContext.play() } }, 网上找了很多个方法,在我这里都不行,上面写法有啥问题吗?
2020-11-25