From 33f5b32f37c4eb557bda74de0f49a6d6ac8d1665 Mon Sep 17 00:00:00 2001 From: Guarp Date: Thu, 27 Feb 2025 23:12:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=9E=E4=BE=8B=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Demos_box.vue | 8 +++++++- src/pages/Demos_home.vue | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/Demos_box.vue b/src/components/Demos_box.vue index 01abf9b..1582ddb 100644 --- a/src/components/Demos_box.vue +++ b/src/components/Demos_box.vue @@ -11,6 +11,7 @@ defineProps({

{{ demo.name }}

{{ demo.author.join("、") }}

+

{{ demo.date }}

{{ tag }}
@@ -86,7 +87,12 @@ h3 { opacity: 0.8; transition: opacity 0.3s ease; } - +.date { + font-size: 15px; + margin: 5px 0; + opacity: 0.5; + transition: opacity 0.3s ease; +} .demo-box:hover .author { opacity: 1; } diff --git a/src/pages/Demos_home.vue b/src/pages/Demos_home.vue index e6674a4..5609772 100644 --- a/src/pages/Demos_home.vue +++ b/src/pages/Demos_home.vue @@ -8,11 +8,13 @@ const demos = ref([ { id: 'board', name: '留言板', + date: '2024-10-6', author: ["Mike Rong", "Louis Zhou"], tags: ['功能'] },{ id: 'pod', name: '在线练题', + date: '2025-2-26', author: ["Louis Zhou"], tags: ['课内'], image: 'https://' + getDomain() + '/data/file/pod.png'