fntoweixin(){
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) {
sweixin.launchMiniProgram({
id: 'wxf1a82ce85f7f2c73',
path: 'pages/tabBar/cardList/cardlist',
type: 0
});
}
}, function(res) {
console.log(JSON.stringify(res));
});
}
![m***@163.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/f876b8af1c29d6be8b0dd0cf974ac4e8.png)
m***@163.com
- 发布:2021-07-03 09:08
- 更新:2021-07-03 09:08
- 阅读:356
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20210703/81dbf3a1c82a9486bf1a6f7a96532e12.jpg)