Skip to content

Commit 286c1e2

Browse files
committed
💄 调整名片间距
1 parent b3b3eae commit 286c1e2

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

src/components/app/top-nameCard.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const bgImage = computed<string>(() => {
4949
justify-content: flex-start;
5050
border: 1px solid var(--common-shadow-1);
5151
border-radius: 4px 50px 50px 4px;
52-
margin-bottom: 8px;
5352
background-color: var(--box-bg-1);
5453
background-image: v-bind(bgImage); /* stylelint-disable-line value-keyword-case */
5554
background-position: right;

src/components/userAchi/tua-achi-list.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="tua-al-container">
3-
<div v-if="ncData !== undefined">
3+
<div v-if="ncData !== undefined" class="tua-al-nc">
44
<TopNameCard :data="ncData" @selected="showNc = true" :finish="isFinish" />
55
</div>
66
<v-virtual-scroll :items="renderAchi" :item-height="60" class="tua-al-list">
@@ -160,6 +160,10 @@ function switchAchiInfo(next: boolean): void {
160160
overflow-y: auto;
161161
}
162162
163+
.tua-al-nc {
164+
margin-bottom: 8px;
165+
}
166+
163167
.tua-al-list {
164168
padding-right: 10px;
165169
}

src/pages/WIKI/NameCard.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<div class="tw-nc-list">
4646
<v-virtual-scroll class="v-scroll" :items="sortNameCardsData" :item-height="80" item-key="id">
4747
<template #default="{ item }">
48-
<TopNameCard :data="item" @selected="showNameCard(item)" />
48+
<TopNameCard class="item" :data="item" @selected="showNameCard(item)" />
4949
</template>
5050
</v-virtual-scroll>
5151
</div>
@@ -193,6 +193,10 @@ function searchNameCard(): void {
193193
194194
.v-scroll {
195195
padding-right: 8px;
196+
197+
.item {
198+
margin-bottom: 8px;
199+
}
196200
}
197201
}
198202

0 commit comments

Comments
 (0)