|
@@ -406,7 +406,12 @@ class ParseCard {
|
|
|
let originUrl = new URL(short_url);
|
|
|
let post_Id = originUrl.pathname.slice(1);
|
|
|
|
|
|
- dom.appendChild(this.createIframe({ post_Id, tweet_author }, true))
|
|
|
+ if (post_Id.indexOf('luckdraw/') >= 0) {
|
|
|
+ post_Id = post_Id.replace('luckdraw/', '');
|
|
|
+ dom.appendChild(this.createIframe({ post_Id, tweet_author, page_type:'抽奖' }, true))
|
|
|
+ } else {
|
|
|
+ dom.appendChild(this.createIframe({ post_Id, tweet_author }, true))
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
replaceNftGroupDomRedPacket({ dom_card, tweet_Id, post_Id, time, short_url }) {
|