同遇到了这个问题啊
live-player标签无法放到live-pusher标签上面想做一个类似微信视频聊天的样式,自己的是一个小框,对方是一个大背景,然后小框叠在对方的视频上。然后使用的是live-pusher和live-player标签。但是当双方都开始推流的时候,进行视频的时候,live-player的标签会盖住live-pusher标签,无法看见自己的。尝试了一些修改css的方法,都无法把live-pusher提到上面。请问这个有什么解决办法么?
2019-07-20[图片] 在vue里面为啥放在mounted()里面进入页面就提示分享成功了,在点击分享就没有反应了,分享也不成功了,求解,谢谢
微信开发1.4.0分享接口报错项目引用jweixin-1.4.0.js做分享,但是报错 {"errMsg":"updateAppMessageShareData:没有此SDK或暂不支持此SDK模拟"} [代码]const wx = require([代码][代码]'./jweixin-1.4.0.js'[代码][代码]);[代码][代码]// 分享配置[代码][代码]const share = {[代码][代码] [代码][代码]title: [代码][代码]"标题"[代码][代码],[代码][代码] [代码][代码]desc: [代码][代码]"描述"[代码][代码],[代码][代码] [代码][代码]link: [代码][代码]"链接"[代码][代码],[代码][代码] [代码][代码]imgUrl: [代码][代码]"图片"[代码][代码]};[代码][代码]// 微信鉴权设置[代码][代码]const wxOpt = {[代码][代码] [代码][代码]userid: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]debug: 1,[代码][代码] [代码][代码]appId: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]timestamp: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]noncestr: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]signature: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]apis: [[代码][代码] [代码][代码]"hideMenuItems"[代码][代码], [代码][代码]"showMenuItems"[代码][代码], [代码][代码]"hideAllNonBaseMenuItem"[代码][代码], [代码][代码]"showAllNonBaseMenuItem"[代码][代码],[代码][代码] [代码][代码]"translateVoice"[代码][代码], [代码][代码]"startRecord"[代码][代码], [代码][代码]"stopRecord"[代码][代码], [代码][代码]"onRecordEnd"[代码][代码], [代码][代码]"playVoice"[代码][代码], [代码][代码]"pauseVoice"[代码][代码],[代码][代码] [代码][代码]"stopVoice"[代码][代码], [代码][代码]"uploadVoice"[代码][代码], [代码][代码]"downloadVoice"[代码][代码], [代码][代码]"chooseImage"[代码][代码], [代码][代码]"previewImage"[代码][代码], [代码][代码]"uploadImage"[代码][代码],[代码][代码] [代码][代码]"downloadImage"[代码][代码], [代码][代码]"getNetworkType"[代码][代码], [代码][代码]"openLocation"[代码][代码], [代码][代码]"getLocation"[代码][代码], [代码][代码]"hideOptionMenu"[代码][代码], [代码][代码]"showOptionMenu"[代码][代码],[代码][代码] [代码][代码]"closeWindow"[代码][代码], [代码][代码]"scanQRCode"[代码][代码], [代码][代码]"chooseWXPay"[代码][代码], [代码][代码]"openProductSpecificView"[代码][代码], [代码][代码]"addCard"[代码][代码], [代码][代码]"chooseCard"[代码][代码], [代码][代码]"openCard"[代码][代码],[代码][代码] [代码][代码]"onMenuShareTimeline"[代码][代码], [代码][代码]"onMenuShareAppMessage"[代码][代码], [代码][代码]"updateAppMessageShareData"[代码][代码],[代码][代码]"updateTimelineShareData"[代码][代码] [代码][代码]][代码][代码]};[代码][代码]export [代码][代码]default[代码] [代码]{[代码][代码] [代码][代码]init() {[代码][代码] [代码][代码]wx.config({[代码][代码] [代码][代码]debug: wxOpt.debug,[代码][代码] [代码][代码]appId: wxOpt.appId,[代码][代码] [代码][代码]timestamp: wxOpt.timestamp,[代码][代码] [代码][代码]nonceStr: wxOpt.noncestr,[代码][代码] [代码][代码]signature: wxOpt.signature,[代码][代码] [代码][代码]jsApiList: wxOpt.apis[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]getWxConfig() {[代码][代码] [代码][代码]$.ajax({[代码][代码] [代码][代码]url: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]type: [代码][代码]"POST"[代码][代码],[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码]hash: [代码][代码]'less'[代码][代码],[代码][代码] [代码][代码]url: window.location.href.split([代码][代码]"#"[代码][代码])[0][代码][代码] [代码][代码]},[代码][代码] [代码][代码]async: !1,[代码][代码] [代码][代码]dataType: [代码][代码]"json"[代码][代码],[代码][代码] [代码][代码]success(e) {[代码][代码] [代码][代码]$.extend(wxOpt, e.data);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]Handler() {[代码][代码] [代码][代码]this[代码][代码].getWxConfig();[代码][代码] [代码][代码]this[代码][代码].init();[代码][代码] [代码][代码]wx.ready([代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]wx.hideMenuItems({[代码][代码] [代码][代码]menuList: [[代码][代码]"menuItem:share:weiboApp"[代码][代码], [代码][代码]"menuItem:share:facebook"[代码][代码], [代码][代码]"menuItem:openWithQQBrowser"[代码][代码], [代码][代码]"menuItem:openWithSafari"[代码][代码], [代码][代码]"menuItem:share:email"[代码][代码],[代码][代码]"menuItem:share:qq"[代码][代码],[代码][代码]"menuItem:share:weiboApp"[代码][代码],[代码][代码]"menuItem:share:QZone"[代码][代码]][代码][代码] [代码][代码]});[代码][代码] [代码][代码]wx.updateTimelineShareData({[代码][代码] [代码][代码]title: share.title,[代码][代码] [代码][代码]imgUrl: share.imgUrl,[代码][代码] [代码][代码]link: share.link,[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]wx.updateAppMessageShareData({[代码][代码] [代码][代码]title: share.title,[代码][代码] [代码][代码]desc: share.desc,[代码][代码] [代码][代码]imgUrl: share.imgUrl,[代码][代码] [代码][代码]link: share.link,[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]wx.onMenuShareTimeline({[代码][代码]//(即将废弃)[代码][代码] [代码][代码]title: share.title, [代码][代码]// 分享标题[代码][代码] [代码][代码]link: share.link, [代码][代码]// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致[代码][代码] [代码][代码]imgUrl: share.imgUrl, [代码][代码]// 分享图标[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]// 用户点击了分享后执行的回调函数[代码][代码] [代码][代码]},});[代码][代码] [代码][代码]wx.onMenuShareAppMessage({[代码][代码]//(即将废弃)[代码][代码] [代码][代码]title: share.title, [代码][代码]// 分享标题[代码][代码] [代码][代码]desc: share.desc, [代码][代码]// 分享描述[代码][代码] [代码][代码]link: share.link, [代码][代码]// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致[代码][代码] [代码][代码]imgUrl: share.imgUrl, [代码][代码]// 分享图标[代码][代码] [代码][代码]type: [代码][代码]'link'[代码][代码], [代码][代码]// 分享类型,music、video或link,不填默认为link[代码][代码] [代码][代码]dataUrl: [代码][代码]''[代码][代码], [代码][代码]// 如果type是music或video,则要提供数据链接,默认为空[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码]() {[代码][代码]// 用户点击了分享后执行的回调函数[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码]};[代码][图片] [图片] 微信打印也显示权限获取到了,但是还是报这个错误 jsapi也已经拿到了,请问有人出现过这个错误吗,有没有什么解决方案呢
2019-04-15url写成:'/pages/index/index' 即可
请问为什么wx.switchTab无法成功跳转到tabBar页面?请问为什么wx.switchTab无法成功跳转到tabBar页面? 如下设置 [图片]
2019-01-13这个有方法解决吗?我也遇到了这个问题
<picker-view>惯性滑动导致报错使用<picker-view>标签做了一个省市区三级联动 在其中一个滚动还没有结束时 滚动别的会报错 虽然点击确认的数据是对的 但是显示的数据是错的 有没有方法解决呢 [图片]
2018-09-13