From 83ccc0b65191b8be40b949ee597504366d343bb4 Mon Sep 17 00:00:00 2001 From: ggb <1223416496@qq.com> Date: Sun, 4 Jun 2023 17:20:02 +0800 Subject: [PATCH] Added personal profile interface form verification, and added home interface affairs card --- ui/src/components/home/AffairsCard.vue | 76 ++++++++++++++++++++ ui/src/pages/home/Home.vue | 15 +++- ui/src/pages/profile/PersonalProfile.vue | 92 ++++++++++++++++++------ 3 files changed, 161 insertions(+), 22 deletions(-) create mode 100644 ui/src/components/home/AffairsCard.vue diff --git a/ui/src/components/home/AffairsCard.vue b/ui/src/components/home/AffairsCard.vue new file mode 100644 index 0000000..c549769 --- /dev/null +++ b/ui/src/components/home/AffairsCard.vue @@ -0,0 +1,76 @@ + + + + + 公告 + 查看更多 + + + + + + + + + + + + {{ + item.title + }} + + {{ + formatDate(item.createTime) + }} + {{ + item.status + }} + + + + + + + + diff --git a/ui/src/pages/home/Home.vue b/ui/src/pages/home/Home.vue index 1f14233..0c87268 100644 --- a/ui/src/pages/home/Home.vue +++ b/ui/src/pages/home/Home.vue @@ -10,7 +10,7 @@ - + @@ -21,13 +21,16 @@