|
@@ -62,7 +62,7 @@
|
|
|
<FontZoom width="330">
|
|
|
<div class="mobile-land-page-tip">{{ tipCpd }}</div>
|
|
|
</FontZoom>
|
|
|
- <div class="mobile-land-page-login-twitter" @click="toLogin">{{ isLoginCpd || loginSuccessBack ? 'Claim Prize' : 'Login Twitter' }}</div>
|
|
|
+ <div class="mobile-land-page-login-twitter" @click="toLogin">{{ isLoginCpd || loginSuccessBack ? (!useFul || isNFTCpd ? 'Install' : 'Claim Prize') : 'Login Twitter' }}</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -219,11 +219,13 @@ export default {
|
|
|
logData.params.eventData.nftProjectId = this.nftProjectId;
|
|
|
}
|
|
|
Report.reportLog(logData);
|
|
|
- if (userInfo) {
|
|
|
- location.href = `/course?useful=${this.useFul ? '1' : '0'}&playType=${this.playType}&rewardType=${this.rewardType}&postId=${this.postId}&nftProjectId=${this.nftProjectId}&srcContentId=${this.srcContentId}`;
|
|
|
- } else {
|
|
|
- this.twitterAuth();
|
|
|
- }
|
|
|
+ setTimeout(() => {
|
|
|
+ if (userInfo) {
|
|
|
+ location.href = `/course?useful=${this.useFul ? '1' : '0'}&playType=${this.playType}&rewardType=${this.rewardType}&postId=${this.postId}&nftProjectId=${this.nftProjectId}&srcContentId=${this.srcContentId}`;
|
|
|
+ } else {
|
|
|
+ this.twitterAuth();
|
|
|
+ }
|
|
|
+ }, 200);
|
|
|
},
|
|
|
cancelLogin() {
|
|
|
location.href = `/course?useful=${this.useFul ? '1' : '0'}&playType=${this.playType}&rewardType=${this.rewardType}&postId=${this.postId}&nftProjectId=${this.nftProjectId}&srcContentId=${this.srcContentId}`;
|