- 公众号关注组件无法显示?
official-account</official-account 扫描小程序二维码进入小程序,部分真机看不到关注公众号的组件,是什么问题,什么原因呢?
2020-01-09 - 页面内容接入 无效页面?
[图片] 这些页面我们自己都可以正常打开啊
2019-12-16 - 存在可能没有对请求进行缓存的情况?
如何对请求的接口进行缓存呢?
2019-11-18 - 底部tabBar消失了?
{ "pages": [ "pages/home/home", "pages/curriculum/curriculum", "pages/healthcenter/healthcenter", "pages/feedHome/feedHome", "pages/usercenter/usercenter", "pages/VIPrecord/VIPrecord", "pages/VIPopening/VIPopening", "pages/login/login", ], "requiredBackgroundModes": [ "audio" ], "window": { "backgroundTextStyle": "dark", "navigationBarBackgroundColor": "#fff", "navigationBarTitleText": "每日信健康", "navigationBarTextStyle": "black", "navigationStyle": "custom" }, "plugins": { "myPlugin": { "version": "1.3.11", "provider": "wx3e2d4341b783430d" } }, "networkTimeout": { "request": 15000, "downloadFile": 30000 }, "permission": { "scope.userLocation": { "desc": "是否允许获取位置信息" } }, "tabBar": { "borderStyle": "white", "color": "#979797", "selectedColor": "#00BCA7", "backgroundColor": "#FFFFFF", "list": [ { "pagePath": "pages/home/home", "iconPath": "images/tabBarIcon0.png", "selectedIconPath": "images/tabBarIcon0_act.png", "text": "首页" }, { "iconPath": "images/tabBarIcon5.png", "selectedIconPath": "images/tabBarIcon5_act.png", "text": "系列课", "pagePath": "pages/curriculum/curriculum" }, { "iconPath": "images/tabBarIcon4.png", "selectedIconPath": "images/tabBarIcon4_act.png", "text": "名医快问", "pagePath": "pages/healthcenter/healthcenter" }, { "iconPath": "images/tabBarIcon2.png", "selectedIconPath": "images/tabBarIcon2_act.png", "text": "健康资讯", "pagePath": "pages/feedHome/feedHome" }, { "iconPath": "images/tabBarIcon3.png", "selectedIconPath": "images/tabBarIcon3_act.png", "text": "我的", "pagePath": "pages/usercenter/usercenter" } ] }, "sitemapLocation": "sitemap.json", "navigateToMiniProgramAppIdList": [ "wx5bcda8b08440b265", "wx0cc95df47729609a" ] }
2019-11-11 - 安卓7.0.8微信版本进入小程序不执行wx.login()?
onLaunch里面的wx.login()没有执行 onLaunch: function (options) { console.log('打印----') // // 展示本地存储能力 // var logs = wx.getStorageSync('logs') || [] // logs.unshift(Date.now()) // wx.setStorageSync('logs', logs) wx.login({ success: res => { console.log(res, '1111111111111') // var code = res.code this.globalData.code = res.code; var that = this if (res.code) { //发起网络请求 wx.request({ url: that.globalData.url + '/weixin/login', method: 'POST', data: { code:res.code }, header: { 'content-type': 'application/x-www-form-urlencoded' // 默认值 }, success: function (res) { console.log(res, "aaaaaaaaaaa") wx.setStorageSync('token', res.data.data.token) // // 存token console.log('token=' + res.data.data.token) console.log(wx.getStorageSync('token')) that.globalData.token = res.data.data.token; } }) } else { console.log('获取用户登录态失败!' + res.errMsg) } } }) // 获取用户信息 wx.getSetting({ success: res => { if (res.authSetting['scope.userInfo']) { // 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框 wx.getUserInfo({ success: res => { // 可以将 res 发送给后台解码出 unionId this.globalData.userInfo = res.userInfo // 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回 // 所以此处加入 callback 以防止这种情况 if (this.userInfoReadyCallback) { this.userInfoReadyCallback(res) } } }) } } }) },
2019-10-30 - web-view的bindmessage失效,触发不了?
<view class="pageH5"> <web-view src="{{getDuibaURL}}" style="margin-top:100rpx;" bindmessage="eventHandler"></web-view> </view> eventHandler(e){ console.log(e) console.log('获取兑吧参数') this.setData({ title: e.detail.data[0].title, imgUrl: e.detail.data[0].imgUrl, duibaUrl: util.baseEncode(e.detail.data[0].link) }); },
2019-09-16 - 审核不通过,代码并未包含appserect,是什么原因?
[图片] 检查过了,前端代码里没有存入AppSecret。
2019-08-21 - 审核不通过?当前提审小程序包中可能包含明文的AppSecret
[图片] 检查过了,前端代码里没有存入AppSecret。
2019-08-21 - video播放视频卡顿
- 当前 Bug 的表现(可附上截图) 视频在手机客户端上面播放,几秒种后就会出现卡顿现象 - 预期表现 正常播放不卡顿 - 复现路径 <video bindtimeupdate="bindtimeupdate" id="myVideo" objectFit="contain" style='width:750rpx;height:423rpx;position:fixed;top:{{height}}px;left:0;z-index:9999999;' src="{{detail.video}}" custom-cache="{{false}}" controls show-center-play-btn="{{!show}}" poster='../../images/backfg.png' direction="{{90}}" bindplay="bindplay" bindpause="bindpause" bindended="bindended" bindfullscreenchange="bindfullscreenchange" autoplay="{{autoplay}}"> <cover-view class="controls" style="{{'position:fixed;top:{{height}}px;;left:0;width:750rpx;height:423rpx;line-height:423rpx;background:#fff;position:fixed;left:0;' + (show ? 'display: block' : 'display: none' )}}" bindtap="play"> <cover-image style='width:750rpx;height:390rpx;position:absolute;top:0;left:0;z-index:3;' src="{{detail.image}}" /> <cover-view class="play" style='width:106rpx;height:106rpx;position:relative;z-index:5;top:50%;left:50%;margin-top:-53rpx;margin-left:-53rpx;'> <cover-image class="imga" style='display:inline-block;' src="https://zxhealthoss.oss-cn-beijing.aliyuncs.com/resource/recommend/bofanx.png" /> </cover-view> </cover-view> <cover-view class="screenBtn" bindtap="screen" style="{{screenBtnShow ? 'display: block' : 'display: none'}}"> <cover-view> <cover-image src="http://static.superkangaroo.net/resource/recommend/shouzhi_icon.png"></cover-image> </cover-view> <cover-view>全屏播放</cover-view> </cover-view> </video> - 提供一个最简复现 Demo https://static2.superkangaroo.net////////uploads/2018/12/5/23075025606194087.mp4
2019-06-14 - 经常出现“该小程序可能导致微信响应变慢被终止”
用户在使用过程中,偶尔会出现小程序闪退现象,并提示“该小程序可能导致微信响应变慢被终止”文字 [图片]
2019-01-16