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/box2-class.vue | 1 + src/components/mini/tagInfo.vue | 5 +++++ src/components/mini/box1-info.vue | 9 +++++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/mini/box1-info.vue b/src/components/mini/box1-info.vue index dddd1cb..1a0a8d1 100644 --- a/src/components/mini/box1-info.vue +++ b/src/components/mini/box1-info.vue @@ -12,6 +12,10 @@ <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> @@ -30,7 +34,8 @@ avatar: "http://t.inleft.com/share/media_photo/xigong.png", name: "inleft", sentence: "十里寒塘路,烟花一半醒", - location: "广州" + location: "广州", + feed: "/api/feed" } }, created() { @@ -76,7 +81,7 @@ } </style> <style lang="less" scoped> - a:hover::after { + .blog-avatar a:hover::after { left: -50%; } </style> diff --git a/src/components/mini/box2-class.vue b/src/components/mini/box2-class.vue index a29e85c..ee006ba 100644 --- a/src/components/mini/box2-class.vue +++ b/src/components/mini/box2-class.vue @@ -99,6 +99,7 @@ span { display: block; + font-size:15px; } } </style> diff --git a/src/components/mini/tagInfo.vue b/src/components/mini/tagInfo.vue index 849d0b7..6a0a4b1 100644 --- a/src/components/mini/tagInfo.vue +++ b/src/components/mini/tagInfo.vue @@ -41,6 +41,11 @@ <a-tabs defaultActiveKey="1" :tabBarStyle="{'display': 'flex','justify-content': 'center'}"> <a-tab-pane key="1" tab="更新记录"> <a-timeline> + <!-- <a-timeline-item color="" style="margin-left: 10px;"> + <a-icon slot="dot" type="clock-circle-o" style="font-size: 18px; " /> + <h3>2024-05-18</h3> + <p>新增:RSS</p> + </a-timeline-item> --> <a-timeline-item color="" style="margin-left: 10px;"> <a-icon slot="dot" type="clock-circle-o" style="font-size: 18px; " /> <h3>2022-08-25</h3> -- Gitblit v1.9.1