摘要: wx.navigateToMiniProgram({ appId: 'xxxxxxxxxxxxxxxxxx', // 要跳转的小程序的appid path: 'page/index/index', // 跳转的目标页面 extarData: { open: 'auth' }, success(res) { ... 阅读全文
posted @ 2018-08-17 18:01 阿璐璐璐 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 小程序的分享 onShareAppMessage(options) 在页面的js文件中定义了 onShareAppMessage 函数时,页面可以表示改页面可以转发。可以在函数中设置页面转发的信息。 1. 只有定义了该函数,小程序右上角的菜单中才会有转发按钮 2. 用户点击转发按钮的时候回调用该函数 阅读全文
posted @ 2018-08-17 18:00 阿璐璐璐 阅读(3574) 评论(1) 推荐(0) 编辑
摘要: 1. 利用小程序提供的 API 跳转: 2. wxml 页面组件跳转(可以通过设置open-type属性指明页面跳转方式): 阅读全文
posted @ 2018-08-17 17:43 阿璐璐璐 阅读(2680) 评论(0) 推荐(0) 编辑