这是我的链接:
http://apitest.icy.design/icy/gift_card_exchange
1.账号是服务号、并且与已经上架的小程序已关联(以上链接日志里有相关信息)。同样的签名,分享可以正常分享,小程序无法跳转。
2.跳转到小程序的按钮正常显示了,但是手机微信浏览器里点击没有反应,也没有报错。
3.微信工具调试时发现:
wx.config begin 时,openTagList是 ["wx-open-launch-weapp"]
wx.config end 时,没有openTagList字段
请大神们帮我看看是什么问题?

你好,麻烦提供下可以测试的链接
按钮不显示
<template><div class="test-container"><wx-open-launch-weappid="launch-btn"username="gh_87c3474873d6"path="pages/me/ownerPage.html?newVvip=1"><script type="text/wxtag-template"><style>.btn {padding: 12px}</style><button class="btn">打开小程序</button></script></wx-open-launch-weapp></div></template><script type="text/babel">export default {data() {return {}},mounted() {let btn = document.getElementById('launch-btn');btn.addEventListener('launch', function (e) {console.log('success');});btn.addEventListener('error', function (e) {console.log('fail', e.detail);});this.initMiniJumperConfig();},methods: {initMiniJumperConfig(callback) {HttpRequest.post('/index.php?method=index.getWeChatSignPackage', {url: window.location.href}).then((res) => {console.log("getWeChatSignPackage result:");console.log(res);if (!res.data) {return;}this.configWx(res.data);if (callback) {callback(res.data);}}).catch(function (e) {console.log("getWeChatSignPackage error:");console.error('initMiniJumperConfig error', e);callback(null);});},configWx(wxConfig) {try {document.addEventListener('WeixinOpenTagsError', function (e) {console.error(e.detail.errMsg);});wx.config({debug: true, appId: wxConfig.appId, timestamp: wxConfig.timestamp, nonceStr: wxConfig.nonceStr, signature: wxConfig.signature,jsApiList: ['checkJsApi','chooseImage','previewImage'],openTagList: ['wx-open-launch-weapp','wx-open-launch-app'] });return true;} catch (e) {console.log(e)}return false;}}}</script><style lang="less">.test-container {width: 100%;height: 100vh;position: relative;display: flex;flex-direction: column;}</style>解决了,造成此问题的原因是:
公众号使用了非认证服务号,因为我们公司有多个服务号。
之后又发现安全域名没有配置。
最后是服务端jsapi_tiket的公众号id与签名的公众号id不一致(63002,invalid signature [20210831 17:38:06][])。
至此问题全部解决