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/box1-info.vue | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/components/layouts/box1-info.vue b/src/components/layouts/box1-info.vue index 7be6382..a1dbf30 100644 --- a/src/components/layouts/box1-info.vue +++ b/src/components/layouts/box1-info.vue @@ -1,15 +1,19 @@ <template> + <div class="blog-container "> <div class="blog-avatar"> - <img :src="avatar"> - <div class="blog-user-message"> - <span>{{name}}</span> - <span>{{sentence}}</span> - <span> - <a-icon type="environment" />{{location}} - </span> - </div> + <router-link to="/tagInfo"> + <img :src="avatar"></img> + </router-link> </div> - + <div class="blog-user-message"> + <span>{{name}}</span> + <span>{{sentence}}</span> + <span> + <a-icon type="environment" />{{location}} + </span> + </div> + </div> + </template> <script> @@ -29,7 +33,6 @@ </script> <style lang="less"> - /*头像部分*/ .blog-avatar { border-radius: 15px; -- Gitblit v1.9.1