feat: 本次提交更新内容如下

更新
This commit is contained in:
笔记本里的永平
2025-07-21 09:55:37 +08:00
parent 5122a0965a
commit f6f9e45198
7 changed files with 398 additions and 264 deletions

View File

@@ -41,22 +41,12 @@
position: relative;
flex: 1;
.adm-input {
padding-left: 40px;
.ant-input {
border-radius: 8px;
height: 40px;
}
}
.search-icon {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: #999;
font-size: 16px;
z-index: 1;
}
.refresh-btn {
height: 40px;
width: 40px;
@@ -87,7 +77,7 @@
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
margin-bottom: 16px;
}
.plan-name {
@@ -98,21 +88,64 @@
margin-right: 12px;
}
.plan-meta {
.plan-header-right {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
margin-bottom: 12px;
padding-bottom: 12px;
border-bottom: 1px solid #f0f0f0;
}
.meta-item {
.more-btn {
padding: 4px;
min-width: auto;
height: 28px;
width: 28px;
border-radius: 4px;
&:hover {
background-color: #f5f5f5;
}
}
.stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-bottom: 16px;
}
.stat-item {
background: #f8f9fa;
border-radius: 8px;
padding: 12px;
text-align: center;
border: 1px solid #e9ecef;
}
.stat-label {
font-size: 12px;
color: #666;
margin-bottom: 4px;
font-weight: 500;
}
.stat-value {
font-size: 18px;
font-weight: 600;
color: #333;
line-height: 1.2;
}
.plan-footer {
border-top: 1px solid #f0f0f0;
padding-top: 12px;
}
.last-execution {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
color: #666;
color: #999;
svg {
font-size: 14px;
@@ -120,12 +153,6 @@
}
}
.plan-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.empty-state {
display: flex;
flex-direction: column;
@@ -147,6 +174,48 @@
border-radius: 20px;
}
.action-menu-dialog {
background: white;
border-radius: 16px 16px 0 0;
padding: 20px;
max-height: 60vh;
display: flex;
flex-direction: column;
}
.action-menu-item {
display: flex;
align-items: center;
gap: 12px;
padding: 16px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.2s ease;
&:hover {
background-color: #f5f5f5;
}
&.danger {
color: #ff4d4f;
&:hover {
background-color: #fff2f0;
}
}
}
.action-icon {
font-size: 16px;
width: 20px;
text-align: center;
}
.action-text {
font-size: 16px;
font-weight: 500;
}
.api-dialog {
background: white;
border-radius: 16px 16px 0 0;
@@ -188,7 +257,7 @@
font-weight: 500;
}
.adm-input {
.ant-input {
border-radius: 8px;
}
}
@@ -198,7 +267,7 @@
gap: 8px;
align-items: center;
.adm-input {
.ant-input {
flex: 1;
}
}