- 获取不到验证码
西班牙手机,获取不到短信验证码。微信小程序。微信可以登录。需要怎么排查,请给予联系方式或解决方案。 <button class="login-btn" bindtap="login" open-type="getPhoneNumber" bindgetphonenumber="handleGetPhoneNumber" >登录</button> handleGetPhoneNumber (e) { //手机号快速验证 console.log(e.detail.code) // 动态令牌 console.log(e.detail.errMsg) // 回调信息(成功失败都会返回) console.log(e.detail.errno) // 错误码(失败时返回) this._getWxCode(e.detail.code) },
2小时前 - AR图像识别 首次加载问题
首次进入页面加载时白屏状态。下载完模型后才恢复正常。 <kivicube-scene wx:if="{{sceneShow}}" class="kivicube" scene-id="{{sceneId}}" camera-position="{{cameraPosition}}" bindready="ready" binderror="error" binddownloadAssetStart="downloadStart" binddownloadAssetProgress="downloadProgress" binddownloadAssetEnd="downloadEnd" bindloadSceneStart="loadStart" bindloadSceneEnd="loadEnd" bindsceneStart="sceneStart" bindopenUrl="openUrl" bindphoto="photo" /> onLoad: function (options) { let id = options.id; this.setData({ sceneId: id }); // 开始加载状态 this.setData({ isLoading: true }); downloadSceneAsset(this.data.sceneId, (progress) => { console.log("progress", progress); }).then(() => { this.setData({ isLoading: false, isSceneReady: true }); // 下载完成,更新状态 }).catch((error) => { this.setData({ isLoading: false, isSceneReady: false }); // 下载失败,更新状态 }); }, ready({ detail }) { console.log("当前场景基础信息", detail); if (detail && detail.sceneInfo) { this.scene = detail.sceneInfo; // 确保正确获取场景实例 } }, downloadStart() {}, downloadProgress() {}, downloadEnd() { this.setData({ isSceneReady: true // 下载完成后设置场景准备好 }); }, sceneStart() { wx.showToast({ title: "可开始体验场景", icon: "none" }); }, photo({ detail: photoPath }) { wx.showLoading({ title: "拍照中", mask: true, }); wx.saveImageToPhotosAlbum({ filePath: photoPath, success() { wx.hideLoading(); console.log("保存照片成功"); }, fail(e) { wx.hideLoading(); console.error("保存照片失败", e); }, }); }, onUnload() {},
03-04 - 微信小程序跳转微信小店,显示未发布
小程序跳转微信小店,提示小程序未发布,
2024-12-23 - wx.previewImage 预览图片 部分手机黑屏?
华为手机mate 30 微信版本8.0.54 图片链接https://www.ecotrackbracelets.com/Animal_Bracelet/sys/common/static/animalLetterFile/12月16日(3)_1734335652098.gif 以及华为nova 9
2024-12-19