|
|
@ -22,6 +22,7 @@ Page({ |
|
|
|
dialogTitle: '', //提示内容
|
|
|
|
lock: false, |
|
|
|
configPoint: 0, |
|
|
|
defaultGridId: '', |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
@ -92,9 +93,12 @@ Page({ |
|
|
|
/** |
|
|
|
* 用户点击右上角分享 |
|
|
|
*/ |
|
|
|
// onShareAppMessage: function () {
|
|
|
|
|
|
|
|
// },
|
|
|
|
onShareAppMessage: function () { |
|
|
|
return { |
|
|
|
title: '拼团购-团购详情', |
|
|
|
path: `/pages/indexNew/indexNew?shareType=groupBuyDetail&detailId=${this.data.noticeId}&defaultGridId=${this.data.defaultGridId}` |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
//列表照片的放大查看
|
|
|
|
previewImage (e) { |
|
|
@ -307,6 +311,10 @@ Page({ |
|
|
|
that.setData({ |
|
|
|
configPoint: parseInt(item.residentValue) |
|
|
|
}) |
|
|
|
} else if (item.residentCode === "default_grid" && item.residentType === "default_grid") { |
|
|
|
that.setData({ |
|
|
|
defaultGridId: item.residentValue |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|