|
|
|
|
@ -38,12 +38,15 @@ Page({
@@ -38,12 +38,15 @@ Page({
|
|
|
|
|
|
|
|
|
|
answer: false, |
|
|
|
|
isAnswer: false, |
|
|
|
|
|
|
|
|
|
pushId: '', |
|
|
|
|
}, |
|
|
|
|
videoContext: {} as WechatMiniprogram.VideoContext, |
|
|
|
|
onLoad(options) { |
|
|
|
|
this.setData({ |
|
|
|
|
id: options.id, |
|
|
|
|
answer: options.answer === '1', |
|
|
|
|
pushId: options.pushId, |
|
|
|
|
}) |
|
|
|
|
if (options.jump == '1') { |
|
|
|
|
this.setData({ |
|
|
|
|
@ -101,6 +104,16 @@ Page({
@@ -101,6 +104,16 @@ Page({
|
|
|
|
|
app.getZdUserInfo(this, true, () => { |
|
|
|
|
this.getPosterParams() |
|
|
|
|
}) |
|
|
|
|
if (this.data.pushId) { |
|
|
|
|
wx.ajax({ |
|
|
|
|
method: 'POST', |
|
|
|
|
url: '?r=xd/push-click/update-click-status', |
|
|
|
|
data: { |
|
|
|
|
pushId: this.data.pushId, |
|
|
|
|
}, |
|
|
|
|
showMsg: false, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
async getPopup() { |
|
|
|
|
|