+ + + + {{ item.name }} + + + -
+

最近访问

{

- {{ currentTag ? `标签: ${currentTag}` : '全部书签' }} + {{ currentTag ? `标签: ${currentTag}` : (currentFolderId ? '当前文件夹' : '全部书签') }}

添加书签
- + { v-model:visible="showSearch" @close="handleSearchClose" /> + + + @@ -169,17 +246,25 @@ onMounted(() => { } .sidebar { - width: 240px; + width: 260px; flex-shrink: 0; - background: #fff; - border-radius: 12px; - padding: 16px; - height: fit-content; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); + display: flex; + flex-direction: column; + gap: 16px; + + .sidebar-section { + background: #fff; + border-radius: 12px; + padding: 16px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); + } .sidebar-header { - margin-bottom: 16px; - + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 12px; + h3 { font-size: 14px; color: #999; @@ -210,6 +295,17 @@ onMounted(() => { background: rgba(255, 255, 255, 0.2); color: #fff; } + + .tag-color { + border-color: #fff; + } + } + + .tag-color { + width: 14px; + height: 14px; + border-radius: 3px; + border: 1px solid rgba(0, 0, 0, 0.1); } .tag-name { @@ -235,6 +331,18 @@ onMounted(() => { min-width: 0; } +.breadcrumb { + margin-bottom: 16px; + + a { + cursor: pointer; + + &:hover { + color: #667eea; + } + } +} + .recent-section { margin-bottom: 24px; } @@ -316,4 +424,3 @@ onMounted(() => { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); } -