style: update

This commit is contained in:
xiaoxian521 2023-05-18 15:47:54 +08:00
parent af421a6489
commit d70b94111c
4 changed files with 24 additions and 4 deletions

View File

@ -200,7 +200,7 @@ export default defineComponent({
return () => (
<>
<div {...attrs} class="w-[99/100] mt-6 p-2 bg-bg_color">
<div {...attrs} class="w-[99/100] mt-4 px-2 pb-2 bg-bg_color">
<div class="flex justify-between w-full h-[60px] p-4">
<p class="font-bold truncate">{props.title}</p>
<div class="flex items-center justify-around">

View File

@ -35,7 +35,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="bg-bg_color w-[99/100] pl-8 pt-4"
class="search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"
>
<el-form-item label="部门名称:" prop="name">
<el-input
@ -138,3 +138,11 @@ const {
</PureTableBar>
</div>
</template>
<style lang="scss" scoped>
.search-form {
:deep(.el-form-item) {
margin-bottom: 12px;
}
}
</style>

View File

@ -43,7 +43,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="bg-bg_color w-[99/100] pl-8 pt-4"
class="search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"
>
<el-form-item label="角色名称:" prop="name">
<el-input
@ -206,4 +206,10 @@ const {
:deep(.el-dropdown-menu__item i) {
margin: 0;
}
.search-form {
:deep(.el-form-item) {
margin-bottom: 12px;
}
}
</style>

View File

@ -44,7 +44,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="bg-bg_color w-[99/100] pl-8 pt-4"
class="search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"
>
<el-form-item label="用户名称:" prop="username">
<el-input
@ -186,4 +186,10 @@ const {
:deep(.el-dropdown-menu__item i) {
margin: 0;
}
.search-form {
:deep(.el-form-item) {
margin-bottom: 12px;
}
}
</style>