nieyuge 2 years ago
parent
commit
74eb551ec8
1 changed files with 20 additions and 1 deletions
  1. 20 1
      pages/index.vue

+ 20 - 1
pages/index.vue

@@ -343,6 +343,25 @@ export default {
 		},
 		clickOpenChrome() {
 			window.open('https://www.google.com/chrome')
+            Report.reportLog({
+				baseInfo: {
+					appVersionCode: this.appVersionCode,
+					mid: this.mid,
+					pageSource: Report.pageSource.newUserLandingPage,
+					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,
+                        status: '',
+					},
+				}
+			})
 		},
 		isMobile() {
 			let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
@@ -366,7 +385,7 @@ export default {
                         postId: this.detail.postId,
                         srcContentId: this.detail.srcContentId,
                         senderId: this.detail.srcUserId,
-                        status: this.reportStatus,
+                        status: '',
 					},
 				}
 			})