应急消防点页面
parent
6101a571db
commit
50daab4c6d
@ -1,122 +1,165 @@
|
||||
.container {
|
||||
.containerYJXFD {
|
||||
padding: 20px;
|
||||
background: #f5f5f5;
|
||||
min-height: 100vh;
|
||||
background: #fff;
|
||||
height:100vh;
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-bottom: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.titleBar {
|
||||
width: 4px;
|
||||
height: 20px;
|
||||
background: #1890ff;
|
||||
margin-right: 10px;
|
||||
}
|
||||
// background-color: pink;
|
||||
margin-bottom: 15px;
|
||||
|
||||
.titleBar {
|
||||
width: 3px;
|
||||
height: 16px;
|
||||
background: #2E4CD4;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.title {
|
||||
.title {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
.searchBar {
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
margin-bottom: 10px;
|
||||
padding: 5px;
|
||||
|
||||
|
||||
.searchLeft {
|
||||
.searchLeft {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.searchRight {
|
||||
.searchRight {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
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;
|
||||
}
|
||||
|
||||
.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;
|
||||
height: 30px !important;
|
||||
width: 75px;
|
||||
display: flex !important;
|
||||
align-items: 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 {
|
||||
background: #fff;
|
||||
border-radius: 6px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
border-radius: 0px;
|
||||
overflow: hidden;
|
||||
|
||||
.actionButtons {
|
||||
.actionButtons {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
font-size: 10px;
|
||||
justify-content: center;
|
||||
|
||||
.actionButtons .ant-btn-link {
|
||||
.ant-btn-link {
|
||||
padding: 0;
|
||||
height: auto;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.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;
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.ant-input) {
|
||||
height: 30px !important;
|
||||
border-radius: 2px !important;
|
||||
}
|
||||
|
||||
:global(.ant-table) {
|
||||
// 表格样式优化
|
||||
.tableContainer {
|
||||
:global {
|
||||
.ant-table-thead > tr > th {
|
||||
background: #fafafa;
|
||||
background: #F5F5FA;
|
||||
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 {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
}
|
||||
|
||||
:global(.ant-pagination) {
|
||||
margin-top: 16px;
|
||||
.ant-pagination {
|
||||
margin-top: 10px;
|
||||
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),
|
||||
:global(.ant-pagination-next) {
|
||||
border-radius: 2px;
|
||||
.ant-btn-link.ant-btn-sm {
|
||||
font-size: 13px !important;
|
||||
height: auto !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue