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
- 发布:2021-07-03 09:08
- 更新:2021-07-03 09:08
- 阅读:424