Skip to content

Commit

Permalink
[*] Change comment style
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Jan 26, 2025
1 parent 8ec4f79 commit 10ba57f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/views/NewYearView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@
<n-empty v-if="commentList.length == 0"></n-empty>
<n-grid cols="3" item-responsive>
<n-grid-item v-for="item in commentList" id="item" span="0:3 950:1" v-bind:key="item.id">
<n-space style="display: block">
<n-card :title="'ID: ' + item.id + ' - ' + item.username">
{{ item.comment }}
<template #footer> 提交时间:{{ timestampToTime(item.time) }} </template>
</n-card>
</n-space>
<n-card :title="'ID: ' + item.id + ' - ' + item.username" style="display: block; margin: 3px">
{{ item.comment }}
<template #footer> 提交时间:{{ timestampToTime(item.time) }} </template>
</n-card>
</n-grid-item>
</n-grid>
</n-spin>
Expand Down

0 comments on commit 10ba57f

Please sign in to comment.