优化列表显示效果

This commit is contained in:
2024-12-11 12:29:51 +08:00
parent 9af3b116d1
commit d5500c8f49
2 changed files with 4 additions and 4 deletions

View File

@@ -290,14 +290,14 @@ onBeforeUnmount(() => {
padding: 8px 16px;
display: flex;
align-items: center;
border-bottom: 1px solid #e8e8e8;
transition: background-color 0.2s;
transition: background-color 0.8s ease;
cursor: pointer;
background-color: white;
}
/* 简单的选中高亮效果 */
.list-item.selected {
background-color: #e6f7ff;
background-color: rgba(64, 169, 255, 0.15);
}
/* 默认列表项样式 */