- 小程序的接口请求 总是报错:”request:fail errcode:-109“ 怎么处理?
request:fail errcode:-109 cronet_error_code:-109 error_msg:net::ERR_ADDRESS_UNREACHABLE
2023-11-24 - 急!急!急! 部分用户进入小程序白屏问题?
1.用户正常搜索进入小程序 2.底部tabbar可以正常加载 3.主内容区加载失败-导致白屏 4.删除小程序和卸载微信重装都不能解决问题
2023-10-09 - 这就是微信面向公告开发?
扒了一堆的屎山 ! 出了一箩筐的问题 ! ! 紧急审核次数用完了!!! 到头来你告诉我不用适配了?!!!!
2023-09-14 - llive-pusher 组件的max-bitrate属性不生效,可能是什么原因造成的?
组件:live-pusher 基础库:v2.29.1 微信版本:v8.0.31 示例代码: <live-pusher :mode="showMode" :remote-mirror="showLiveMirror" :local-mirror="showLocalMirror" :beauty="showBeauty" :beauty-style="showBeautyType" :whiteness="showWhiteness" :orientation="showOrientation" :audio-reverb-type="showMicType" :enable-mic="openOrCloseMic" :filter="showFilter" :device-position="showDevicePosition" :enable-camera="openOrCloseCamera" :waiting-image="liveData.author_head_img" :url="pushUrl" id="livePusher" ref="livePusher" :autopush="true" :max-bitrate="300" style="width: 750rpx; height: 100vh;z-index: 1;position: fixed;top:0px;left: 0px;" /> 描述信息:设置最大推流码率为300但是后台监控到的推流码率还是1000以上,这个属性没有生效
2023-01-17 - 云开发静态托管网页无法跳转其它小程序
下面是静态页面的代码: <html> <head> <title>打开小程序</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"> <script> window.onerror = e => { console.error(e) alert('发生错误' + e) } </script> <!-- weui 样式 --> <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/2.4.1/weui.min.css"></link> <!-- 调试用的移动端 console --> <!-- <script src="https://cdn.jsdelivr.net/npm/eruda"></script> --> <!-- <script>eruda.init();</script> --> <!-- 公众号 JSSDK --> <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <!-- 云开发 Web SDK --> <script src="https://res.wx.qq.com/open/js/cloudbase/1.1.0/cloud.js"></script> <script> function docReady(fn) { if (document.readyState === 'complete' || document.readyState === 'interactive') { fn() } else { document.addEventListener('DOMContentLoaded', fn); } } docReady(async function() { var ua = navigator.userAgent.toLowerCase() var isWXWork = ua.match(/wxwork/i) == 'wxwork' var isWeixin = !isWXWork && ua.match(/micromessenger/i) == 'micromessenger' var isMobile = false var isDesktop = false if (navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|IEMobile)/i)) { isMobile = true } else { isDesktop = true } if (isWeixin) { var containerEl = document.getElementById('wechat-web-container') containerEl.classList.remove('hidden') containerEl.classList.add('full', 'wechat-web-container') var launchBtn = document.getElementById('launch-btn') launchBtn.addEventListener('ready', function (e) { console.log('开放标签 ready') }) launchBtn.addEventListener('launch', function (e) { console.log('开放标签 success') }) launchBtn.addEventListener('error', function (e) { console.log('开放标签 fail', e.detail) }) wx.config({ debug: true, // 调试时可开启 appId: 'wxbf12f3e5dfa00ef3', // <!-- replace --> timestamp: 0, // 必填,填任意数字即可 nonceStr: 'nonceStr', // 必填,填任意非空字符串即可 signature: 'signature', // 必填,填任意非空字符串即可 jsApiList: ['chooseImage'], // 必填,随意一个接口即可 openTagList:['wx-open-launch-weapp'], // 填入打开小程序的开放标签名 }) } else if (isDesktop) { // 在 pc 上则给提示引导到手机端打开 var containerEl = document.getElementById('desktop-web-container') containerEl.classList.remove('hidden') containerEl.classList.add('full', 'desktop-web-container') } else { var containerEl = document.getElementById('public-web-container') containerEl.classList.remove('hidden') containerEl.classList.add('full', 'public-web-container') var c = new cloud.Cloud({ // 必填,表示是未登录模式 identityless: true, // 资源方 AppID resourceAppid: '小程序 AppID', // <!-- replace --> // 资源方环境 ID resourceEnv: '云开发环境 ID', // <!-- replace --> }) await c.init() window.c = c var buttonEl = document.getElementById('public-web-jump-button') var buttonLoadingEl = document.getElementById('public-web-jump-button-loading') try { await openWeapp(() => { buttonEl.classList.remove('weui-btn_loading') buttonLoadingEl.classList.add('hidden') }) } catch (e) { buttonEl.classList.remove('weui-btn_loading') buttonLoadingEl.classList.add('hidden') throw e } } }) async function openWeapp(onBeforeJump) { var c = window.c const res = await c.callFunction({ name: 'public', data: { action: 'getUrlScheme', }, }) console.warn(res) if (onBeforeJump) { onBeforeJump() } location.href = res.result.openlink } </script> <style> .hidden { display: none; } .full { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } .public-web-container { display: flex; flex-direction: column; align-items: center; } .public-web-container p { position: absolute; top: 40%; } .public-web-container a { position: absolute; bottom: 40%; } .wechat-web-container { display: flex; flex-direction: column; align-items: center; } .wechat-web-container p { position: absolute; top: 40%; } .wechat-web-container wx-open-launch-weapp { position: absolute; bottom: 40%; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; } .desktop-web-container { display: flex; flex-direction: column; align-items: center; } .desktop-web-container p { position: absolute; top: 40%; } </style> </head> <body> <div class="page full"> <div id="public-web-container" class="hidden"> <p class="">正在打开 “填入你的小程序名称”...</p> <!-- replace --> <a id="public-web-jump-button" href="javascript:" class="weui-btn weui-btn_primary weui-btn_loading" onclick="openWeapp()"> <span id="public-web-jump-button-loading" class="weui-primary-loading weui-primary-loading_transparent"><i class="weui-primary-loading__dot"></i></span> 打开小程序 </a> </div> <div id="wechat-web-container" class="hidden"> <p class="">点击以下按钮打开 “填入你的小程序名称”</p> <!-- replace --> <!-- 跳转小程序的开放标签。文档 https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_Open_Tag.html --> <wx-open-launch-weapp id="launch-btn" username="gh_331f1999a0be" path="/pages/index/index"> <!-- replace --> <template> <button style="width: 200px; height: 45px; text-align: center; font-size: 17px; display: block; margin: 0 auto; padding: 8px 24px; border: none; border-radius: 4px; background-color: #07c160; color:#fff;">打开小程序</button> </template> </wx-open-launch-weapp> </div> <div id="desktop-web-container" class="hidden"> <p class="">请在手机打开网页链接</p> </div> </div> </body> </html> 不知道为什么不能跳转,文档内不是说可以免鉴权跳转任意合法小程序吗? 测试链接:https://yljx-7gevva5i26a948a6-1300709737.tcloudbaseapp.com/index2.html
2021-04-19 - wx.openLocation()能不能传入导航开始和结束的位置?
使用wx.openLocation()打开高德地图是展示的地址是 “微信位置起点”和“微信位置重点”,这个看着很不方便。能不能在wx.openLocation()里添加两个开始和结束位置的参数?
2020-09-03 - 【物流助手】小程序如何接入“即时配送“?APPID:wx5efdbb3b4ecf4545
【物流助手】小程序如何接入“即时配送“?APPID:wx5efdbb3b4ecf4545
2020-06-22 - 请问如何申请小程序的接入第三方同城配送?
官方大大们有空回一下呗,现在公司业务需要接入同城配送,现在官网的申请入口关闭了请问怎么才能申请到体验资格啊?
2020-05-18 - 小程序同城配送功能怎么开通?现在小程序业务需要使用第三方配送,有了解的吗?
APPID:wx7e908f3bba754efe 名称:悦邻精选 麻烦开通一下行不?
2020-05-15