cloud-game-web-vue
v1.0.0
Published
> TODO: description
Readme
/* ComplaintSystem.css */ .complaint-system { font-family: 'Arial', sans-serif; max-width: 100%; background-color: #f5f5f5; min-height: 100vh; box-sizing: border-box; }
.title { padding: 18px 20px; color: rgba(13, 13, 13, 0.85); font-weight: 600; font-size: 14px; font-family: MiSans; font-style: normal; line-height: normal; background-color: #fff; margin-bottom: 12px; }
h1 { text-align: center; color: #333; margin-bottom: 30px; padding-top: 20px; }
/* 增强筛选控件样式 */ .advanced-filter-controls { display: flex; gap: 20px; margin-bottom: 20px; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; flex: 1; min-width: 200px; }
.filter-group label { margin-bottom: 8px; font-weight: bold; color: #555; }
.search-input, .filter-group select { padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; background: white; }
.search-input:focus, .filter-group select:focus { outline: none; border-color: #2196f3; box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2); }
.table-container { background-color: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); overflow: hidden; }
.complaint-table { width: 100%; border-collapse: collapse; }
.complaint-table th, .complaint-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #e0e0e0; }
.complaint-table th { background-color: #f8f9fa; font-weight: bold; color: #333; border-top: none; }
.complaint-table tr:hover { background-color: #f9f9f9; }
.status { padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.status-待处理 { background-color: #ffecb3; color: #ff9800; }
.status-处理中 { background-color: #bbdefb; color: #1976d2; }
.status-已解决 { background-color: #c8e6c9; color: #388e3c; }
.view-details-btn { padding: 6px 12px; background-color: #2196f3; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; transition: background-color 0.2s; }
.view-details-btn:hover { background-color: #0d8bf2; }
.no-data { text-align: center; padding: 40px; color: #888; font-style: italic; }
/* Modal Styles */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; padding: 20px; }
.modal-content { background-color: white; border-radius: 8px; max-width: 700px; width: 100%; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid #e0e0e0; }
.modal-header h2 { margin: 0; color: #333; font-size: 1.5rem; }
.close-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #999; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.close-btn:hover { color: #333; }
.complaint-details { padding: 25px; }
.detail-row { display: flex; margin-bottom: 20px; }
.detail-label { width: 100px; font-weight: bold; color: #555; flex-shrink: 0; }
.detail-value { flex: 1; color: #333; }
.detail-value.content { line-height: 1.6; background: #f9f9f9; padding: 12px; border-radius: 4px; border-left: 3px solid #2196f3; }
.logs { border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.log-entry { padding: 12px; border-bottom: 1px solid #e0e0e0; }
.log-entry:last-child { border-bottom: none; }
.log-actor { font-weight: bold; color: #2196f3; margin-bottom: 5px; }
.log-time { font-size: 12px; color: #888; margin-bottom: 5px; }
.log-content { line-height: 1.5; }
.status-select { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; background: white; width: 150px; }
.notes-textarea { width: 100%; min-height: 100px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; font-size: 14px; margin-bottom: 10px; resize: vertical; }
.save-notes-btn { padding: 8px 16px; background-color: #4caf50; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; }
.save-notes-btn:hover { background-color: #45a049; }
.modal-footer { padding: 15px 25px; border-top: 1px solid #e0e0e0; display: flex; justify-content: flex-end; }
.close-complaint-btn { padding: 10px 20px; background-color: #f44336; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: bold; }
.close-complaint-btn:hover { background-color: #d32f2f; }
@media (max-width: 768px) { .advanced-filter-controls { flex-direction: column; gap: 15px; }
.filter-group { min-width: 100%; }
.detail-row { flex-direction: column; }
.detail-label { width: 100%; margin-bottom: 5px; }
.modal-content { margin: 10px; width: calc(100% - 20px); }
.complaint-table { display: block; overflow-x: auto; } }
