应急消防点页面
parent
6101a571db
commit
50daab4c6d
@ -1,122 +1,165 @@
|
|||||||
.container {
|
.containerYJXFD {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
background: #f5f5f5;
|
background: #fff;
|
||||||
min-height: 100vh;
|
height:100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
margin-bottom: 20px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
// background-color: pink;
|
||||||
|
margin-bottom: 15px;
|
||||||
.titleBar {
|
|
||||||
width: 4px;
|
.titleBar {
|
||||||
height: 20px;
|
width: 3px;
|
||||||
background: #1890ff;
|
height: 16px;
|
||||||
margin-right: 10px;
|
background: #2E4CD4;
|
||||||
}
|
margin-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 18px;
|
font-size: 14px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchBar {
|
.searchBar {
|
||||||
background: #fff;
|
|
||||||
padding: 20px;
|
|
||||||
border-radius: 6px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
margin-bottom: 10px;
|
||||||
}
|
padding: 5px;
|
||||||
|
|
||||||
|
|
||||||
.searchLeft {
|
.searchLeft {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchRight {
|
.searchRight {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.customButton {
|
// 自定义 Select 样式
|
||||||
|
.customSelect {
|
||||||
|
:global {
|
||||||
|
.ant-select-selector {
|
||||||
|
height: 30px !important;
|
||||||
|
border-radius: 2px !important;
|
||||||
|
display: flex !important;
|
||||||
|
align-items: center !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-select-selection-search-input {
|
||||||
height: 30px !important;
|
height: 30px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-select-selection-item,
|
||||||
|
.ant-select-selection-placeholder {
|
||||||
|
line-height: 30px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 自定义 Input 样式
|
||||||
|
.customInput {
|
||||||
|
height: 30px !important;
|
||||||
|
border-radius: 2px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 自定义按钮样式
|
||||||
|
.customButton {
|
||||||
|
background-color: #2E4CD4 !important;
|
||||||
|
border-color: #2E4CD4 !important;
|
||||||
border-radius: 2px !important;
|
border-radius: 2px !important;
|
||||||
|
height: 30px !important;
|
||||||
|
width: 75px;
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
align-items: center !important;
|
align-items: center !important;
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: #1e3bb8 !important;
|
||||||
|
border-color: #1e3bb8 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
background-color: #2E4CD4 !important;
|
||||||
|
border-color: #2E4CD4 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// // 所有按钮统一样式
|
||||||
|
// .ant-btn {
|
||||||
|
// border-radius: 4px !important;
|
||||||
|
// height: 28px !important;
|
||||||
|
// display: flex !important;
|
||||||
|
// align-items: center !important;
|
||||||
|
// justify-content: center !important;
|
||||||
|
// }
|
||||||
|
|
||||||
.tableContainer {
|
.tableContainer {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 6px;
|
border-radius: 0px;
|
||||||
padding: 20px;
|
overflow: hidden;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.actionButtons {
|
.actionButtons {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
font-size: 10px;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
.actionButtons .ant-btn-link {
|
.ant-btn-link {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: auto;
|
height: auto;
|
||||||
line-height: 1;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actionButtons .ant-btn-link:hover {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 覆盖全局按钮样式
|
|
||||||
:global(.ant-btn) {
|
|
||||||
height: 28px !important;
|
|
||||||
border-radius: 2px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
:global(.ant-select) {
|
|
||||||
.ant-select-selector {
|
|
||||||
height: 30px !important;
|
|
||||||
border-radius: 2px !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.ant-input) {
|
// 表格样式优化
|
||||||
height: 30px !important;
|
.tableContainer {
|
||||||
border-radius: 2px !important;
|
:global {
|
||||||
}
|
|
||||||
|
|
||||||
:global(.ant-table) {
|
|
||||||
.ant-table-thead > tr > th {
|
.ant-table-thead > tr > th {
|
||||||
background: #fafafa;
|
background: #F5F5FA;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333;
|
color: #333333;
|
||||||
|
font-size: 14px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-table-tbody > tr > td {
|
||||||
|
color: #666666;
|
||||||
|
font-size: 13px;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-tbody > tr:hover > td {
|
.ant-table-tbody > tr:hover > td {
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
:global(.ant-pagination) {
|
.ant-pagination {
|
||||||
margin-top: 16px;
|
margin-top: 10px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.ant-pagination-item) {
|
// 覆盖操作列按钮样式
|
||||||
border-radius: 2px;
|
.ant-btn.ant-btn-sm {
|
||||||
}
|
font-size: 13px !important;
|
||||||
|
height: 20px !important;
|
||||||
|
padding: 0px 4px !important;
|
||||||
|
}
|
||||||
|
|
||||||
:global(.ant-pagination-prev),
|
.ant-btn-link.ant-btn-sm {
|
||||||
:global(.ant-pagination-next) {
|
font-size: 13px !important;
|
||||||
border-radius: 2px;
|
height: auto !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue