/* 投标数据快速录入样式 */ #app { padding: 20px; font-family: 'Helvetica Neue', Arial, sans-serif; } .toolbar { margin-bottom: 15px; padding: 15px; background: #f5f7fa; border-radius: 4px; border: 1px solid #ebeef5; display: flex; align-items: center; gap: 10px; } .toolbar .el-button { margin-right: 10px; } .data-count { margin-left: auto; font-size: 14px; color: #606266; font-weight: bold; } /* ag-Grid 自定义样式 */ .ag-theme-alpine { --ag-header-height: 40px; --ag-row-height: 35px; --ag-header-background-color: #f8f9fa; --ag-odd-row-background-color: #fafafa; --ag-border-color: #e0e0e0; --ag-row-border-color: #f0f0f0; } .ag-theme-alpine .ag-header { border-bottom: 2px solid #409eff; } .ag-theme-alpine .ag-header-cell { font-weight: 600; color: #303133; } .ag-theme-alpine .ag-cell { border-right: 1px solid #f0f0f0; padding: 4px 8px; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* 工具栏按钮样式 */ .el-button { font-size: 14px; } /* 响应式设计 */ @media (max-width: 768px) { .toolbar { flex-direction: column; align-items: flex-start; } .toolbar .el-button { margin-bottom: 10px; margin-right: 0; } .data-count { margin-left: 0; margin-top: 10px; } #myGrid { height: 400px !important; } } /* Element Plus 对话框样式修复 - 简化版 */ .el-message-box { max-width: 90vw !important; max-height: 90vh !important; z-index: 99999 !important; position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; background: #fff !important; border: 1px solid #e4e7ed !important; } .el-message-box__header { padding: 15px 15px 10px !important; border-bottom: 1px solid #e4e7ed !important; background: #f5f7fa !important; } .el-message-box__headerbtn { display: none !important; /* 隐藏关闭按钮 */ } .el-message-box__title { font-size: 16px !important; font-weight: 600 !important; color: #303133 !important; } .el-message-box__content { padding: 20px !important; max-height: 60vh !important; overflow-y: auto !important; border-bottom: 1px solid #e4e7ed !important; } .el-message-box__message { word-wrap: break-word !important; white-space: pre-wrap !important; line-height: 1.5 !important; font-size: 14px !important; color: #606266 !important; } .el-message-box__btns { padding: 10px 15px 15px !important; text-align: right !important; display: flex !important; justify-content: flex-end !important; gap: 10px !important; flex-direction: row-reverse !important; /* 反转按钮顺序 */ } .el-message-box__btns button:first-child { order: 2 !important; /* 确定按钮在后 */ } .el-message-box__btns button:last-child { order: 1 !important; /* 取消按钮在前 */ } /* 隐藏警告图标 */ .el-message-box__status { display: none !important; } .el-message-box { padding-left: 20px !important; /* 移除图标后调整左边距 */ } .el-message-box__wrapper { z-index: 99998 !important; position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; } /* 粘贴对话框特殊样式 */ .paste-dialog .el-message-box { width: 80vw !important; max-width: 600px !important; } .paste-dialog .el-textarea__inner { min-height: 200px !important; font-family: 'Courier New', monospace !important; font-size: 12px !important; } /* 确保ag-Grid的z-index不会覆盖对话框 */ .ag-root-wrapper { z-index: 1 !important; position: relative !important; } .ag-popup { z-index: 1000 !important; } /* 批量调整对话框样式 */ .custom-message-box { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 99999 !important; background: white !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; border: 1px solid #e4e7ed !important; min-width: 400px !important; max-width: 500px !important; } .custom-message-box .message-content { padding: 20px !important; } .custom-message-box .message-title { font-size: 16px !important; font-weight: 600 !important; color: #303133 !important; margin-bottom: 15px !important; border-bottom: 1px solid #e4e7ed !important; padding-bottom: 10px !important; } .custom-message-box .message-text { margin-bottom: 20px !important; } .custom-message-box .message-buttons { display: flex !important; justify-content: flex-end !important; gap: 10px !important; } .custom-message-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99998 !important; } .custom-message-box select { width: 100% !important; padding: 8px 12px !important; border: 1px solid #dcdfe6 !important; border-radius: 4px !important; font-size: 14px !important; color: #606266 !important; background-color: white !important; transition: border-color 0.2s !important; } .custom-message-box select:focus { outline: none !important; border-color: #409eff !important; } .custom-message-box .selected-count { background-color: #f0f9ff !important; border: 1px solid #c6e2ff !important; border-radius: 4px !important; padding: 8px 12px !important; margin-bottom: 15px !important; font-size: 14px !important; color: #409eff !important; } /* 批量调整对话框样式 */ .custom-message-box { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 99999 !important; background: white !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; border: 1px solid #e4e7ed !important; min-width: 400px !important; max-width: 500px !important; } .custom-message-box .message-content { padding: 20px !important; } .custom-message-box .message-title { font-size: 16px !important; font-weight: 600 !important; color: #303133 !important; margin-bottom: 15px !important; border-bottom: 1px solid #e4e7ed !important; padding-bottom: 10px !important; } .custom-message-box .message-text { margin-bottom: 20px !important; } .custom-message-box .message-buttons { display: flex !important; justify-content: flex-end !important; gap: 10px !important; } .custom-message-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99998 !important; } .custom-message-box select { width: 100% !important; padding: 8px 12px !important; border: 1px solid #dcdfe6 !important; border-radius: 4px !important; font-size: 14px !important; color: #606266 !important; background-color: white !important; transition: border-color 0.2s !important; } .custom-message-box select:focus { outline: none !important; border-color: #409eff !important; } .custom-message-box .selected-count { background-color: #f0f9ff !important; border: 1px solid #c6e2ff !important; border-radius: 4px !important; padding: 8px 12px !important; margin-bottom: 15px !important; font-size: 14px !important; color: #409eff !important; } /* Element Plus 消息框样式 */ .el-message { z-index: 99999 !important; position: fixed !important; } .el-message__wrapper { z-index: 99999 !important; } /* 强制对话框显示在最上层 */ .el-overlay { z-index: 99997 !important; } /* 自定义搜索下拉框样式 */ .custom-rich-select { position: relative; width: 100%; height: 100%; } .custom-rich-select input { width: 100%; height: 100%; border: 1px solid #d9d9d9; border-radius: 4px; padding: 0 8px; font-size: 14px; outline: none; box-sizing: border-box; transition: border-color 0.3s; } .custom-rich-select input:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2); } .custom-rich-select-list { position: absolute; top: 100%; left: 0; width: 100%; max-height: 200px; background: white; border: 1px solid #d9d9d9; border-radius: 4px; border-top-left-radius: 0; border-top-right-radius: 0; z-index: 1000; overflow-y: auto; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .custom-rich-select-list div { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #f0f0f0; transition: background-color 0.2s; font-size: 14px; } .custom-rich-select-list div:hover { background-color: #f5f7fa; } .custom-rich-select-list div:last-child { border-bottom: none; } .custom-rich-select-list div:active { background-color: #ecf5ff; } /* 无匹配结果样式 */ .custom-rich-select-list div[style*="color: #999"] { font-style: italic; cursor: default; } .custom-rich-select-list div[style*="color: #999"]:hover { background-color: transparent; } /* 确保自定义编辑器在ag-Grid中的正确显示 */ .ag-cell-inline-editing { z-index: 1001 !important; } .ag-popup { z-index: 1002 !important; } .el-overlay-message-box { z-index: 99998 !important; } /* 对话框容器层级控制 */ .v-modal { z-index: 99997 !important; } /* 确保Element Plus组件层级高于ag-Grid */ .el-dialog__wrapper { z-index: 99999 !important; } .el-message-box__wrapper { z-index: 99999 !important; } /* 自定义清空数据消息框样式 */ .clear-data-message { min-width: 300px !important; max-width: 400px !important; padding: 15px 20px !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; } .clear-data-message .el-message__content { margin-bottom: 15px !important; font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } .message-buttons { display: flex !important; justify-content: flex-end !important; gap: 10px !important; margin-top: 10px !important; } .message-buttons .el-button { min-width: 60px !important; } .message-buttons .confirm-btn { order: 1 !important; /* 确定按钮在前 */ } .message-buttons .cancel-btn { order: 2 !important; /* 取消按钮在后 */ } /* 隐藏默认的关闭按钮 */ .clear-data-message .el-message__closeBtn { display: none !important; } /* 关闭按钮样式 */ .close-btn { margin-left: auto !important; font-weight: bold !important; } .close-btn:hover { background-color: #f56c6c !important; border-color: #f56c6c !important; } /* 数据量显示 - 页面最下方居中 */ .data-count-footer { margin-top: 20px; text-align: center; font-size: 14px; color: #606266; font-weight: bold; padding: 10px; background: #f5f7fa; border-radius: 4px; border: 1px solid #ebeef5; display: block; width: 100%; box-sizing: border-box; } /* 响应式设计 */ @media (max-width: 768px) { .data-count-footer { font-size: 13px; padding: 8px; margin-top: 15px; width: 100%; } } /* 自定义消息框样式 */ .custom-message-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; } /* 简单提示样式 */ .simple-message { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 100001 !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; padding: 15px 20px !important; min-width: 200px !important; max-width: 300px !important; text-align: center !important; } .simple-message-content { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } /* 屏蔽ag-Grid表格中的文本选择 */ .ag-theme-alpine { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; cursor: default !important; } .ag-theme-alpine .ag-row { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell-value { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } /* 允许在编辑模式下选择文本 */ .ag-theme-alpine .ag-cell-inline-editing input, .ag-theme-alpine .ag-cell-inline-editing textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 允许在自定义编辑器中选择文本 */ .custom-rich-select input { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 表格选择状态样式 */ .ag-theme-alpine .ag-row-selected { background-color: #f0f9ff !important; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* 简单提示样式 */ .simple-message { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 100001 !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; padding: 15px 20px !important; min-width: 200px !important; max-width: 300px !important; text-align: center !important; } .simple-message-content { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } /* 屏蔽ag-Grid表格中的文本选择 */ .ag-theme-alpine { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; cursor: default !important; } .ag-theme-alpine .ag-row { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell-value { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } /* 允许在编辑模式下选择文本 */ .ag-theme-alpine .ag-cell-inline-editing input, .ag-theme-alpine .ag-cell-inline-editing textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 允许在自定义编辑器中选择文本 */ .custom-rich-select input { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 表格选择状态样式 */ .ag-theme-alpine .ag-row-selected { background-color: #f0f9ff !important; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .custom-message-box { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; min-width: 300px !important; max-width: 400px !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; z-index: 100000 !important; padding: 20px !important; } .custom-message-box .message-content { display: flex !important; flex-direction: column !important; gap: 15px !important; } .custom-message-box .message-text { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; text-align: center !important; } .custom-message-box .message-buttons { display: flex !important; justify-content: center !important; gap: 10px !important; } .custom-message-box .message-buttons .el-button { min-width: 60px !important; } .custom-message-box .message-buttons .confirm-btn { order: 1 !important; /* 确定按钮在前 */ } .custom-message-box .message-buttons .cancel-btn { order: 2 !important; /* 取消按钮在后 */ } /* 自定义消息框样式 */ .custom-message-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; } /* 简单提示样式 */ .simple-message { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 100001 !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; padding: 15px 20px !important; min-width: 200px !important; max-width: 300px !important; text-align: center !important; } .simple-message-content { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } /* 屏蔽ag-Grid表格中的文本选择 */ .ag-theme-alpine { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; cursor: default !important; } .ag-theme-alpine .ag-row { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell-value { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } /* 允许在编辑模式下选择文本 */ .ag-theme-alpine .ag-cell-inline-editing input, .ag-theme-alpine .ag-cell-inline-editing textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 允许在自定义编辑器中选择文本 */ .custom-rich-select input { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 表格选择状态样式 */ .ag-theme-alpine .ag-row-selected { background-color: #f0f9ff !important; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* 简单提示样式 */ .simple-message { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 100001 !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; padding: 15px 20px !important; min-width: 200px !important; max-width: 300px !important; text-align: center !important; } .simple-message-content { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } /* 屏蔽ag-Grid表格中的文本选择 */ .ag-theme-alpine { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; cursor: default !important; } .ag-theme-alpine .ag-row { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell-value { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } /* 允许在编辑模式下选择文本 */ .ag-theme-alpine .ag-cell-inline-editing input, .ag-theme-alpine .ag-cell-inline-editing textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 允许在自定义编辑器中选择文本 */ .custom-rich-select input { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 表格选择状态样式 */ .ag-theme-alpine .ag-row-selected { background-color: #f0f9ff !important; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .custom-message-box { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; min-width: 300px !important; max-width: 400px !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; z-index: 100000 !important; padding: 20px !important; } .custom-message-box .message-content { display: flex !important; flex-direction: column !important; gap: 15px !important; } .custom-message-box .message-text { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; text-align: center !important; } .custom-message-box .message-buttons { display: flex !important; justify-content: center !important; gap: 10px !important; } .custom-message-box .message-buttons .el-button { min-width: 60px !important; } .custom-message-box .message-buttons .confirm-btn { order: 1 !important; /* 确定按钮在前 */ } .custom-message-box .message-buttons .cancel-btn { order: 2 !important; /* 取消按钮在后 */ } /* 关闭按钮样式 */ .close-btn { margin-left: auto !important; font-weight: bold !important; } .close-btn:hover { background-color: #f56c6c !important; border-color: #f56c6c !important; } /* 数据量显示 - 页面最下方居中 */ .data-count-footer { margin-top: 20px; text-align: center; font-size: 14px; color: #606266; font-weight: bold; padding: 10px; background: #f5f7fa; border-radius: 4px; border: 1px solid #ebeef5; display: block; width: 100%; box-sizing: border-box; } /* 响应式设计 */ @media (max-width: 768px) { .data-count-footer { font-size: 13px; padding: 8px; margin-top: 15px; width: 100%; } } /* 自定义消息框样式 */ .custom-message-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; } /* 简单提示样式 */ .simple-message { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 100001 !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; padding: 15px 20px !important; min-width: 200px !important; max-width: 300px !important; text-align: center !important; } .simple-message-content { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } /* 屏蔽ag-Grid表格中的文本选择 */ .ag-theme-alpine { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; cursor: default !important; } .ag-theme-alpine .ag-row { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell-value { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } /* 允许在编辑模式下选择文本 */ .ag-theme-alpine .ag-cell-inline-editing input, .ag-theme-alpine .ag-cell-inline-editing textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 允许在自定义编辑器中选择文本 */ .custom-rich-select input { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 表格选择状态样式 */ .ag-theme-alpine .ag-row-selected { background-color: #f0f9ff !important; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* 简单提示样式 */ .simple-message { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 100001 !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; padding: 15px 20px !important; min-width: 200px !important; max-width: 300px !important; text-align: center !important; } .simple-message-content { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } /* 屏蔽ag-Grid表格中的文本选择 */ .ag-theme-alpine { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; cursor: default !important; } .ag-theme-alpine .ag-row { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell-value { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } /* 允许在编辑模式下选择文本 */ .ag-theme-alpine .ag-cell-inline-editing input, .ag-theme-alpine .ag-cell-inline-editing textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 允许在自定义编辑器中选择文本 */ .custom-rich-select input { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 表格选择状态样式 */ .ag-theme-alpine .ag-row-selected { background-color: #f0f9ff !important; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .custom-message-box { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; min-width: 300px !important; max-width: 400px !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; z-index: 100000 !important; padding: 20px !important; } .custom-message-box .message-content { display: flex !important; flex-direction: column !important; gap: 15px !important; } .custom-message-box .message-text { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; text-align: center !important; } .custom-message-box .message-buttons { display: flex !important; justify-content: center !important; gap: 10px !important; } .custom-message-box .message-buttons .el-button { min-width: 60px !important; } .custom-message-box .message-buttons .confirm-btn { order: 1 !important; /* 确定按钮在前 */ } .custom-message-box .message-buttons .cancel-btn { order: 2 !important; /* 取消按钮在后 */ } /* 自定义消息框样式 */ .custom-message-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; } /* 简单提示样式 */ .simple-message { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 100001 !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; padding: 15px 20px !important; min-width: 200px !important; max-width: 300px !important; text-align: center !important; } .simple-message-content { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } /* 屏蔽ag-Grid表格中的文本选择 */ .ag-theme-alpine { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; cursor: default !important; } .ag-theme-alpine .ag-row { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell-value { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } /* 允许在编辑模式下选择文本 */ .ag-theme-alpine .ag-cell-inline-editing input, .ag-theme-alpine .ag-cell-inline-editing textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 允许在自定义编辑器中选择文本 */ .custom-rich-select input { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 表格选择状态样式 */ .ag-theme-alpine .ag-row-selected { background-color: #f0f9ff !important; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* 简单提示样式 */ .simple-message { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 100001 !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; padding: 15px 20px !important; min-width: 200px !important; max-width: 300px !important; text-align: center !important; } .simple-message-content { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; } /* 屏蔽ag-Grid表格中的文本选择 */ .ag-theme-alpine { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; cursor: default !important; } .ag-theme-alpine .ag-row { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } .ag-theme-alpine .ag-cell-value { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; } /* 允许在编辑模式下选择文本 */ .ag-theme-alpine .ag-cell-inline-editing input, .ag-theme-alpine .ag-cell-inline-editing textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 允许在自定义编辑器中选择文本 */ .custom-rich-select input { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; cursor: text !important; } /* 表格选择状态样式 */ .ag-theme-alpine .ag-row-selected { background-color: #f0f9ff !important; } .ag-theme-alpine .ag-cell-focus { border: 2px solid #409eff !important; } /* 序号列样式 */ .ag-theme-alpine .ag-cell[col-id="serialNumber"] { background-color: #f8f9fa !important; font-weight: bold !important; text-align: center !important; border-right: 2px solid #e0e0e0 !important; color: #303133 !important; user-select: none !important; } .ag-theme-alpine .ag-header-cell[col-id="serialNumber"] { background-color: #f0f2f5 !important; font-weight: 600 !important; text-align: center !important; color: #303133 !important; border-right: 2px solid #d0d0d0 !important; } /* 加载框样式 */ .loading-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: rgba(0, 0, 0, 0.5) !important; z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; user-select: none !important; } .loading-container { background: white !important; border-radius: 8px !important; padding: 30px 40px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important; text-align: center !important; min-width: 200px !important; max-width: 400px !important; } .loading-spinner { width: 40px !important; height: 40px !important; border: 4px solid #f3f3f3 !important; border-top: 4px solid #409eff !important; border-radius: 50% !important; animation: spin 1s linear infinite !important; margin: 0 auto 20px !important; } .loading-text { font-size: 16px !important; color: #606266 !important; font-weight: 500 !important; margin-top: 10px !important; line-height: 1.5 !important; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .custom-message-box { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; min-width: 300px !important; max-width: 400px !important; background: #fff !important; border: 1px solid #e4e7ed !important; border-radius: 4px !important; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important; z-index: 100000 !important; padding: 20px !important; } .custom-message-box .message-content { display: flex !important; flex-direction: column !important; gap: 15px !important; } .custom-message-box .message-text { font-size: 14px !important; color: #606266 !important; line-height: 1.5 !important; text-align: center !important; } .custom-message-box .message-buttons { display: flex !important; justify-content: center !important; gap: 10px !important; } .custom-message-box .message-buttons .el-button { min-width: 60px !important; } .custom-message-box .message-buttons .confirm-btn { order: 1 !important; /* 确定按钮在前 */ } .custom-message-box .message-buttons .cancel-btn { order: 2 !important; /* 取消按钮在后 */ }