封装公共组件,调整样式文件的布局,修改路由页面样式
This commit is contained in:
@@ -3,12 +3,21 @@
|
||||
/* 所有样式都包含在此命名空间内 */
|
||||
}
|
||||
|
||||
/* 新增评查点按钮样式 */
|
||||
.rules-page .btn-add-rule {
|
||||
@apply bg-[#00684a] text-white;
|
||||
}
|
||||
|
||||
.rules-page .btn-add-rule:hover {
|
||||
@apply bg-[#005a3f] text-white;
|
||||
}
|
||||
|
||||
/* 筛选区域 */
|
||||
.rules-page .filter-card {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* 搜索框样式 */
|
||||
/* 搜索框样式 - 与search-box.css重复,已注释
|
||||
.rules-page .search-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -25,13 +34,12 @@
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
/* 无按钮搜索框样式 */
|
||||
.rules-page .search-box.form-input-only .form-input {
|
||||
border-radius: 0.25rem;
|
||||
width: 100%;
|
||||
}
|
||||
} */
|
||||
|
||||
/* 表格样式 */
|
||||
/* 表格样式 - 与table.css重复,已注释
|
||||
.rules-page .ant-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
@@ -39,7 +47,7 @@
|
||||
|
||||
.rules-page .ant-table th {
|
||||
background-color: #f9f9f9;
|
||||
font-weight: 400; /* 减少文字粗细度 */
|
||||
font-weight: 400;
|
||||
padding: 12px 16px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #e9ecef;
|
||||
@@ -48,11 +56,54 @@
|
||||
.rules-page .ant-table td {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid #e9ecef;
|
||||
font-weight: 400; /* 减少文字粗细度 */
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.rules-page .ant-table tr:hover {
|
||||
background-color: rgba(0, 0, 0, 0.02);
|
||||
} */
|
||||
|
||||
/* 表格自定义样式 */
|
||||
.rules-page .ant-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.rules-page .ant-table th {
|
||||
background-color: #f9f9f9;
|
||||
font-weight: 500;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #e9ecef;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.rules-page .ant-table td {
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid #e9ecef;
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.rules-page .ant-table tr:hover {
|
||||
background-color: rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
/* 使用Table组件时的样式 */
|
||||
.rules-page .rules-table th {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.rules-page .rules-table td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.rules-page .ant-table .status-column {
|
||||
text-align: center;
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
/* 表格操作列样式 */
|
||||
@@ -63,12 +114,12 @@
|
||||
/* 操作按钮样式 - 改为文本按钮样式 */
|
||||
.rules-page .operations-cell .ant-btn {
|
||||
background: transparent;
|
||||
border: 1px solid #e9ecef;
|
||||
border: none;
|
||||
padding: 4px 8px;
|
||||
margin-right: 4px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
color: #495057;
|
||||
color: #00684a;
|
||||
height: auto;
|
||||
min-width: auto;
|
||||
box-shadow: none;
|
||||
@@ -80,10 +131,9 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid #e4e4e4;
|
||||
background-color: #ffffff;
|
||||
color: #333;
|
||||
border-radius: 4px;
|
||||
background-color: transparent;
|
||||
color: #00684a;
|
||||
border: none;
|
||||
line-height: 1;
|
||||
padding: 4px 8px;
|
||||
font-size: 13px;
|
||||
@@ -97,23 +147,24 @@
|
||||
}
|
||||
|
||||
.rules-page .operation-btn:hover {
|
||||
border-color: #00684a;
|
||||
color: #00684a;
|
||||
color: #005a3f;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.rules-page .operation-btn-danger {
|
||||
background-color: #f5222d;
|
||||
border-color: #f5222d;
|
||||
color: white;
|
||||
color: #f5222d;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.rules-page .operation-btn-danger:hover {
|
||||
background-color: #cf1f29;
|
||||
border-color: #cf1f29;
|
||||
color: white !important;
|
||||
color: #cf1f29 !important;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* 状态点样式 */
|
||||
/* 状态点样式 - 与status-dot.css重复,已注释
|
||||
.rules-page .status-dot {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
@@ -128,9 +179,9 @@
|
||||
|
||||
.rules-page .status-dot-default {
|
||||
background-color: #d9d9d9;
|
||||
}
|
||||
} */
|
||||
|
||||
/* 标签自定义样式 */
|
||||
/* 标签自定义样式 - 与tag.css重复,已注释
|
||||
.rules-page .ant-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -138,7 +189,7 @@
|
||||
font-size: 12px;
|
||||
border-radius: 4px;
|
||||
margin-right: 8px;
|
||||
font-weight: 400; /* 减少文字粗细度 */
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.rules-page .ant-tag-blue {
|
||||
@@ -169,9 +220,9 @@
|
||||
.rules-page .ant-tag-red {
|
||||
background-color: rgba(245, 34, 45, 0.1);
|
||||
color: #f5222d;
|
||||
}
|
||||
} */
|
||||
|
||||
/* 分页样式 */
|
||||
/* 分页样式 - 与pagination.css重复,已注释
|
||||
.rules-page .ant-pagination {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -228,7 +279,7 @@
|
||||
border-radius: 4px;
|
||||
height: 32px;
|
||||
padding: 0 8px;
|
||||
}
|
||||
} */
|
||||
|
||||
/* 卡片内容调整 */
|
||||
.rules-page .content-card .ant-card-body {
|
||||
@@ -304,6 +355,7 @@
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* 卡片样式 - 与card.css重复,已注释
|
||||
.rules-page .ant-card {
|
||||
background-color: white;
|
||||
border-radius: 8px;
|
||||
@@ -314,16 +366,15 @@
|
||||
|
||||
.rules-page .ant-card-body {
|
||||
padding: 16px;
|
||||
}
|
||||
} */
|
||||
|
||||
/* 按钮样式修正 */
|
||||
/* 按钮样式修正 - 与button.css重复,已注释
|
||||
.rules-page .ant-btn-sm {
|
||||
height: 32px;
|
||||
padding: 0 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* 按钮悬停覆盖样式 */
|
||||
.rules-page .ant-btn-primary {
|
||||
color: white !important;
|
||||
}
|
||||
@@ -331,7 +382,7 @@
|
||||
.rules-page .ant-btn-primary:hover {
|
||||
color: white !important;
|
||||
background-color: #005a3f;
|
||||
}
|
||||
} */
|
||||
|
||||
/* 针对操作列中的按钮
|
||||
.rules-page .operations-cell .ant-btn-default:hover {
|
||||
|
||||
Reference in New Issue
Block a user