From 41b36f013d4103ffc59fd58feb6b6177ee5b04f7 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sat, 15 Jan 2022 21:06:24 +0800 Subject: [PATCH] 组件 模块分离 --- src/components/mini/box2-class.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/components/layouts/box2-class.vue b/src/components/mini/box2-class.vue similarity index 86% rename from src/components/layouts/box2-class.vue rename to src/components/mini/box2-class.vue index 4733e83..8248734 100644 --- a/src/components/layouts/box2-class.vue +++ b/src/components/mini/box2-class.vue @@ -1,5 +1,5 @@ <template> - <div class="blog-container "> + <div class="blog-container "> <span class="blog-pigeonhole">分类</span> <div class="blog-scroll "> <div class="blog-log-list"> @@ -18,14 +18,6 @@ </router-link> <span>{{item.count}}</span> - </div> - </div> - <div class="blog-log-list"> - <div class="blog-log-item" v-for="item in list2"> - <router-link to="/box1"> - <span>{{item.name}}</span> - </router-link> - <span>{{item.count}}</span> </div> </div> </div> @@ -59,6 +51,18 @@ }, { name: "星标", count: 14 + },{ + name: "Tag", + count: 133 + }, { + name: "专题", + count: 10 + }, { + name: "偏好", + count: 12 + }, { + name: "星标", + count: 14 }] } } -- Gitblit v1.9.1