Skip to content

Commit

Permalink
首頁按鈕間隔 (#100)
Browse files Browse the repository at this point in the history
* fix: 管理員不在選舉人清單可查看結果
在判斷非管理員時,才會判斷是否為投票者。

* feat: 新增透過登入序號查詢學號以及時間功能

* refactor: 新增複製學號功能

refactor

* refactor: 調整按鈕樣式
  • Loading branch information
xujk0217 authored May 27, 2024
1 parent 8fad501 commit deebc9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
<ElButton
v-if="status === 'authenticated'"
type="success"
class="z-10 -mt-5 mb-8"
class="z-10 mt-2 mb-8"
@click="useRouter().push('/vote')"
>
<span class="font-bold">前 往 投 票 頁 面</span>
</ElButton>
<ElButton
v-else
type="primary"
class="z-10 -mt-5 mb-8"
class="z-10 mt-2 mb-8"
@click="useRouter().push('/login')"
>
<span class="font-bold">前 往 登 入 頁 面</span>
Expand Down

1 comment on commit deebc9d

@vercel
Copy link

@vercel vercel bot commented on deebc9d May 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ntpusu-vote – ./

ntpusu-vote-git-main-ntpusu.vercel.app
ntpusu-vote.vercel.app
ntpusu-vote-ntpusu.vercel.app

Please sign in to comment.