fix : 修复列表页面搜索框排版

This commit is contained in:
2024-08-12 00:04:31 +08:00
parent 3e3d738362
commit 83af021d33
15 changed files with 434 additions and 175 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div style="padding: 0 20px">
<baseTitle title="年度计划" style="margin-left: -15px;margin-bottom: -2px"></baseTitle>
<fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>
<div >
<!-- <baseTitle title="年度计划" style="margin-left: -15px;margin-bottom: -2px"></baseTitle>-->
<fvSearchForm :searchConfig="searchConfig" @search="search" style="margin-left: 16px"></fvSearchForm>
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick"></fvTable>
</div>
</template>
@@ -19,7 +19,7 @@ const searchConfig = ref([
prop: 'annualPlanName',
component: 'el-input',
props: {
placeholder: '请输入',
placeholder: '请输入年度计划名称',
clearable: true
},
}
@@ -124,5 +124,20 @@ const handleDelete = (row) => {
</script>
<style scoped lang="scss">
:deep(.el-table__header) {
.is-leaf:first-child {
.cell {
margin-left: -25px !important;
}
}
}
:deep(.el-table__body) {
.el-table__cell:first-child {
.cell {
margin-left: -13px !important;
}
}
}
</style>