uni APP 怎么打开支付宝小程序,直接上代码
// #ifdef APP-PLUS uni.getSystemInfo({ success(res) { if (res.platform == 'android') { var info = `alipays://platformapi/startapp?appId=xxxxx&page=lib/shop/dist/pages/index/index`; plus.runtime.openURL(info); } else { var info = `alipay://platformapi/startapp?appId=xxxxxx&page=lib/shop/dist/pages/index/index`; plus.runtime.openURL(info); } }, }); // #endif
标签:info,index,shop,支付宝,APP,uni From: https://www.cnblogs.com/ljcgood66/p/17238804.html