|
@@ -320,6 +320,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
currencyIconPath: '',
|
|
|
+ customCover: '',
|
|
|
+ customGiveaway: '',
|
|
|
title: 'DeNet Giveaway',
|
|
|
metaTitle: 'DeNet: An Easy Web3 Tool For GIVEAWAY / AIRDROP',
|
|
|
jumpUrl: jumpUrl,
|
|
@@ -400,6 +402,8 @@ export default {
|
|
|
postId: this.detail.postId,
|
|
|
srcContentId: this.detail.srcContentId,
|
|
|
senderId: this.detail.srcUserId,
|
|
|
+ redPacketType: 0,
|
|
|
+ customCover: this.customCover,
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -423,6 +427,8 @@ export default {
|
|
|
postId: this.detail.postId,
|
|
|
srcContentId: this.detail.srcContentId,
|
|
|
senderId: this.detail.srcUserId,
|
|
|
+ redPacketType: 0,
|
|
|
+ customCover: this.customCover,
|
|
|
},
|
|
|
extParams: extParams
|
|
|
}
|
|
@@ -451,6 +457,8 @@ export default {
|
|
|
postId: this.detail.postId,
|
|
|
srcContentId: this.detail.srcContentId,
|
|
|
senderId: this.detail.srcUserId,
|
|
|
+ redPacketType: 0,
|
|
|
+ customCover: this.customCover,
|
|
|
},
|
|
|
extParams: extParams,
|
|
|
}
|
|
@@ -632,6 +640,8 @@ export default {
|
|
|
})
|
|
|
if (data.code == 0) {
|
|
|
this.detail.postBizData = JSON.parse(data.data.postBizData)
|
|
|
+ this.customCover = this.detail.postBizData && this.detail.postBizData.posterType == 2 ? 1 : 0;
|
|
|
+ this.customGiveaway = this.detail.postBizData && this.detail.postBizData.rewardType == 2 ? 1 : 0;
|
|
|
}
|
|
|
},
|
|
|
async getConfig() {
|
|
@@ -722,6 +732,8 @@ export default {
|
|
|
postId: this.detail.postId,
|
|
|
srcContentId: this.detail.srcContentId,
|
|
|
senderId: this.detail.srcUserId,
|
|
|
+ redPacketType: 0,
|
|
|
+ customCover: this.customCover,
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -773,6 +785,8 @@ export default {
|
|
|
postId: this.detail.postId,
|
|
|
srcContentId: this.detail.srcContentId,
|
|
|
senderId: this.detail.srcUserId,
|
|
|
+ redPacketType: 0,
|
|
|
+ customCover: this.customCover,
|
|
|
},
|
|
|
extParams: {
|
|
|
status: this.reportStatus,
|
|
@@ -798,6 +812,8 @@ export default {
|
|
|
postId: this.detail.postId,
|
|
|
srcContentId: this.detail.srcContentId,
|
|
|
senderId: this.detail.srcUserId,
|
|
|
+ redPacketType: 0,
|
|
|
+ customCover: this.customCover,
|
|
|
},
|
|
|
extParams: {
|
|
|
status: this.reportStatus,
|