plus.share.getServices(function(res) {
var sweixin = null;
for (var i = 0; i < res.length; i++) {
var t = res[i];
if (t.id == 'weixin') {
sweixin = t;
}
}
if (sweixin) {
let url =`pages/user/pages/money/appToMiniPay?order_id=${this.order_id}&order_type=${this.order_type ?
this.order_type:'goods'}`;
sweixin.launchMiniProgram({
id: 'gh_xxxxxxxxxx',
type: 0,
path: url,
});
}
}, function(res) {console.log(JSON.stringify(res));});
1***@qq.com
- 发布:2021-12-30 16:57
- 更新:2021-12-30 16:57
- 阅读:885
launchMiniProgram app跳转小程序 添加path参数 没有反应
分类:uni-app
0 个回复