瀏覽代碼

Merge branch 'dev_1.1.7_lint' into pre

wenliming 2 年之前
父節點
當前提交
ff3ff89da9
共有 2 個文件被更改,包括 20 次插入20 次删除
  1. 0 2
      components/MobileLandPage.vue
  2. 20 18
      pages/treasure/invite.vue

+ 0 - 2
components/MobileLandPage.vue

@@ -41,8 +41,6 @@
 			<template v-else-if="isTreasureCpd">
 				<div class="mobile-land-page-prize-info-test">Complete the quest to win up to</div>
 				<div class="mobile-land-page-prize-info-test">
-					<span class="pre-amount-value" v-if="amountValue">{{ amountValue }}</span>
-					<span class="prize-name">{{ prize }}</span>
 					<span class="usd-amount treasure-usd-amount"> ${{ usValue }} for you two!</span>
 				</div>
 			</template>

+ 20 - 18
pages/treasure/invite.vue

@@ -190,28 +190,30 @@ export default {
 					eventData: {
 						businessType: Report.businessType.pageView,
 						shareLinkId: this.$route.params.id,
+						postId: this.detail.postId,
 					},
 				},
 			});
-		}
-		Report.reportLog({
-			baseInfo: {
-				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,
-					redPacketType: 4,
-					shareLinkId: window.location.href,
+		} else {
+			Report.reportLog({
+				baseInfo: {
+					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,
+						redPacketType: 4,
+						shareLinkId: this.$route.params.id,
+					},
+				},
+			});
+		}
 	},
 	methods: {
 		clickBtn() {