nieyuge 2 年 前
コミット
90f4cd41d4
1 ファイル変更10 行追加5 行削除
  1. 10 5
      src/view/iframe/tool-box/buy-nft.vue

+ 10 - 5
src/view/iframe/tool-box/buy-nft.vue

@@ -1,9 +1,5 @@
 <template>
-    <div
-        class="nft-layer"
-        v-show-log="{
-            pageSource: Report.pageSource.buy_posteditor_nft_dialog,
-        }">
+    <div class="nft-layer">
         <div class="title">
             <img @click="close" :src=" require('@/assets/svg/icon-close.svg') " />
             <span class="text">Unlock by Ruomeng NFT</span>
@@ -22,6 +18,8 @@
                 v-click-log="{
                     pageSource: Report.pageSource.buy_posteditor_nft_dialog,
                     objectType: Report.objectType.buy_button,
+                    nftProjectId: nftAuthINfo.certNftProjectId || '',
+                    postId: postId,
                 }">
                 <span>Buy NFT to Participate</span>
             </div>
@@ -94,6 +92,13 @@ onBeforeMount(() => {
         if ( code === 0 ) {
             btnStatus.value = true;
             nftAuthINfo.value = data;
+            // report
+            Report.reportLog({
+                businessType: Report.businessType.pageView,
+                pageSource: Report.pageSource.buy_posteditor_nft_dialog,
+                nftProjectId: data.certNftProjectId || '',
+                postId: postId.value || '',
+            })
         }
     })
 })