mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-05 08:46:35 +08:00
fix: 对话选中状态增强
This commit is contained in:
@@ -234,7 +234,7 @@ function toggleSidebar() {
|
|||||||
:load-more="handleLoadMore"
|
:load-more="handleLoadMore"
|
||||||
:load-more-loading="loadMoreLoading"
|
:load-more-loading="loadMoreLoading"
|
||||||
:items-style="{
|
:items-style="{
|
||||||
marginLeft: '8px',
|
marginLeft: isCollapsed ? '8px' : '5px',
|
||||||
marginRight: '8px',
|
marginRight: '8px',
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
borderRadius: isCollapsed ? '12px' : '10px',
|
borderRadius: isCollapsed ? '12px' : '10px',
|
||||||
@@ -246,14 +246,18 @@ function toggleSidebar() {
|
|||||||
flexDirection: isCollapsed ? 'column' : 'row',
|
flexDirection: isCollapsed ? 'column' : 'row',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
|
borderLeft: '3px solid transparent',
|
||||||
}"
|
}"
|
||||||
:items-active-style="{
|
:items-active-style="{
|
||||||
backgroundColor: '#fff',
|
backgroundColor: 'rgba(0, 87, 255, 0.08)',
|
||||||
boxShadow: '0 1px 2px rgba(0, 0, 0, 0.05)',
|
boxShadow: '0 2px 8px rgba(0, 87, 255, 0.12)',
|
||||||
color: 'rgba(0, 0, 0, 0.85)',
|
color: '#0057ff',
|
||||||
|
borderLeft: '3px solid #0057ff',
|
||||||
|
fontWeight: '500',
|
||||||
}"
|
}"
|
||||||
:items-hover-style="{
|
:items-hover-style="{
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.04)',
|
backgroundColor: 'rgba(0, 0, 0, 0.04)',
|
||||||
|
borderLeft: '3px solid transparent',
|
||||||
}"
|
}"
|
||||||
@menu-command="handleMenuCommand"
|
@menu-command="handleMenuCommand"
|
||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
|
|||||||
Reference in New Issue
Block a user