Commit eabe4c1c by 李伟康

提交

1 parent 55832d66
...@@ -64,7 +64,14 @@ Page({ ...@@ -64,7 +64,14 @@ Page({
} = await wx.p.api.solitaireApi.getActivityRedEnvelopeDetail({ } = await wx.p.api.solitaireApi.getActivityRedEnvelopeDetail({
id: activityId id: activityId
}) })
if (linkId || awardInfoId) this.jumpRedEnvelopeH5({ /**接龙奖品回显 */
if (awardInfoId) this.jumpRedEnvelopeH5({
activityId
}, () => {
this.jump()
})
else {
if (linkId) this.jumpRedEnvelopeH5({
activityId, activityId,
linkId, linkId,
source source
...@@ -101,6 +108,7 @@ Page({ ...@@ -101,6 +108,7 @@ Page({
errId errId
} }
} }
}
} catch ({ } catch ({
message, message,
errId errId
...@@ -125,7 +133,7 @@ Page({ ...@@ -125,7 +133,7 @@ Page({
activityId, activityId,
linkId, linkId,
source source
}) { }, callBack) {
const { const {
awardInfoId, awardInfoId,
merchantId, merchantId,
...@@ -156,7 +164,8 @@ Page({ ...@@ -156,7 +164,8 @@ Page({
if (recordId) query += `&recordId=${recordId}` if (recordId) query += `&recordId=${recordId}`
if (awardInfoId) query += `&awardInfoId=${awardInfoId}` if (awardInfoId) query += `&awardInfoId=${awardInfoId}`
this.linkQuery = query this.linkQuery = query
this.showRedModel() if (callBack) callBack()
else this.showRedModel()
}, },
showRedModel() { showRedModel() {
this.setData({ this.setData({
......
...@@ -254,6 +254,7 @@ Page({ ...@@ -254,6 +254,7 @@ Page({
businessId: id businessId: id
}) })
}, },
/**红包活动回显 */
async getRedEnvelopeAwardInfo({ async getRedEnvelopeAwardInfo({
awardInfoId, awardInfoId,
params params
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!