|
@@ -4,7 +4,7 @@
|
|
|
<img class="loading" src="../../static/svg/icon-loading.svg" />
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <MobileLandPage v-if="isMobile" :prizePicPath="detail.pageImagePath" :playType="PlayType.NFT" :prize="detail.nftProjectName" :useFul="detail.purchaseStatus === 1" :postId="detail.srcContentId"> </MobileLandPage>
|
|
|
+ <MobileLandPage v-if="isMobile" :prizePicPath="detail.pageImagePath" :playType="PlayType.NFT" :prize="detail.nftProjectName" :useFul="detail.purchaseStatus === 1" :nftProjectId="detail.nftProjectId"> </MobileLandPage>
|
|
|
<template v-else>
|
|
|
<div class="logo">
|
|
|
<img src="/img/icon-logo.png" alt />
|
|
@@ -35,7 +35,7 @@
|
|
|
import axios from 'axios';
|
|
|
import Cookies from 'js-cookie';
|
|
|
import { Toast } from 'vant';
|
|
|
-import { isBrowser, appVersionCode, appType } from '../../utils/help.js';
|
|
|
+import { isBrowser, appVersionCode } from '../../utils/help.js';
|
|
|
import Report from '@/log-center/log';
|
|
|
import { PlayType } from './../../types';
|
|
|
|
|
@@ -127,6 +127,7 @@ export default {
|
|
|
},
|
|
|
});
|
|
|
if (data.code == 0 && data.data !== null) {
|
|
|
+ console.log(data.data);
|
|
|
return {
|
|
|
detail: data.data,
|
|
|
};
|
|
@@ -159,16 +160,12 @@ export default {
|
|
|
appVersionCode: appVersionCode,
|
|
|
mid: this.mid,
|
|
|
pageSource: this.pageSource,
|
|
|
- appType,
|
|
|
machineCode: this.mid,
|
|
|
},
|
|
|
params: {
|
|
|
eventData: {
|
|
|
businessType: Report.businessType.pageView,
|
|
|
- postId: this.detail.postId,
|
|
|
- srcContentId: this.detail.srcContentId,
|
|
|
- senderId: this.detail.srcUserId,
|
|
|
- redPacketType: 2,
|
|
|
+ nftProjectId: this.detail.nftProjectId,
|
|
|
},
|
|
|
},
|
|
|
});
|
|
@@ -180,17 +177,13 @@ export default {
|
|
|
appVersionCode: appVersionCode,
|
|
|
mid: this.mid,
|
|
|
pageSource: this.pageSource,
|
|
|
- appType,
|
|
|
machineCode: this.mid,
|
|
|
},
|
|
|
params: {
|
|
|
eventData: {
|
|
|
businessType: Report.businessType.buttonClick,
|
|
|
objectType: Report.objectType.installButton,
|
|
|
- postId: this.detail.postId,
|
|
|
- srcContentId: this.detail.srcContentId,
|
|
|
- senderId: this.detail.srcUserId,
|
|
|
- redPacketType: 2,
|
|
|
+ nftProjectId: this.detail.nftProjectId,
|
|
|
},
|
|
|
},
|
|
|
});
|