/* 筛选区域样式 */ .receive_filter { margin: 20px 0; padding: 20px; background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); } .filter_form { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; } .filter_select { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; background: white; min-width: 150px; outline: none; transition: border-color 0.3s; } .filter_select:focus { border-color: #4f46e5; } /* 统计卡片样式 */ .receive_stats { margin: 20px 0; padding: 20px; background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); } .stats_item { display: flex; align-items: center; margin-bottom: 20px; padding: 15px; background: linear-gradient(135deg, #6366f1, #4f46e5); border-radius: 8px; color: white; } .stats_label { font-size: 1.1em; opacity: 0.9; } .stats_value { font-size: 1.8em; font-weight: bold; margin-left: auto; } .stats_branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-top: 20px; } .stats_branches_row { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0; } .branch_stat { background: #f8fafc; padding: 8px 15px; border-radius: 6px; border: 2px solid #e2e8f0; transition: all 0.2s; text-decoration: none; color: inherit; display: flex; align-items: center; gap: 8px; } .branch_stat:hover { background: #f1f5f9; transform: translateY(-1px); } .branch_stat.active { background: #7eb6ff3b; color: white; border-color: #2563eb; } .branch_name { font-size: 0.9em; } .branch_count { font-weight: bold; color: currentColor; } .branch_stat:hover { transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .branch_name { color: #64748b; font-size: 0.9em; } .branch_count { display: block; color: #1e293b; font-size: 1.2em; font-weight: bold; margin-top: 5px; } .receive_actions { display: flex; gap: 12px; margin-top: 15px; } .receive_btn { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; font-size: 14px; font-weight: 500; } .receive_btn_warning { background-color: #ff9800; color: white; } .receive_btn_warning:hover { background-color: #ffc772; color: white; } .receive_btn_secondary { background-color: #008cff; color: white; text-decoration: none; text-align: center; } .receive_btn_secondary:hover { background-color: #43abff; text-decoration: none; color: white; } .receive_btn_primary { background-color: #4CAF50; color: white; } .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; backdrop-filter: blur(5px); } .modal-content { background-color: #fff; margin: 15vh auto; padding: 25px; width: 90%; max-width: 400px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); animation: modalSlideIn 0.3s ease-out; } .modal-body { display: flex; flex-direction: column; align-items: center; gap: 15px; margin: 20px 0; } .modal-icon { width: 48px; height: 48px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 24px; } .modal-icon.warning { background-color: #fff3e0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff5722' d='M12 2L1 21h22M12 6l7.53 13H4.47M11 10v4h2v-4m-2 6v2h2v-2'/%3E%3C/svg%3E"); } .modal-icon.info { background-color: #e8f5e9; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234CAF50' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E"); } .modal-buttons { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; } @keyframes modalSlideIn { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* 分页样式 */ .receive_pagination { margin: 25px 0; display: flex; justify-content: center; align-items: center; gap: 15px; } .page_link { padding: 8px 16px; background: #f1f5f9; border-radius: 6px; text-decoration: none; color: #475569; transition: all 0.3s; } .page_link:hover { background: #e2e8f0; color: #1e293b; } .per_page_select { padding: 8px; border-radius: 6px; border: 1px solid #e2e8f0; outline: none; } .receive_card { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; border: 1px solid #e9ecef; } .receive_card:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } .receive_card_header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #e9ecef; } .receive_card_title { font-weight: 600; color: #2c3e50; } .receive_card_duration { color: #6c757d; font-size: 0.9em; } .receive_card_content { display: grid; gap: 8px; } .receive_card_item { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; } .receive_card_label { color: #6c757d; font-size: 0.9em; } .receive_card_value { color: #2c3e50; font-weight: 500; } .receive_card_value[data-device-type="摄像头"] { background-color: #e3f2fd; color: #1976d2; padding: 4px 8px; border-radius: 4px; } .receive_card_value[data-device-type="紫色"] { background-color: #f3e5f5; color: #7b1fa2; padding: 4px 8px; border-radius: 4px; } .receive_card_value[data-device-type="绿色"] { background-color: #e8f5e9; color: #388e3c; padding: 4px 8px; border-radius: 4px; } .receive_card_value[data-device-type="一键报警"] { background-color: #fff3e0; color: #f57c00; padding: 4px 8px; border-radius: 4px; } .receive_card_value[data-device-type="灰色"] { background-color: #f5f5f5; color: #616161; padding: 4px 8px; border-radius: 4px; } /* 移动端适配 */ @media (max-width: 768px) { .receive_actions { flex-direction: column; width: 100%; } .receive_btn { width: 100%; padding: 12px 16px; } .modal-content { margin: 10vh auto; padding: 20px; } .receive_card { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 20px; } .receive_card_header { margin-bottom: 16px; } .receive_card_title { font-size: 1.1em; } .receive_card_content { gap: 12px; } .receive_card_item { padding: 6px 0; } }