@import '../../../../styles/theme.less'; .ddm-modal-container { .ddm-modal-mask { background-color: rgba(0, 0, 0, 0.45); } .ddm-modal-wrap { display: flex; align-items: flex-end; } .ddm-modal { &.from-bottom { border-radius: 8px 8px 0 0; width: 100%; margin: 0; } } } // 无数据状态 .dbcb-empty-state { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 60vh; .dbcb-empty-image { width: 260px; height: 260px; margin-bottom: 16px; } .dbcb-empty-text { font-size: 14px; color: rgba(23, 26, 29, 0.4); } } .dbcb { &-container { background-color: #f5f7fa; width: 100%; height: 100%; overflow: hidden; } /* 督办/催办 顶部标签切换 */ &-type-tabs { display: flex; background-color: #fff; border-bottom: 1px solid #eaedf3; padding: 10px 12px; justify-content: center; } &-type-tab { position: relative; font-size: 15px; color: #FFFFFF; margin-right: 0; height: 44px; width: 175px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; border-bottom: 3px solid transparent; background-color: #5FA6D4; border-radius: 4px; &:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 1px solid #fff; } &:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 1px solid #fff; } &-active { color: #fff; font-weight: 500; background-color: #1A6FB8; border-bottom: 3px solid #1A6FB8; } } /* 未回复/已回复 子标签切换 */ &-status-tabs { display: flex; padding: 12px 4px 8px; border-bottom: 1px solid #eaedf3; justify-content: flex-start; gap: 8px; margin-left: 12px; } &-status-tab-container { display: flex; border-radius: 4px; overflow: hidden; width: 92px; height: 22px; border: 1px solid #E5E6EB; margin-left: 16px; background-color: #f5f7fa; } &-status-tab { padding: 0; font-size: 14px; color: #171A1D; height: 22px; line-height: 22px; width: 45px; text-align: center; border: 1px solid #E5E6EB; border-radius: 4px; background: #f2f2f2; padding: 0 4px; &-active { background-color: rgba(95, 166, 212, 0.1); color: #1A6FB8; } } /* 列表样式 */ &-list { padding: 8px; background-color: #f5f7fa; } /* 加载相关样式 */ &-loading { display: flex; justify-content: center; align-items: center; height: 200px; &-text { font-size: 14px; color: #86909c; } } &-loading-more { text-align: center; padding: 12px 0; font-size: 14px; color: #86909c; } &-no-more { text-align: center; padding: 12px 0; font-size: 14px; color: #86909c; &::before, &::after { content: ''; display: inline-block; width: 40px; height: 1px; background-color: #e5e6eb; margin: 0 8px; vertical-align: middle; } } &-item { background-color: #fff; border-radius: 4px; padding: 4px 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); &-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } &-unit-container { display: flex; align-items: center; width: 100%; justify-content: space-between; } &-unit { font-size: 15px; font-weight: 500; color: #1d2129; } &-timeout { font-size: 12px; color: #f53f3f; padding: 1px 4px; background-color: #ffece8; border-radius: 2px; } &-about-to-timeout { font-size: 12px; color: #ff7d00; padding: 1px 4px; background-color: #fff3e8; border-radius: 2px; } &-content { font-size: 14px; color: #4e5969; line-height: 20px; margin-bottom: 8px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; } &-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f2f3f5; margin-top: 4px; padding-bottom: 6px; padding-top: 6px; } &-time { font-size: 14px; color: #86909c; } &-actions { display: flex; gap: 8px; justify-content: flex-end; } &-btn { min-width: 52px; width: 52px; height: 26px; border-radius: 4px; font-size: 13px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 16px; &.ddm-button-primary { background-color: #1A6FB8; } &.dbcb-item-detail-btn { color: #1A6FB8; border: 1px solid #e5e6eb; background-color: #fff; border: 1px solid #1A6FB8; } &.dbcb-item-reply-btn { color: #fff; background-color: #1A6FB8; border: 1px solid #1A6FB8; } } } &-empty { display: flex; justify-content: center; align-items: center; height: 300px; } /* 详情弹窗样式 */ &-detail { &-dialog { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; border-radius: 8px 8px 0 0; width: 100% !important; max-width: 100% !important; .ddm-modal { position: absolute; bottom: 0; width: 100%; margin: 0; } .ddm-modal-content { padding: 0 16px; } .ddm-modal-header { padding: 16px; text-align: left; position: relative; border-bottom: 1px solid #f5f5f5; .ddm-modal-title { text-align: left; width: 100%; font-size: 16px; } .ddm-modal-close { position: absolute; right: 16px; top: 16px; } } } &-header { display: flex; justify-content: space-between; align-items: center; width: 100%; } &-title { font-weight: 500; text-align: left; font-size: 16px; } &-timeout-status { text-align: right; font-size: 13px; display: flex; align-items: center; height: 100%; span { padding: 1px 4px; border-radius: 2px; &[style*="color: #FF4D4F"] { background-color: #ffece8; } &[style*="color: #FAAD14"] { background-color: #fff3e8; } } } &-content { padding: 0 0 16px; overflow-y: auto; max-height: 70vh; } &-section { margin-bottom: 16px; text-align: left; } &-label { font-size: 14px; color: #86909c; margin-bottom: 4px; text-align: left; } &-value { font-size: 14px; color: #1d2129; line-height: 22px; text-align: left; white-space: pre-line; /* 保留换行符 */ } &-attachments { margin-top: 8px; text-align: left; } &-footer { display: flex; justify-content: center; padding: 16px 0; border-top: 1px solid #f2f3f5; .ddm-button { width: 100%; height: 44px; border-radius: 4px; font-size: 16px; } } } /* 附件样式 */ &-attachment { display: flex; align-items: center; height: 48px; background-color: #f7f8fa; border-radius: 4px; padding: 0 12px; margin-bottom: 8px; &-icon { margin-right: 8px; } &-name { flex: 1; font-size: 14px; color: #1d2129; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } &-size { font-size: 12px; color: #86909c; margin: 0 12px; } &-preview { font-size: 14px; color: #1A6FB8; } } /* 回复弹窗样式 */ &-reply { &-dialog { max-height: 90vh !important; width: 100% !important; max-width: 100% !important; left: 0 !important; right: 0 !important; margin: 0 auto !important; overflow-x: hidden !important; .ddm-modal { max-height: 90vh !important; height: auto !important; width: 100% !important; max-width: 100% !important; } .ddm-modal-content { padding: 0; max-height: calc(90vh - 56px) !important; height: auto !important; display: flex; flex-direction: column; width: 100% !important; overflow-x: hidden !important; } .ddm-modal-body { width: 100% !important; overflow-x: hidden !important; padding: 0 !important; } .ddm-modal-header { padding: 12px 16px; text-align: left; position: relative; border-bottom: 1px solid #f5f5f5; width: 100% !important; .ddm-modal-title { font-size: 17px; font-weight: 500; text-align: left; width: 100% !important; } .ddm-modal-close { display: none !important; } } } &-close-icon { position: absolute !important; top: 12px !important; right: 16px !important; width: 20px !important; height: 20px !important; z-index: 100 !important; display: block !important; } &-wrapper { width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; box-sizing: border-box !important; } &-header { display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; } &-title { font-size: 17px; font-weight: 500; text-align: left; padding-left: 0; font-weight: 500; } &-close-btn { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; cursor: pointer; } &-content { flex: 1; overflow-y: auto; overflow-x: hidden !important; display: flex; flex-direction: column; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; } &-detail { padding: 12px 0px; border-radius: 8px; margin-bottom: 16px; text-align: left; margin-left: 0; width: 100% !important; box-sizing: border-box !important; } &-section { margin-bottom: 16px; text-align: left; width: 100% !important; box-sizing: border-box !important; } &-btn-group { display: flex; align-items: center; } &-ocr-btn { display: flex; align-items: center; font-size: 14px; color: #1A6FB8; margin-right: 12px; svg { margin-right: 4px; } } &-template-btn { display: flex; align-items: center; font-size: 14px; color: #1A6FB8; svg { margin-right: 4px; } } &-label { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: #86909c; margin-bottom: 8px; text-align: left; &-text { font-weight: 500; color: #171A1D; } } &-value { font-size: 14px; color: #4e5969; line-height: 22px; white-space: pre-line; text-align: left; word-break: break-all; } &-textarea { width: 98%; border: 1px solid #e5e6eb; border-radius: 4px; font-size: 14px; line-height: 22px; resize: none; min-height: 120px; height: 120px; } &-attachments { margin-top: 12px; } &-attachment { display: flex; align-items: center; height: 48px; background-color: #f7f8fa; border-radius: 4px; padding: 0 12px; margin-bottom: 8px; } &-add-attachment { display: flex; align-items: center; justify-content: center; height: 48px; background-color: #f7f8fa; border-radius: 4px; color: #1A6FB8; font-size: 14px; svg { margin-right: 8px; } } &-add-attachment-btn { display: flex; align-items: center; font-size: 14px; color: #1A6FB8; svg { margin-right: 4px; } } &-footer { display: flex; padding: 12px 0px; border-top: 1px solid #f2f3f5; justify-content: center; width: 100% !important; box-sizing: border-box !important; .dbcb-reply-submit-btn { flex: 1; height: 44px; border-radius: 8px; background-color: #1A6FB8; width: 100%; font-size: 16px; max-width: 100% !important; } } } /* 模板选择弹窗样式 */ &-template { &-dialog { .ddm-modal-content { padding: 0 16px 16px; } } &-content { padding: 8px 0; } &-item { border: 1px solid #e5e6eb; border-radius: 4px; padding: 12px; margin-bottom: 12px; } &-title { font-size: 14px; font-weight: 500; color: #1d2129; margin-bottom: 8px; } &-preview { font-size: 14px; color: #4e5969; line-height: 20px; } } /* 附件样式补充 */ &-attachment { &-delete { font-size: 14px; color: #f53f3f; margin-left: 12px; } } }