refactor(component-detail): 移除 PropertyPanelManager,统一使用 ComponentDetailManager
- 删除 PropertyPanelManager 文件(移至 .recycle/2026-01-28/) - 修改 Toolbar 按钮调用 componentDetail.show() 而非 propertyPanel.show() - 修复折叠面板 ghost 模式样式:添加背景色和左边距 - 清理 BimEngine 和 ManagerRegistry 中的 PropertyPanelManager 引用 - 构建验证通过
This commit is contained in:
@@ -13,7 +13,7 @@ export const createPropertyButton = (): ButtonConfig => {
|
||||
onClick: () => {
|
||||
console.log('构件详情按钮被点击');
|
||||
const registry = ManagerRegistry.getInstance();
|
||||
registry.propertyPanel?.show();
|
||||
registry.componentDetail?.show();
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -16,11 +16,15 @@
|
||||
}
|
||||
|
||||
.bim-collapse.is-ghost .bim-collapse-header {
|
||||
background-color: transparent;
|
||||
padding-left: 0;
|
||||
background-color: var(--bim-component-bg);
|
||||
padding-left: 12px;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.bim-collapse.is-ghost .bim-collapse-header:hover {
|
||||
background-color: var(--bim-component-bg-hover);
|
||||
}
|
||||
|
||||
.bim-collapse.is-ghost .bim-collapse-content {
|
||||
background-color: transparent;
|
||||
border-top: none;
|
||||
|
||||
Reference in New Issue
Block a user