Files
pqs-9100_client/frontend/src/views/machine/testScript/components/testScriptDipTab.vue

43 lines
1.0 KiB
Vue
Raw Normal View History

2024-12-30 14:43:13 +08:00
<template>
<div class="editor-container">
<div class="left-editor">
<!-- 左侧编辑区域内容 -->
2025-01-06 09:21:24 +08:00
2024-12-30 14:43:13 +08:00
</div>
<div class="right-editor">
<!-- 右侧编辑区域内容 -->
<el-form-item label="设定幅度(%)">
<el-input v-model="input1" />
</el-form-item>
<el-form-item label="持续时间(周波)">
<el-input v-model="input2" />
</el-form-item>
</div>
</div>
</template>
<script setup lang="ts">
</script>
<style scoped>
canvas {
border: 1px solid #ccc;
}
.editor-container {
display: flex;
height: 100%;
}
2025-01-06 09:21:24 +08:00
2024-12-30 14:43:13 +08:00
.left-editor {
flex: 3; /* 左侧区域占据 3/4 的宽度 */
2025-01-06 09:21:24 +08:00
margin-left: 150px; /* 可选:添加间距 */
2024-12-30 14:43:13 +08:00
}
.right-editor {
flex: 1; /* 右侧区域占据 1/4 的宽度 */
2025-01-06 09:21:24 +08:00
margin-right: 250px; /* 向左侧移动一点 */
2024-12-30 14:43:13 +08:00
}
</style>