Browse Source

测试分享

feature/3.0.0-推广员
nesxy 6 years ago
parent
commit
1adb7a0f9a
1 changed files with 2 additions and 2 deletions
  1. 4
      src/models/wxShare.js

4
src/models/wxShare.js

@ -33,9 +33,9 @@ Vue.prototype.wxShare = function(params) {
//获取“分享给朋友”按钮点击状态及自定义分享内容接口 //获取“分享给朋友”按钮点击状态及自定义分享内容接口
wx.onMenuShareAppMessage({ wx.onMenuShareAppMessage({
// 分享给朋友 // 分享给朋友
title: '【一号家政】', // 分享标题
title: shareConfig.title, // 分享标题
desc: shareConfig.desc, // 分享描述 desc: shareConfig.desc, // 分享描述
link: shareConfig.url, // 分享链接 默认以当前链接
link: shareConfig.url+"?uniqueId=213", // 分享链接 默认以当前链接
imgUrl: shareConfig.img, // 分享图标 imgUrl: shareConfig.img, // 分享图标
success: function(res) {} success: function(res) {}
}); });

Loading…
Cancel
Save