// 综合查询页面样式 .query-container { width: 100%; background-color: #f5f5f5; display: flex; flex-direction: column; position: relative; overflow: hidden; } .query-search-input { & .dtm-input-item-input { background: #f2f3f5 !important; } } // 头部搜索区域 .query-header { display: flex; background-color: #fff; align-items: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); width: 100%; box-sizing: border-box; .query-search { flex: 1; min-width: 0; :global { .dtm-search-bar { width: 100%; background-color: #f5f5f5; border-radius: 6px; height: 36px; display: flex; align-items: center; padding: 0; .dtm-search-bar-input-box { width: 100%; background-color: #f5f5f5; height: 36px; display: flex; align-items: center; flex: 1; padding: 0 12px; box-sizing: border-box; .dtm-icon { color: rgba(23, 26, 29, 0.4); font-size: 16px; margin-right: 8px; } input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; color: #171a1d; width: 100%; height: 100%; padding: 0; &::placeholder { color: rgba(23, 26, 29, 0.4); } } } } } } .query-actions { display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; } } .custom-action-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 4px; border: none; background: transparent; color: #1a6fb8; font-size: 16px; font-weight: 400; white-space: nowrap; cursor: pointer; &:active { opacity: 0.7; } .settings-icon { width: 16px; height: 16px; margin-right: 4px; } } // 内容区域 .query-content { flex: 1; overflow: hidden; position: relative; } // 初始状态 .query-initial-state { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; margin-top: 200px; .query-initial-image { width: 210px; height: 150px; margin-bottom: 16px; } .query-initial-text { font-size: 14px; color: rgba(23, 26, 29, 0.4); } } // 无数据状态 .query-empty-state { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 87vh; .query-empty-image { width: 260px; height: 260px; margin-bottom: 16px; } .query-empty-text { font-size: 14px; color: rgba(23, 26, 29, 0.4); } } // 加载状态 .query-loading { display: flex; justify-content: center; align-items: center; height: 100%; .query-loading-text { font-size: 14px; color: rgba(23, 26, 29, 0.6); } } // 列表项样式 .query-list-item { background-color: #fff; border-radius: 8px; margin: 0px 12px 8px 12px; padding: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); .query-list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; .query-list-title { font-size: 16px; font-weight: bold; color: #171a1d; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; .query-list-separator { margin: 0 2px; } .query-list-arrow { margin-left: 4px; color: #999; } } .query-list-status { font-size: 14px; color: #1a6fb8; } } .query-list-content { .query-list-row { display: flex; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #f2f2f2; &:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } .query-list-label { width: 70px; color: rgba(23, 26, 29, 0.6); font-size: 14px; } .query-list-value { flex: 1; color: #171a1d; font-size: 14px; &.query-result-success { color: #52c41a; } &.query-result-fail { color: #f5222d; } } } } } .casequery-filter-modal .dtm-modal-body { padding: 0 15px 15px !important; } // 筛选弹窗样式 .casequery-filter-modal { width: 100%; margin: 0; border-radius: 0; position: fixed; top: 44px; left: 0; right: 0; bottom: 148px; z-index: 999; :global { .am-modal-content { padding-top: 0 !important; height: 100%; display: flex; flex-direction: column; border-radius: 0; position: relative; max-height: unset; } .am-modal-header { display: none; } .am-modal-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; } .am-modal-wrap { display: flex; align-items: flex-start; top: 44px; overflow: visible; height: calc(100% - 244px); z-index: 999; } .am-modal-mask { position: fixed; top: 0; width: 100%; height: 100%; z-index: 998; } } } .navbar { z-index: 1003; position: relative; } .navBarPage-navbar { z-index: 1003 !important; } .query-filter-content { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-wrap: wrap; justify-content: space-between; .filter-item { width: calc(50% - 8px); margin-bottom: 16px; .filter-label { font-size: 15px; color: #171a1d; margin-bottom: 8px; font-weight: normal; text-align: left; } .filter-input { position: relative; height: 40px; display: flex; align-items: center; padding: 0 12px; background: #f2f3f5; border-radius: 4px; color: #999; font-size: 14px; & .dtm-input-item-input { background: #f2f3f5; font-size: 14px; } } .filter-selector { position: relative; height: 40px; display: flex; align-items: center; padding: 0 12px; background: #f2f3f5; border-radius: 4px; color: #999; font-size: 14px; .filter-arrow { position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 1px solid #999; border-bottom: 1px solid #999; transform: translateY(-50%) rotate(45deg); } } :global { .dtm-input, .dtm-select { height: 40px; border-radius: 4px !important; background-color: #ffffff !important; width: 100% !important; border: none !important; box-shadow: none !important; input { background-color: #ffffff !important; font-size: 14px; &::placeholder { color: #999; } } } .dtm-picker { width: 100%; .dtm-list-item { height: 40px; line-height: 40px; background-color: #ffffff; border-radius: 4px; padding: 0 12px; color: #999; font-size: 14px; .dtm-list-item-content { padding-right: 12px; .dtm-list-arrow { width: 8px; height: 8px; border-right: 1px solid #999; border-bottom: 1px solid #999; transform: rotate(45deg); } } } } } } } .query-filter-buttons { display: flex; padding: 16px 0; border-top: 1px solid #eee; background: #ffffff; position: sticky; bottom: 0; .filter-reset { width: 120px; height: 44px; margin-right: 12px; border: 1px solid #1a6fb8; color: #1a6fb8; background-color: #ffffff; border-radius: 4px; font-size: 16px; } .filter-apply { flex: 1; height: 44px; background-color: #1a6fb8; color: #ffffff; border-radius: 4px; font-size: 16px; } } // 日期选择弹窗样式 .custom-date-picker-modal { width: 90%; max-width: 375px; :global { .am-modal-content { border-radius: 8px; } .am-modal-header { padding: 16px; font-size: 16px; font-weight: 500; border-bottom: 1px solid #eee; text-align: center; } .am-calendar { display: block; padding: 16px; } } } // 选择器弹窗样式 .selector-item { padding: 12px 16px; border-bottom: 1px solid #eee; font-size: 14px; &:active { background-color: #f5f5f5; } &.active { color: #1a6fb8; } } /* 下拉选择弹窗样式 */ .custom-selector-modal { width: 100vw; min-width: 100vw; max-width: 100vw; margin: 0; border-radius: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; top: auto; height: auto; max-height: 80vh; :global { .am-modal-content { padding-top: 0 !important; display: flex; flex-direction: column; border-radius: 0; position: relative; max-height: 80vh; width: 100vw; min-width: 100vw; } .am-modal-header { display: none; } .am-modal-body { flex: 1 1 auto; overflow: auto; display: flex; flex-direction: column; } .am-modal-wrap { display: flex; align-items: flex-end; top: auto; bottom: 0; overflow: visible; height: auto; z-index: 999; width: 100vw; min-width: 100vw; } .am-modal-mask { position: fixed; top: 0; width: 100%; height: 100%; z-index: 998; } } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #f0f0f0; background: #fff; .modal-title { font-size: 16px; font-weight: 500; color: #333; } .modal-close { font-size: 16px; color: #999; cursor: pointer; } } .selector-modal-content { background: #fff; border-radius: 0; padding: 8px 0; min-height: 0; box-shadow: none; } .selector-modal-item { font-size: 16px; color: #222; padding: 16px; text-align: center; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: background 0.2s; &:last-child { border-bottom: none; } &:active { background: #f5f7fa; } } } /* 时间类型选择弹窗样式 */ .date-type-modal { width: 100vw; min-width: 100vw; max-width: 100vw; margin: 0; border-radius: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; top: auto; height: auto; max-height: 80vh; :global { .am-modal-content { padding-top: 0 !important; display: flex; flex-direction: column; border-radius: 0; position: relative; max-height: 80vh; width: 100vw; min-width: 100vw; } .am-modal-header { display: none; } .am-modal-body { flex: 1 1 auto; overflow: auto; display: flex; flex-direction: column; } .am-modal-wrap { display: flex; align-items: flex-end; top: auto; bottom: 0; overflow: visible; height: auto; z-index: 999; width: 100vw; min-width: 100vw; } .am-modal-mask { position: fixed; top: 0; width: 100%; height: 100%; z-index: 998; } } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #f0f0f0; background: #fff; .modal-title { font-size: 16px; font-weight: 500; color: #333; } .modal-close { font-size: 16px; color: #999; cursor: pointer; } } .date-type-modal-content { background: #fff; border-radius: 0; padding: 8px 0; min-height: 0; box-shadow: none; } .date-type-modal-item { font-size: 16px; color: #222; padding: 16px; text-align: center; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: background 0.2s; &:last-child { border-bottom: none; } &:active { background: #f5f7fa; } } } /* 自定义时间选择弹窗样式 */ .date-picker-modal { width: 100vw; min-width: 100vw; max-width: 100vw; margin: 0; border-radius: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; top: auto; max-height: 80vh; :global { .am-modal-content { padding-top: 0 !important; height: 400px; max-height: 80vh; width: 100vw; min-width: 100vw; display: flex; flex-direction: column; border-radius: 0; position: relative; } .am-modal-header { display: none; } .am-modal-body { flex: 1 1 auto; overflow: auto; display: flex; flex-direction: column; } .am-modal-wrap { display: flex; align-items: flex-end; top: auto; bottom: 0; overflow: visible; height: 400px; max-height: 80vh; z-index: 999; width: 100vw; min-width: 100vw; } .am-modal-mask { position: fixed; top: 0; width: 100%; height: 100%; z-index: 998; } } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #f0f0f0; background: #fff; .modal-title { font-size: 16px; font-weight: 500; color: #333; } .modal-close { font-size: 16px; color: #999; cursor: pointer; } } .calendar-container { height: 100%; } } .query-total-count { font-size: 15px; padding-left: 12px; padding-top: 12px; padding-bottom: 12px; } .query-total-count-number { color: #1a6fb8; } /* 自定义筛选输入框样式 */ .custom-filter-content .filter-item .dtm-input, .custom-filter-content .filter-item input[type='text'], .custom-filter-content .filter-item input { background: #f2f3f5 !important; border-radius: 6px !important; border: none !important; height: 40px !important; font-size: 14px; color: #171a1d; box-shadow: none !important; padding-left: 6px !important; }