Commit d2dfc160 authored by moonby's avatar moonby

电动阀UI调整

parent e7e20471
<template>
<el-card class="card-contianer">
<el-form :model="form" label-width="auto" style="max-width: 600px;height: 100%">
<el-form class="card-form" :model="form" label-width="auto" :style="{minHeight:h+'px',maxWidth:400+'px'}">
<el-form-item label="自检计划名称">
<el-input v-model="form.name" />
</el-form-item>
......@@ -55,6 +55,9 @@ import { ElMessage } from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import http from '../../api/http'
var h=window.innerHeight - 165;
const form = reactive({
planId: '',
name: '',
......@@ -140,14 +143,12 @@ function get() {
width: calc(100%-1px);
height: 100%;
overflow: hidden;
}
.card-form {
width: 100%;
height: 300px;
// text-align: center;
padding-left: 35%;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment