💄 修改表单宽度.

This commit is contained in:
lijiahang
2024-03-13 17:23:42 +08:00
parent 81ae46c181
commit 149e5bc40c
19 changed files with 131 additions and 92 deletions

View File

@@ -32,17 +32,13 @@
</template>
<template #description>
<div>
<a-typography-paragraph
:ellipsis="{
<a-typography-paragraph :ellipsis="{
rows: 1,
}"
>{{ item.content }}
</a-typography-paragraph
>
<a-typography-text
v-if="item.type === 'message'"
class="time-text"
>
}">
{{ item.content }}
</a-typography-paragraph>
<a-typography-text v-if="item.type === 'message'"
class="time-text">
{{ item.time }}
</a-typography-text>
</div>
@@ -51,11 +47,9 @@
</div>
</a-list-item>
<template #footer>
<a-space
fill
:size="0"
:class="{ 'add-border-top': renderList.length < showMax }"
>
<a-space fill
:size="0"
:class="{ 'add-border-top': renderList.length < showMax }">
<div class="footer-wrap">
<a-link @click="allRead">全部已读</a-link>
</div>
@@ -64,10 +58,9 @@
</div>
</a-space>
</template>
<div
v-if="renderList.length && renderList.length < 3"
:style="{ height: (showMax - renderList.length) * 86 + 'px' }"
></div>
<div v-if="renderList.length && renderList.length < 3"
:style="{ height: (showMax - renderList.length) * 86 + 'px' }">
</div>
</a-list>
</template>