字典项 添加上移下移功能,修复样式

This commit is contained in:
吕金泽
2022-04-05 23:07:50 +08:00
parent f85efa67d0
commit 25fada4674
12 changed files with 150 additions and 59 deletions
@@ -17,9 +17,7 @@
:placeholder="it.type.startsWith('datetime') ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD'"
>
</el-date-picker>
<span v-if="it.type == 'inputrange'">
<mb-inputrange v-model="it.value" />
</span>
<mb-inputrange v-model="it.value" v-else-if="it.type == 'inputrange'" />
<component v-else :is="it.type" v-model="it.value" v-bind="it.properties" />
</el-form-item>
</span>
@@ -277,11 +277,14 @@ defineExpose({ reload, exportExcel })
</script>
<style scoped>
.el-image >>> .el-image__inner {
.el-table :deep(.el-image .el-image__inner) {
max-height: 100px;
width: auto;
height: auto;
}
.el-table :deep(.el-table__cell){
z-index: auto;
}
</style>
<style>
@@ -1,5 +1,7 @@
<template>
<el-input v-model="input1" /> - <el-input v-model="input2" />
<el-input v-model="input1" />
<span>-</span>
<el-input v-model="input2" />
</template>
<script setup>
@@ -26,6 +28,9 @@ watch([input1, input2], () => {
<style scoped>
.el-input{
display: inline-block;
width: 48%;
width: 47%;
}
span{
margin: 0px 8px;
}
</style>