@@ -147,7 +147,12 @@ export default {
mounted() {
setTimeout(() => {
this.checkInstall()
- .then(() => {})
+ .then(() => {
+ if (this.detail.srcContentId && this.detail.postUserInfo && this.detail.postUserInfo.postNickName) {
+ let url = `https://twitter.com/${this.detail.postUserInfo.postNickName}/status/${this.detail.srcContentId}`;
+ window.open(url);
+ }
+ })
.catch(() => {
this.setTreasureInfo();
});
@@ -5,7 +5,7 @@
</template>
<template v-else>
<template v-if="isMobile">
- <MobileLandPage :playType="PlayType.Treasure" :useFul="true" :userInfo="detail.inviteUserInfo" :usValue="detail.upGainAmountValue" :postId="detail.srcContentId"></MobileLandPage>
+ <MobileLandPage :playType="PlayType.Treasure" :useFul="true" :userInfo="detail.inviteUserInfo" :usValue="detail.upGainAmountValue" :postId="detail.postId" :srcContentId="detail.srcContentId"></MobileLandPage>
<div class="logo">