- window.WxLogin 快捷登录问题
我目前使用 开放平台的微信二维码登录功能 假设我给的回调地址是: https://www.baidu.com/#/login?name=test 非快捷登录 扫描成功后 跳转的回调地址是 https://www.baidu.com/#/login?name=test&code=******&state=**** 快捷登录 授权后 跳转的地址是 https://www.baidu.com?code=******&state=****/#/login?name=test&code=******&state=**** 明显不对的 应该需要修复一下
2024-10-17 - 小程序API wx.getAppAuthorizeSetting() 返回值异常?
小程序API wx.getAppAuthorizeSetting().bluetoothAuthorized == 'denied' 确认微信App已经授权访问了 蓝牙权限,但是一直返回 denied // 获取微信 APP 授权设置 const appAuthorizeSetting = wx.getAppAuthorizeSetting() console.log("蓝牙授权状态:" + appAuthorizeSetting.bluetoothAuthorized) console.log("地理位置授权状态:" + appAuthorizeSetting.locationAuthorized) console.log("精准定位状态: " + appAuthorizeSetting.locationReducedAccuracy) if (appAuthorizeSetting.bluetoothAuthorized == 'denied') { wx.showModal({ content: '请开启微信获取蓝牙功能权限', showCancel: false, title: '提示', success: (result) => { wx.openAppAuthorizeSetting(); }, fail: (res) => {}, complete: (res) => {}, }) return }
2024-08-01 - 微信小程序广告如何直跳淘宝天猫店铺、直播间?
2023年9月25日,阿里妈妈与腾讯广告进一步深化合作,微信视频号、朋友圈、小程序广告可以直接跳转淘宝、天猫商家的店铺、商品详情及淘宝直播间。 [图片]
2024-06-24 - wx.scanCode扫描条码时返回值不准2022-11-09
- 自定义tabbar切换时会闪烁
1. 减少不必要的 setData 可以消除 data 变化导致的闪烁现象 2. 使用普通 image 代替 cover-image 、普通 view 代替 cover-view 可以减弱由于 cover 组件创建偏慢导致的闪烁现象(但要注意组件层叠层级) 但 android 本身的的渲染延迟仍然会导致一部分闪烁现象
2023-05-11