wenliming 2 tahun lalu
induk
melakukan
aa0ee4fabd

+ 9 - 10
src/view/iframe/treasure-hunt/index.vue

@@ -299,16 +299,15 @@ const handleStatus = (callback) => {
         state.page = '封面页'
         state.cover_status = '奖励已被领光'
         state.btn_loading = false
-        // Report.reportLog({
-        //   pageSource: Report.pageSource.expiredPage,
-        //   businessType: Report.businessType.pageView,
-        //   postId: state.postId,
-        //   shareLinkId: state.invite_code,
-        //   myShareLinkId: state.detail.inviteCopyUrl,
-        //   currentInvitedNum: state.inviteCount,
-        //   postId: state.postId,
-        //   redPacketType: Report.redPacketType.treasure
-        // });
+        Report.reportLog({
+          pageSource: Report.pageSource.expiredPage,
+          businessType: Report.businessType.pageView,
+          postId: state.postId,
+          shareLinkId: state.invite_code,
+          myShareLinkId: state.detail.inviteCopyUrl,
+          currentInvitedNum: state.inviteCount,
+          redPacketType: Report.redPacketType.treasure
+        });
         return
     }
     callback && callback()

+ 5 - 2
src/view/popup/tabbar-page/wallter/popup.vue

@@ -25,7 +25,7 @@
             </div>
         </div>
 
-        <currency-list 
+        <currency-list
             v-if="userInfo.accessToken"
             style="height: calc(100% - 103px);"
             ref="currencyListDom"
@@ -90,13 +90,16 @@ const init = () => {
     checkLoginState((res) => {
         if (res) {
             getAccountBalance();
+            setMessageCount();
+            if(window.location.pathname.indexOf('popup-page.html') > -1) {
+              return
+            }
             Report.reportLog({
                 pageSource: Report.pageSource.denetHomePage,
                 businessType: Report.businessType.pageView,
             }, {
                 type: window.location.href.indexOf('home.html') > -1 ? 'web' : 'extensions'
             });
-            setMessageCount();
         } else {
             Report.reportLog({
                 pageSource: Report.pageSource.denetLogin,