|
|
|
@@ -65,12 +65,12 @@ Page({ |
|
|
|
* 用户点击右上角分享 |
|
|
|
*/ |
|
|
|
onShareAppMessage: function (e) { |
|
|
|
// console.log(getApp().globalData.userInfo.) |
|
|
|
// console.log(getApp().globalData.userInfo.id) |
|
|
|
this.shareFun() |
|
|
|
return { |
|
|
|
title: '万套房源5折起,iPhone13 Pro Max免费赢!速来!', |
|
|
|
imageUrl: 'https://static.quhouse.com/468340e3a1374decb4fa51a172aa4f52.png', |
|
|
|
path: '/pages/index/index?openid=' + getApp().globalData.userInfo.openid |
|
|
|
path: '/pages/index/index?id=' + getApp().globalData.userInfo.id |
|
|
|
} |
|
|
|
}, |
|
|
|
shareFun(){ |
|
|
|
|