// 登记历史页面样式 .registerhis-container { width: 100%; background-color: #f5f5f5; display: flex; flex-direction: column; position: relative; overflow: hidden; } .registerhis-search-input { & .dtm-input-item-input { background: #F2F3F5 !important; } } .registerhis-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; .registerhis-search { flex: 1; min-width: 0; display: flex; align-items: center; background: #F2F3F5; border-radius: 8px; padding: 2px 10px; height: 32px; margin: 8px 12px; } .registerhis-actions { display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; } } .registerhis-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; } .registerhis-settings-icon { width: 16px; height: 16px; margin-right: 4px; } } .registerhis-content { flex: 1; overflow: hidden; position: relative; } .registerhis-empty-state { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 87vh; .registerhis-empty-image { width: 260px; height: 260px; margin-bottom: 16px; } .registerhis-empty-text { font-size: 14px; color: rgba(23, 26, 29, 0.4); } } .registerhis-loading { display: flex; justify-content: center; align-items: center; height: 100%; .registerhis-loading-text { font-size: 14px; color: rgba(23, 26, 29, 0.6); } } .registerhis-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); .registerhis-list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; .registerhis-list-title { font-size: 16px; font-weight: bold; color: #171A1D; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; .registerhis-list-separator { margin: 0 2px; } .registerhis-list-arrow { margin-left: 4px; color: #999; } } .registerhis-list-status { font-size: 14px; color: #1A6FB8; } } .registerhis-list-content { .registerhis-list-row { display: flex; margin-bottom: 8px; &:last-child { margin-bottom: 0; } .registerhis-list-label { width: 70px; color: rgba(23, 26, 29, 0.6); font-size: 14px; } .registerhis-list-value { flex: 1; color: #171A1D; font-size: 14px; &.registerhis-result-success { color: #52C41A; } &.registerhis-result-fail { color: #F5222D; } } } } } .registerhis-filter-modal .dtm-modal-body { padding: 0 15px 15px !important; } .registerhis-filter-modal { width: 100%; margin: 0; border-radius: 0; position: fixed; top: 44px; left: 0; right: 0; bottom: 368px; 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; } } } .registerhis-filter-content { background: #fff; display: flex; flex-wrap: wrap; .registerhis-filter-item { width: 50%; box-sizing: border-box; padding-right: 8px; margin-bottom: 16px; justify-content: flex-start; &:nth-child(2n) { padding-right: 0; padding-left: 8px; } .registerhis-filter-label { font-size: 14px; color: #171A1D; margin-bottom: 8px; text-align: left; } .registerhis-filter-input { position: relative; height: 40px; display: flex; align-items: center; padding: 0 6px; background: #F2F3F5; border-radius: 4px; color: #171A1D; font-size: 14px; & .dtm-input-item-input{ background: #F2F3F5; color: #171A1D !important; font-size: 14px; } } .registerhis-filter-selector { height: 40px; line-height: 40px; background: #F2F3F5; border-radius: 4px; padding: 0 6px; color: #999; font-size: 14px; cursor: pointer; text-align: left; position: relative; .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); } } .dtm-input-item { width: 100%; .dtm-input-item-input { text-align: left; border-radius: 4px; background-color:#F2F3F5; color: #999; font-size: 14px; } } } // 最后一行如果只有一个筛选项,宽度100% .registerhis-filter-item:last-child:nth-child(odd) { width: 100%; padding-right: 0; padding-left: 0; } } .registerhis-filter-buttons { display: flex; padding: 16px 0; border-top: 1px solid #eee; background: #FFFFFF; position: sticky; bottom: 0; .registerhis-filter-reset { width: 120px; height: 44px; margin-right: 12px; border: 1px solid #1A6FB8; color: #1A6FB8; background-color: #FFFFFF; border-radius: 4px; font-size: 16px; } .registerhis-filter-apply { flex: 1; height: 44px; background-color: #1A6FB8; color: #FFFFFF; border-radius: 4px; font-size: 16px; } } .registerhis-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; 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; } } .registerhis-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #f0f0f0; background: #fff; .registerhis-modal-title { font-size: 16px; font-weight: 500; color: #333; } .registerhis-modal-close { font-size: 16px; color: #999; cursor: pointer; } } } .registerhis-total-count { font-size: 14px; color: #666; padding: 8px 16px; .registerhis-total-count-number { color: #1A6FB8; font-weight: bold; margin: 0 2px; } }