From 859ec7a60a9a1f30c898dbf1ae05c50dccfc40e5 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Thu, 11 Aug 2022 01:51:55 +0800 Subject: [PATCH] 优化视频模块内页 --- src/components/mini/box14-video.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/mini/box14-video.vue b/src/components/mini/box14-video.vue index 9e794c3..952dd7d 100644 --- a/src/components/mini/box14-video.vue +++ b/src/components/mini/box14-video.vue @@ -15,7 +15,9 @@ <div class="entry-post"> <div class="entry-header"> <h5 class="entry-title"> - <a href="#" rel="bookmark">{{item.title}}</a> + <router-link :to="{path:'videoDetail',query:{id:item.id}}" :title="item.title"> + {{item.title}} + </router-link> </h5> <div class="post_content"> {{item.introduce}} @@ -36,7 +38,7 @@ <div class="post-on"> <span class="entry-date"> <a-icon type="calendar" /> - <a href="#" rel="bookmark"> + <a href="#" rel="bookmark"> {{item.publishDate}} </a> </span> @@ -61,7 +63,7 @@ } from '../../api/blogArticle.js' import myConstant from "../../config/myConstant.js" - + export default { data() { return { -- Gitblit v1.9.1