mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2026-07-09 00:00:04 +08:00
字典项 添加上移下移功能,修复样式
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user