onShareTimeline?
发布于 6 年前 作者 li44 11792 次浏览 来自 问答

//分享到朋友圈

	onShareTimeline(){

	return {

		title:  \`${this.shopInfo.shopName}\`,

		imageUrl: \`${this.shopInfo.shopLogo}\` ,

		//query:\`id=25070389\`, // 路径,传递参数到指定页面

		success: function(res) {

			console.log(res)

		}

	}
1 回复

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部