.case-repeat-info-modal { .ant-modal-header { border-bottom: 1px solid #f0f0f0; padding: 16px 24px 16px 16px; .ant-modal-title { font-size: 16px; font-weight: 500; color: #333; } } .ant-modal-body { padding: 16px 16px; max-height: 500px; overflow-y: auto; background-color: #f5f5f5; } } .case-repeat-info { .info-tip { display: flex; align-items: center; background-color: #f0f7ff; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; .info-icon { display: inline-block; width: 16px; height: 16px; background-image: url('../../assets/images/ledger_2.png'); background-repeat: no-repeat; background-position: center; background-size: contain; margin-right: 8px; } span { color: #333; font-size: 14px; } } .record-list { background-color: #f5f5f5; border-radius: 4px; width: 100%; .record-item { display: flex; background-color: #fff; padding-left: 16px; padding-top: 16px; padding-right: 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; width: 100%; &:last-child { border-bottom: none; } .record-icon { width: 32; height: 32; margin-right: 12px; .time-icon { display: inline-block; width: 32px; height: 32px; padding: 8px 8px 8px 8px; background-size: contain; /* 保持原比例 */ background-position: center; /* 居中显示 */ background-repeat: no-repeat; /* 不平铺 */ background-color: #1A6FB8; /* 背景色 */ border-radius: 50%; /* 圆形 */ } } .record-content { flex: 1; .record-time { font-size: 16px; font-weight: 400; color: #333; margin-bottom: 8px; } .record-info-row { display: flex; flex-wrap: wrap; } .record-info { margin-bottom: 4px; font-size: 14px; margin-right: 24px; .label { color: #86909C; font-size: 14px; font-weight: 400; } .value { color: #333; font-size: 14px; font-weight: 400; } .user-dept { color: #999; margin-left: 8px; font-size: 14px; } } } .record-action { width: 40px; display: flex; align-items: center; .view-btn { color: #1A6FB8; cursor: pointer; &:hover { color: #40a9ff; } } } } } .loading-tip, .empty-tip { text-align: center; color: #999; background-color: #fff; border-radius: 4px; margin: 0 -16px; .loading-content, .empty-content { padding: 40px 0; } } } /* 修改详情弹窗样式 */ .case-repeat-detail-modal { .ant-modal-header { border-bottom: 1px solid #f0f0f0; padding: 16px 16px 16px 16px; .ant-modal-title { font-size: 16px; font-weight: 500; color: #333; } } .ant-modal-body { padding: 16px 16px; background-color: #fff; } } .case-repeat-detail { .detail-header { margin-bottom: 0px; .info-tip { display: flex; align-items: center; background-color: #f0f7ff; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; .info-icon { display: inline-block; width: 16px; height: 16px; background-image: url('../../assets/images/ledger_2.png'); background-repeat: no-repeat; background-position: center; background-size: contain; margin-right: 8px; } span { color: #333; font-size: 14px; } } .detail-info-row { display: flex; flex-wrap: wrap; .info-item { margin-right: 24px; margin-bottom: 8px; font-size: 14px; .label { color: #86909C; font-size: 14px; } .value { color: #333; font-weight: 400; font-size: 14px; } .user-dept { color: #999; margin-left: 8px; font-size: 14px; } } } } .detail-table { padding: 0; padding-top: 8px; width: 100%; .modify-type-tag { display: inline-block; width: 44px; height: 24px; line-height: 22px; text-align: center; background: #e6f7ff; border: 1px solid #91d5ff; border-radius: 4px; font-size: 14px; font-weight: 400; color: #1890ff; &.modify-type-add { background: #f6ffed; border-color: #b7eb8f; color: #52c41a; } &.modify-type-delete { background: #fff1f0; border-color: #ffa39e; color: #f5222d; } } } }