fix: 多端数据同步下,列表适配暗黑模式

This commit is contained in:
lumozx 2023-10-18 12:44:49 +08:00
parent 142387d684
commit 606cb8bb22

View File

@ -33,15 +33,20 @@
<DatabaseOutlined style="font-size: 18px;"/> <DatabaseOutlined style="font-size: 18px;"/>
</a> </a>
</template> </template>
<a-list-item-meta :description="`${item.keys.length} 份文档`"> <a-list-item-meta>
<template #title> <template #title>
<div> <div style="color: var(--color-text-content)">
<span>{{ item.plugin?.pluginName }}</span> <span>{{ item.plugin?.pluginName }}</span>
</div> </div>
</template> </template>
<template #avatar> <template #avatar>
<a-avatar shape="square" :src="item.plugin?.logo"/> <a-avatar shape="square" :src="item.plugin?.logo"/>
</template> </template>
<template #description>
<div style="color: var(--color-text-desc)">
<span>{{ item.keys.length }} 份文档</span>
</div>
</template>
</a-list-item-meta> </a-list-item-meta>
</a-list-item> </a-list-item>
</template> </template>