فهرست منبع

Merge branch 'pre' of DeNet/de-net-official into master

zhangwei 2 سال پیش
والد
کامیت
98d907ffed
6فایلهای تغییر یافته به همراه12 افزوده شده و 5 حذف شده
  1. 1 0
      pages/index.vue
  2. 1 0
      pages/luckdraw.vue
  3. 1 0
      pages/nft/group.vue
  4. 6 2
      pages/toolbox/index.vue
  5. 1 1
      pages/treasure/index.vue
  6. 2 2
      pages/treasure/invite.vue

+ 1 - 0
pages/index.vue

@@ -562,6 +562,7 @@ export default {
 				postNickName: this.detail.postBizData.postUserInfo.nickName || '',
 				createTime: Date.now(),
 				jump_type: 'red_packet',
+				postId: this.detail.postId || '',
 			};
 			Cookies.set('jump_info', JSON.stringify(pickupInfo), { expires: 100 });
 		},

+ 1 - 0
pages/luckdraw.vue

@@ -445,6 +445,7 @@ export default {
 				postNickName: this.detail.postBizData.postUserInfo.nickName || '',
 				createTime: Date.now(),
 				jump_type: 'luck_draw',
+				postId: this.detail.postId || '',
 			};
 			Cookies.set('jump_info', JSON.stringify(pickupInfo), { expires: 100 });
 		},

+ 1 - 0
pages/nft/group.vue

@@ -264,6 +264,7 @@ export default {
 				twitterAccount: this.postBizData.defaultTwitterAccount || '',
 				createTime: Date.now(),
 				jump_type: 'nft_group_info',
+				postId: this.detail.postId || '',
 			};
 			Cookies.set('jump_info', JSON.stringify(nftGroupInfo), { expires: 100 });
 		},

+ 6 - 2
pages/toolbox/index.vue

@@ -14,7 +14,7 @@
 			<!-- chrome -->
 			<div v-if="device == 'chrome'">
 				<div class="txt">Use chrome browser to access {{ detail.postBizData.linkTitle || '' }}</div>
-				<install-extension :extensionsInstallUrl="config.extensionsInstallUrl" @installClick="installClick"></install-extension>
+				<install-extension :extensionsInstallUrl="config.extensionsInstallUrl" @installClick="installClick"> </install-extension>
 			</div>
 		</div>
 
@@ -22,7 +22,9 @@
 		<div v-if="device == 'ios' || device == '安卓'" class="mobile">
 			<div class="mobile-content">
 				<img :class="{ blur: detail.postBizData.certNftProjectId }" :src="detail.postBizData.viewBgImagePath || detail.postBizData.linkImagePath" alt="" />
-				<div class="title">Open link on PC to use <span v-if="detail.postBizData && detail.postBizData.linkTitle">{{detail.postBizData.linkTitle}}</span></div>
+				<div class="title">
+					Open link on PC to use <span v-if="detail.postBizData && detail.postBizData.linkTitle">{{ detail.postBizData.linkTitle }}</span>
+				</div>
 			</div>
 			<div class="area-button">
 				<div class="btn1" @click="clickExtension">Install Chrome Extension</div>
@@ -209,6 +211,7 @@ export default {
 				postNickName: this.detail.srcUserId || '',
 				createTime: Date.now(),
 				jump_type: 'tool_box',
+				postId: this.detail.postId || '',
 			};
 			Cookies.set('jump_info', JSON.stringify(pickupInfo), { expires: 1000 });
 		},
@@ -298,6 +301,7 @@ body,
 				width: 100%;
 				margin-bottom: 25px;
 				border-radius: 5px;
+
 				&.blur {
 					width: 95%;
 					filter: saturate(0.5) blur(6px);

+ 1 - 1
pages/treasure/index.vue

@@ -295,7 +295,7 @@ export default {
 				jump_type: 'treasure_info',
 				srcContentId: this.detail.srcContentId || '',
 				postNickName: this.detail.postUserInfo.nickName,
-				postId: this.detail.postId,
+				postId: this.detail.postId || '',
 			};
 			Cookies.set('jump_info', JSON.stringify(treasureInfo), { expires: 100 });
 		},

+ 2 - 2
pages/treasure/invite.vue

@@ -313,8 +313,8 @@ export default {
 				jump_type: 'treasure_info',
 				srcContentId: this.detail.repostSrcContentId || '',
 				postNickName: this.detail.inviteUserInfo.nickName,
-				postId: this.detail.postId,
-				shareLinkId: this.$route.params.id,
+				postId: this.detail.postId || '',
+				shareLinkId: this.$route.params.id || '',
 				channelName: this.$route.params.channel ? window.atob(this.$route.params.channel) : '',
 			};
 			Cookies.set('jump_info', JSON.stringify(treasureInfo), { expires: 100 });