只需要一步,快速开始
复制代码/**分享到朋友圈一*/ onShareTimeline: function () { var that = this; var id= wx.getStorageSync('id') return { title: that.data.noticedetail[0].title, query: 'id= ' + id, //这里是query,只需要传参就行,不用写路径 imageUrl: that.data.noticedetail[0].thumb } }
/**分享到朋友圈一*/ onShareTimeline: function () { var that = this; var id= wx.getStorageSync('id') return { title: that.data.noticedetail[0].title, query: 'id= ' + id, //这里是query,只需要传参就行,不用写路径 imageUrl: that.data.noticedetail[0].thumb } }
复制代码 /**分享到朋友圈二*/ onShareTimeline(res){ console.log(res) return { title: '测试小程序分享至朋友圈', path: '../test/test', imageUrl:'https://cdn.u1.huluxia.com/g4/M01/AB/6C/rBAAdmARRRGAITfTAADK-6nPHMA588.jpg' } },
/**分享到朋友圈二*/ onShareTimeline(res){ console.log(res) return { title: '测试小程序分享至朋友圈', path: '../test/test', imageUrl:'https://cdn.u1.huluxia.com/g4/M01/AB/6C/rBAAdmARRRGAITfTAADK-6nPHMA588.jpg' } },
举报
本版积分规则 发表回复 回帖后跳转到最后一页
发帖质量好,经常被评为精华
长期对论坛的繁荣而不断努力,或多次提出建设性意见
曾经为论坛做出突出贡献目前已离职的版主
为论坛做出突出贡献的会员
经常参与各类话题的讨论,发帖内容较有主见
|手机版|小黑屋|paopaomj.COM ( 渝ICP备18007172号|渝公网安备50010502503914号 )
GMT+8, 2025-6-16 07:42
Powered by paopaomj X3.5 © 2016-2025 sitemap