3 changed files with 63 additions and 57 deletions
-
27src/components/home/HomeSetting.vue
-
46src/components/home/Runtime.vue
-
47src/views/home/chart.vue
@ -1,46 +0,0 @@ |
|||||
<script lang="ts" setup> |
|
||||
import RunFormulaConfig from 'components/formula/RunFormulaConfig.vue' |
|
||||
import { onMounted } from 'vue' |
|
||||
|
|
||||
/** |
|
||||
* 配方选择页面组件 |
|
||||
* @description 负责处理配方选择逻辑、设备状态判断及界面交互 |
|
||||
*/ |
|
||||
|
|
||||
/** |
|
||||
* @hook 生命周期钩子 - 挂载完成时执行 |
|
||||
* @description 初始化时检查配方列表,若为空则重新获取 |
|
||||
*/ |
|
||||
onMounted(() => { |
|
||||
}) |
|
||||
</script> |
|
||||
|
|
||||
<template> |
|
||||
<div class="main-content"> |
|
||||
<div class="formula-config"> |
|
||||
<RunFormulaConfig/> |
|
||||
</div> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<style lang="scss" scoped> |
|
||||
.main-content { |
|
||||
overflow: hidden; |
|
||||
//height: auto; |
|
||||
//background: $gradient-color; |
|
||||
padding: 15px; |
|
||||
.formula-config { |
|
||||
display: grid; |
|
||||
padding: 10px; |
|
||||
width: 100%; |
|
||||
} |
|
||||
.formula-config-form { |
|
||||
display: grid; |
|
||||
grid-template-columns: 1fr 1fr; |
|
||||
gap: 5px; |
|
||||
} |
|
||||
.formdata-input { |
|
||||
width: 10vw; |
|
||||
} |
|
||||
} |
|
||||
</style> |
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue