瀏覽代碼

确权图片模糊

nieyuge 2 年之前
父節點
當前提交
2f278a14ea
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      pages/toolbox/index.vue

+ 6 - 1
pages/toolbox/index.vue

@@ -21,7 +21,7 @@
 		<!-- 移动端 -->
 		<div v-if="device == 'ios' || device == '安卓'" class="mobile">
 			<div class="mobile-content">
-				<img :src="detail.postBizData.viewBgImagePath || detail.postBizData.linkImagePath" alt="" />
+				<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>
 			<div class="area-button">
@@ -291,12 +291,17 @@ body,
 
 	.mobile {
 		.mobile-content {
+			text-align: center;
 			padding: 36px 16px 0 16px;
 
 			img {
 				width: 100%;
 				margin-bottom: 25px;
 				border-radius: 5px;
+				&.blur {
+					width: 95%;
+					filter: saturate(0.5) blur(6px);
+				}
 			}
 
 			.title {