feat:设置面板放大缩小参数调整

This commit is contained in:
liailing1026
2026-03-04 15:02:32 +08:00
parent a61016eace
commit 7a8acc7375
2 changed files with 33 additions and 13 deletions

View File

@@ -70,7 +70,7 @@ const handleTabChange = (tabKey: string) => {
}
// 切换到执行过程编排时,延迟触发自适应视图
watch(activeTab, (newTab) => {
watch(activeTab, newTab => {
if (newTab === 'process') {
nextTick(() => {
setTimeout(() => {
@@ -153,13 +153,13 @@ defineExpose({
// 面板主体
.settings-panel {
position: fixed;
bottom: 6%;
left: 0;
right: 0;
width: 80%;
max-width: 1200px;
bottom: 24px;
left: 24px;
right: 24px;
width: auto;
max-width: none;
margin: 0 auto;
height: 70vh;
height: calc(100% - 194px);
background: var(--color-bg-three);
border-radius: 20px;
box-shadow: 0 -4px 30px rgba(0, 0, 0.4);
@@ -171,12 +171,12 @@ defineExpose({
&.is-maximized {
max-width: none;
left: 24px;
right: 24px;
width: auto;
height: calc(100% - 194px);
bottom: 24px;
border-radius: 20px;
left: 0;
right: 0;
width: 100vw;
height: 100vh;
bottom: 0;
border-radius: 8px;
}
}