From 56a4b88b16b5f86a2a697018a3e2546d3abf73e3 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 14 Jan 2022 02:04:24 +0800 Subject: [PATCH] 界面二次优化 --- src/components/layouts/box3-archive.vue | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/layouts/box3-archive.vue b/src/components/layouts/box3-archive.vue index bbf9fe5..e1a3f8f 100644 --- a/src/components/layouts/box3-archive.vue +++ b/src/components/layouts/box3-archive.vue @@ -7,10 +7,11 @@ <div class="blog-pigeonhole-list"> <div class="blog-pigeonhole-item" v-for="item in list2020"> - <a href="#"> + <router-link to="/tagTime"> <span>{{item.month}}月</span> - <span>{{item.count}}篇</span> - </a> + </router-link> + <span>{{item.count}}篇</span> + </div> </div> </div> @@ -19,22 +20,22 @@ <div class="blog-pigeonhole-list"> <div class="blog-pigeonhole-item" v-for="item in list2019"> - <a href="#"> + <router-link to="/tagTime"> <span>{{item.month}}月</span> - <span>{{item.count}}篇</span> - </a> + </router-link> + <span>{{item.count}}篇</span> </div> </div> </div> <div> <p class="blog-pigeonhole-p">2019</p> <div class="blog-pigeonhole-list"> - + <div class="blog-pigeonhole-item" v-for="item in list2019"> - <a href="#"> + <router-link to="/tagTime"> <span>{{item.month}}月</span> - <span>{{item.count}}篇</span> - </a> + </router-link> + <span>{{item.count}}篇</span> </div> </div> </div> -- Gitblit v1.9.1