style: 统一列表首项留白并添加背景色过渡

This commit is contained in:
GouJ
2026-09-02 10:50:07 +08:00
parent 5b0e6578dc
commit 4f9b44298e
5 changed files with 22 additions and 7 deletions
@@ -151,11 +151,7 @@ function exportScript() {
<NScrollbar v-if="tab !== 'episodes'" class="panel-scroll"
><div v-if="tab === 'characters'" class="p-6 lg:p-8">
<div v-if="project?.characters.length" class="record-list">
<article
v-for="character in project.characters"
:key="character.id"
class="py-5 first:pt-0"
>
<article v-for="character in project.characters" :key="character.id">
<div class="mb-3 flex items-center gap-3">
<h3 class="text-lg font-semibold">{{ character.name }}</h3>
<NTag size="small" :bordered="false">{{ character.role || '角色' }}</NTag