From f9c38ed1b72fc96b96c1d3ffdcc1a66b03bd3b73 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Fri, 21 Jan 2022 18:03:07 +0800
Subject: [PATCH] 布局修改,小工具添加,mock数据接入,接口模拟请求

---
 src/components/mini/box4-minibox.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/components/mini/box4-minibox.vue b/src/components/mini/box4-minibox.vue
index 1da9efa..1e42eca 100644
--- a/src/components/mini/box4-minibox.vue
+++ b/src/components/mini/box4-minibox.vue
@@ -1,7 +1,11 @@
 <template>
 	<div class="blog-container ">
 		<div>
-			<span class="blog-right-side-portion-title " v-bind:class="{'title-remark':isShowRemark}">{{title}}</span>
+			<span class="blog-right-side-portion-title " v-bind:class="{'title-remark':isShowRemark}">
+				<router-link :to="link">
+					{{title}}
+				</router-link>
+			</span>
 		</div>
 		<div class="blog-scroll show-line ">
 			<div class="blog-right-side-meta " v-for="item in list">
@@ -19,6 +23,9 @@
 <script>
 	export default {
 		props: {
+			link: {
+				default:"#"
+			},
 			title: "",
 			list: "",
 			isShowRemark: false
@@ -37,10 +44,13 @@
 	/*右边的部分*/
 
 	.blog-right-side-portion-title {
+		a {
+			color: black;
+		}
+
 		display: block;
 		font-size: 15px;
 		padding-bottom: 8px;
-
 	}
 
 	span.title-remark::after {

--
Gitblit v1.9.1