统一packages.php与pending_bookings.php的样式

This commit is contained in:
2025-12-06 02:17:42 +08:00
parent 9d8fa49206
commit bb3ebffb37
2 changed files with 207 additions and 29 deletions
+149 -5
View File
@@ -1110,20 +1110,164 @@ label {
/* 滚动条样式 */
::-webkit-scrollbar {
width: 6px;
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--el-bg-color-page);
background: #f1f1f1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: var(--el-border-color);
border-radius: 3px;
background: #ccc;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--el-text-secondary);
background: #999;
}
/* 套餐管理页面样式 */
.package-card {
transition: all 0.3s ease;
margin-bottom: 20px;
}
.package-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.package-card.inactive {
opacity: 0.7;
}
.package-card.inactive .package-title {
text-decoration: line-through;
}
.package-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.package-title {
font-size: 1.2rem;
margin: 0;
color: #2c3e50;
}
.package-description {
color: #666;
margin-bottom: 15px;
line-height: 1.5;
}
.package-details {
margin-bottom: 15px;
}
.package-actions {
display: flex;
gap: 10px;
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.package-services {
margin-top: 15px;
}
.services-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.service-tag {
background: #f5f5f5;
color: #666;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.85rem;
border: 1px solid #eee;
}
.empty-state {
text-align: center;
padding: 60px 20px;
color: #999;
}
.empty-icon {
font-size: 3rem;
margin-bottom: 15px;
}
.empty-message {
font-size: 1.2rem;
margin-bottom: 5px;
color: #666;
}
.empty-submessage {
font-size: 0.9rem;
}
/* 表单样式 */
.form-row {
display: flex;
gap: 20px;
margin-bottom: 15px;
}
.form-row .form-group {
flex: 1;
margin-bottom: 0;
}
.services-container {
margin-bottom: 15px;
}
.service-item {
display: flex;
gap: 10px;
margin-bottom: 10px;
}
.service-item input {
flex: 1;
}
/* 响应式设计 */
@media (max-width: 768px) {
.form-row {
flex-direction: column;
}
.packages-grid {
grid-template-columns: 1fr;
}
.package-actions {
flex-direction: column;
}
.package-actions button {
width: 100%;
}
}
.packages-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 20px;
}
/* 套餐管理页面样式 */