| | |
| | | <div class="main-content"> |
| | | <div class="filters"> |
| | | <el-form :model="state.querys"> |
| | | <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 label="法律法规名称:" style="width: 500px;margin-bottom: 0;margin-right: 20px"> |
| | | <el-input v-model="state.querys.title" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-button type="primary" :icon="Search" class="searchBtn" v-model="state.querys.title" @click="search">搜索</el-button> |
| | |
| | | <div class="list"> |
| | | <div v-for="item in state.dataList" @click="openDetails('法律法规',item.id)"> |
| | | <div> |
| | | <div><img :src="articlePng"></div> |
| | | <div><img src="src/assets/images/article.png"></div> |
| | | <div>{{item.title}}</div> |
| | | </div> |
| | | <span> |
| | |
| | | import useUserStore from '@/store/modules/user' |
| | | import { Search, Refresh } from '@element-plus/icons-vue' |
| | | import {ElMessage} from "element-plus"; |
| | | import articlePng from "@/assets/images/article.png"; |
| | | const emit = defineEmits(['openDetails']) |
| | | const route = useRoute() |
| | | const router = useRouter() |
| | |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | margin-top: 160px; |
| | | margin-top: 150px; |
| | | :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{ |
| | |
| | | |
| | | .list{ |
| | | padding: 15px 0; |
| | | height: calc(100vh - 392px); |
| | | height: calc(100vh - 332px); |
| | | overflow-y: auto; |
| | | |
| | | &>div{ |
| | | display: flex; |
| | | padding: 10px; |
| | | padding: 8px; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | border-bottom: 1px dashed #ebeef5; |
| | |
| | | |
| | | .pag-container{ |
| | | width: 100%; |
| | | height: 80px; |
| | | height: 60px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: right; |