bug改修,智家模块
This commit is contained in:
1 parent
063718f86d
commit
fcbcf07b87
52 files changed
+12602
-142
No files matched your search
@@ -1119,7 +1119,7 @@ async function saveThenRedecode(): Promise<void> {
|
||||
</TooltipProvider>
|
||||
</header>
|
||||
|
||||
<!-- 主体:侧栏自导航行起贯通到底;导航行 / 标签栏 / 编辑器同处右侧「编辑列」 -->
|
||||
<!-- 主体:侧栏自导航行起贯通到底;导航行 / 搜索栏 / 编辑区同处右侧「编辑列」 -->
|
||||
<div class="flex min-h-0 flex-1">
|
||||
<LibrarySidebar v-if="sidebarVisible" ref="sidebarRef" @open="store.openNote($event)" />
|
||||
|
||||
@@ -1141,19 +1141,6 @@ async function saveThenRedecode(): Promise<void> {
|
||||
@open-search="openSearch(searchDir ? 'dir' : 'library')"
|
||||
/>
|
||||
|
||||
<!-- 文档标签栏(多文档) -->
|
||||
<EditorTabs
|
||||
v-if="store.tabs.length"
|
||||
:preview-ids="previewIds"
|
||||
@close="requestCloseTab"
|
||||
@toggle-preview="togglePreview"
|
||||
@close-others="requestCloseTabs(tabIdsExcept($event))"
|
||||
@close-left="requestCloseTabs(tabIdsLeftOf($event))"
|
||||
@close-right="requestCloseTabs(tabIdsRightOf($event))"
|
||||
@close-all="requestCloseTabs(store.tabs.map(t => t.id))"
|
||||
@split="openSplit"
|
||||
/>
|
||||
|
||||
<!-- 外部改动提示(有未保存改动时才会出现) -->
|
||||
<div
|
||||
v-if="store.externalChange"
|
||||
@@ -1191,6 +1178,24 @@ async function saveThenRedecode(): Promise<void> {
|
||||
@replaced="onPathReplaced"
|
||||
/>
|
||||
|
||||
<!-- 「并排分屏」行:不分屏时整行占满;分屏时左右各半 ——
|
||||
左半是「标签栏 + 编辑栏」,右半是副文档(各带自己的 8px 标题行)。
|
||||
副文档是**并排的一列**,不是嵌在编辑栏内部的一块。 -->
|
||||
<div class="flex min-h-0 min-w-0 flex-1">
|
||||
<div class="flex min-h-0 min-w-0 flex-col" :class="splitTab ? 'w-1/2' : 'flex-1'">
|
||||
<!-- 文档标签栏(多文档):属于左半这一列 -->
|
||||
<EditorTabs
|
||||
v-if="store.tabs.length"
|
||||
:preview-ids="previewIds"
|
||||
@close="requestCloseTab"
|
||||
@toggle-preview="togglePreview"
|
||||
@close-others="requestCloseTabs(tabIdsExcept($event))"
|
||||
@close-left="requestCloseTabs(tabIdsLeftOf($event))"
|
||||
@close-right="requestCloseTabs(tabIdsRightOf($event))"
|
||||
@close-all="requestCloseTabs(store.tabs.map(t => t.id))"
|
||||
@split="openSplit"
|
||||
/>
|
||||
|
||||
<main class="flex min-h-0 min-w-0 flex-1">
|
||||
<div class="relative flex min-h-0 min-w-0 flex-1 flex-col">
|
||||
<div v-if="!store.hasDocument" class="flex min-h-0 flex-1 items-center justify-center">
|
||||
@@ -1255,13 +1260,16 @@ async function saveThenRedecode(): Promise<void> {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
并排副面板:与主编辑列等宽,绑定**另一个标签**自己的缓冲(见 EditorHost 的 tabId)。
|
||||
`:key` 保证换目标时整块重建(编辑器实例不可跨文档复用)。
|
||||
并排副栏:与「标签栏 + 编辑栏」这一列等宽,绑定**另一个标签**自己的缓冲
|
||||
(见 EditorHost 的 tabId)。`:key` 保证换目标时整块重建(编辑器实例不可跨文档复用)。
|
||||
-->
|
||||
<div
|
||||
v-if="splitTab"
|
||||
class="relative flex min-h-0 w-1/2 min-w-0 flex-col border-l border-border"
|
||||
class="relative flex min-h-0 min-w-0 w-1/2 flex-col border-l border-border"
|
||||
>
|
||||
<div class="flex h-8 shrink-0 items-center gap-1.5 border-b border-border px-2 text-xs">
|
||||
<FileText v-if="splitTab.kind === 'note'" class="size-3.5 shrink-0 opacity-70" />
|
||||
@@ -1285,8 +1293,7 @@ async function saveThenRedecode(): Promise<void> {
|
||||
class="min-h-0 flex-1"
|
||||
/>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<!-- 目录 / 库检索结果面板:编辑列底部(IDE 的「Find in Path」工具窗位置) -->
|
||||
<SearchResultsPanel @open-file="onSearchOpenFile" />
|
||||
|
||||
Reference in new issue
Block a user