From cc4749faaa9a2bd9660e7b827e46f30a74043028 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Thu, 14 Dec 2023 13:10:40 +0800
Subject: [PATCH] 修改样式
---
src/views/components/laws.vue | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/src/views/components/laws.vue b/src/views/components/laws.vue
index 6f7c93c..e5d7187 100644
--- a/src/views/components/laws.vue
+++ b/src/views/components/laws.vue
@@ -3,8 +3,8 @@
<div class="main-content">
<div class="filters">
<el-form :model="state.querys">
- <el-form-item label="法律法规名称:" style="font-size: 15px; width: 500px;margin-bottom: 0;margin-right: 20px">
- <el-input v-model="state.querys.title" />
+ <el-form-item label="法律法规名称:" class="nameInput" style="font-size: 15px; width: 500px;margin-bottom: 0;margin-right: 20px">
+ <el-input v-model="state.querys.title" placeholder="请输入名称" />
</el-form-item>
</el-form>
<el-button type="primary" :icon="Search" class="searchBtn" v-model="state.querys.title" @click="search">搜索</el-button>
@@ -118,14 +118,22 @@
width: 100%;
display: flex;
justify-content: center;
- margin-top: 170px;
+ margin-top: 160px;
:deep(.el-form .el-form-item__label) {
font-size: 16px;
+ }
+ :deep(.el-form-item){
+ align-items: center;
+ }
+ .nameInput{
+ :deep(.el-input__inner){
+ --el-input-inner-height: 38px;
+ }
}
.main-content{
width: 1200px;
- margin: 20px 0;
+ margin: 15px 0;
background: #fff;
border-radius: 4px;
box-shadow: 1px 1px 3px rgba(0,0,0,.04);
@@ -162,7 +170,7 @@
.list{
padding: 15px 0;
- max-height: calc(100vh - 402px);
+ height: calc(100vh - 392px);
overflow-y: auto;
&>div{
--
Gitblit v1.9.2