2020年5月29日

小程序怎样跳转到另外一个小程序

摘要: 具体实现步骤: 1. 首先 , 需要获取要跳转到小程序的appID, 在 app.json 中配置 wx.navigateToMiniProgram实现跳转 具体实现步骤: "navigateToMiniProgramAppIdList": [ "目标小程序的appid",//比如 wxef0101 阅读全文

posted @ 2020-05-29 16:19 婧星 阅读(863) 评论(0) 推荐(0) 编辑

小程序监听当前的设备是ios,还是 安卓设备名称以及型号

摘要: 微信开发文档提供监听 当前得设备,通过 //方法 1 const curPhone = wx.getSystemInfo();//获取当前得设备 console.log(curPhone) //方法 2 const res = wx.getSystemInfoSync(); console.log( 阅读全文

posted @ 2020-05-29 16:05 婧星 阅读(1165) 评论(0) 推荐(0) 编辑

导航