webchat 8.0.53.2740
wechatlib:3.6.5(2024.11.13 19:52:07)
示例代码如下:
Taro.navigateToMiniProgram({
appId: "wxeb490c6f9b154ef9",
path: "pages/card_open/card_open",
extraData: {
create_card_appid: "wx61e6c5d014a60---" || res.cardAtom.appId,
card_id: "pXMiy0tf6N3WQzRzVWE9SFURr---" || res.cardAtom.cardId,
/** 激活类型
* ACTIVATE_TYPE_NORMAL:一键激活
* ACTIVATE_TYPE_JUMP:跳转激活
* */
activate_type: "ACTIVATE_TYPE_JUMP",
jump_url: "https://www.qq.com",
/**跳转到自己这里*/
jump_appid: "wx24bcf07a632d9---" || accountInfo.miniProgram.appId,
/**跳转到个人中心*/
jump_path: `/pages/app/login`,
outer_str: "123",
},
complete: () => Taro.hideLoading(),
});
原因是:这个卡被我激活过了,删掉重新领卡,是不会进行跳转的。需要重新造一个未领取过的卡