From 4b854c29227ef08ea178a3bba527a40ca2f84674 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Mon, 21 Feb 2022 02:03:17 +0800
Subject: [PATCH] 统计接口对接,列表接口参数对接

---
 src/components/mini/box-new-article.vue |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/src/components/mini/box-new-article.vue b/src/components/mini/box-new-article.vue
index 1355304..30b62c6 100644
--- a/src/components/mini/box-new-article.vue
+++ b/src/components/mini/box-new-article.vue
@@ -6,20 +6,24 @@
 				<div class="post_cover left_radius" v-if="id%2==0">
 					<router-link :to="{path:'/mdDetail',query:{id:id}}" :title="title">
 						<div class="block left_radius"></div>
-						<img class="post_bg"  :src="coverFileURL" :onerror="img404" :alt="title">
+						<img class="post_bg" :src="coverFileURL" :onerror="img404" :alt="title">
 					</router-link>
 				</div>
 
 				<div class="post_cover right_radius" v-else>
 					<router-link :to="{path:'/mdDetail',query:{id:id}}" :title="title">
 						<div class="block right_radius"></div>
-						<img class="post_bg"  :src="coverFileURL" :onerror="img404" :alt="title">
+						<img class="post_bg" :src="coverFileURL" :onerror="img404" :alt="title">
 						<!-- <img class="post_bg" src="https://unpkg.zhimg.com/ahzo@1.0.3/blogpic/1.jpg" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;" :alt="title"> -->
 					</router-link>
 				</div>
 
 				<div class="recent-post-info">
-					<router-link :to="{path:'/mdDetail',query:{id:id}}" class="article-title"> {{title}} </router-link>
+					<router-link :to="{path:'/mdDetail',query:{id:id}}" class="article-title">
+						<a-icon type="lock" style="color:rgba(0,0,0,.25)"  v-if="authStatus==3"/>
+						<a-icon type="stop" style="color:rgba(0,0,0,.25)"  v-if="authStatus==2"/>
+						{{title}}
+					</router-link>
 					<!-- <a class="article-title" href="/mdDetail" :title="title"> {{title}}</a> -->
 					<div class="article-meta-wrap" style="display: flex;">
 						<span class="post-meta-date">
@@ -31,7 +35,8 @@
 						<span class="article-meta__separator" style="margin: 0px 3px ;"> | </span>
 						<span class="article-meta">
 							<a-icon type="book" />
-							<router-link :to="{path:'/mdDetail',query:{id:id}}" class="article-meta__categories"> {{articleTypeName}}
+							<router-link :to="{path:'/mdDetail',query:{id:id}}" class="article-meta__categories">
+								{{articleTypeName}}
 							</router-link>
 							<!-- <a class="article-meta__categories" href="#"> {{tag}}</a> -->
 						</span>
@@ -51,6 +56,9 @@
 			"id": {
 				default: 0,
 			},
+			"authStatus": {
+				default: 1,
+			},
 			"title": {
 				default: "",
 			},
@@ -69,7 +77,7 @@
 		},
 		data() {
 			return {
-				img404:"this.onerror='';this.src=\"https://unpkg.zhimg.com/ahzo@1.0.3/blogpic/1.jpg\"",
+				img404: "this.onerror='';this.src=\"https://unpkg.zhimg.com/ahzo@1.0.3/blogpic/1.jpg\"",
 				// 	"title": "使用KeyStore生成证书",
 				// 	"publishTime": "2022-01-14",
 				// 	"tag": "随手记",

--
Gitblit v1.9.1