From 57e3bead08715d72efaeffe90fafa179b8366473 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sat, 18 May 2024 12:02:14 +0800 Subject: [PATCH] 1.RSS更新 2.调整标签hover位置 3.font size --- src/components/mini/box1-info.vue | 33 ++++++++++++++++++++++++++------- 1 files changed, 26 insertions(+), 7 deletions(-) diff --git a/src/components/mini/box1-info.vue b/src/components/mini/box1-info.vue index 0ffa087..1a0a8d1 100644 --- a/src/components/mini/box1-info.vue +++ b/src/components/mini/box1-info.vue @@ -9,15 +9,24 @@ <span>{{name}}</span> <span>{{sentence}}</span> <span> - <a-icon type="environment" />{{location}} + <router-link to="/findMe"> + <a-icon type="environment" />{{location}} + </router-link> + <a :href="feed" target="_blank" class="no-underline"> + <a-icon type="customer-service" />RSS + <!-- <a-icon type="customer-service" theme="twoTone" two-tone-color="#ffaa00"/>RSS --> + </a> </span> + </div> </div> </template> <script> - import { getAppPage } from '../../api/appManage.js' + import { + getAppPage + } from '../../api/appManage.js' export default { name: "box", data() { @@ -25,14 +34,15 @@ avatar: "http://t.inleft.com/share/media_photo/xigong.png", name: "inleft", sentence: "十里寒塘路,烟花一半醒", - location: "广州" + location: "广州", + feed: "/api/feed" } }, created() { - console.log(getAppPage().then((res) => { - console.log(res); - return res - })); + // console.log(getAppPage().then((res) => { + // console.log(res); + // return res + // })); } } </script> @@ -54,6 +64,10 @@ /* 一言 */ .blog-user-message { + a { + color: #555; + } + text-align: center; font-size: 15px; color: #555; @@ -66,3 +80,8 @@ } } </style> +<style lang="less" scoped> + .blog-avatar a:hover::after { + left: -50%; + } +</style> -- Gitblit v1.9.1