Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/zvms/zvms4-frontend into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
7086cmd committed Apr 16, 2024
2 parents b8a382a + 90526d3 commit 81068d4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/views/user/UserHome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,29 @@ async function refreshUser() {
await user.refreshUser()
loading.value = false
}
</script>

<template>
<div class="px-20 fill" style="width: 100%">
<p class="text-2xl py-8">
{{ t('home.greeting', { greet: t('home.greetings.' + greeting), name: user.name }) }}
</p>
<p>
自本周起至期中考试结束,暂停义工审计,相关义工时间将会在期中考试结束后进行审计。
<br />
From this week to the end of the midterm exam, the volunteer audit will be suspended, and the
relevant volunteer time will be audited after the midterm exam.
<br />
距离期中考试还有
<span class="text-2xl">
{{ dayjs('2024-04-22').isAfter(dayjs()) ? dayjs('2024-04-22').date() - dayjs().date() : 0 }}
</span>
天。
<br />
There are
<span class="text-2xl">{{ dayjs('2024-04-22 00:00:00').date() - dayjs().date() }}</span>
days left until the midterm exam. (2024-04-22)
</p>
<div class="py-4">
<ElCard shadow="hover">
<ElDescriptions class="fill" border :column="width < height * 1.2 ? 2 : 3">
Expand Down

0 comments on commit 81068d4

Please sign in to comment.