.template-content { position: relative; .content-text { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; height: 63px; word-break: break-all; margin-bottom: 4px; white-space: pre-wrap; word-wrap: break-word; } .view-more-row { height: 22px; line-height: 22px; } .view-more { color: #1A6FB8; cursor: pointer; &:hover { color: #40a9ff; } } } .operate-link { color: #1A6FB8; cursor: pointer; &:hover { color: #40a9ff; } } // 模板详情弹窗样式 :global(.template-detail-modal) { .ant-modal-confirm-title { margin-bottom: 0 !important; color: #1A6FB8 !important; } .modal-title-wrapper { display: flex; justify-content: flex-start; gap: 12px; height: 32px; .modal-title-label { color: #1A6FB8; border: 1px solid #1A6FB8; padding: 2px 8px; border-radius: 2px; font-size: 16px; line-height: 22px; height: 28px; display: flex; align-items: center; } .template-name { font-size: 16px; color: #333; line-height: 28px; height: 28px; display: flex; align-items: center; } } .template-detail-content { padding: 0 24px; .template-text { margin-top: 16px; white-space: pre-wrap; color: #666; line-height: 1.5; max-height: 300px; overflow-y: auto; padding: 16px; background: #f5f5f5; border-radius: 4px; } } .ant-modal-confirm-btns { text-align: center; margin-top: 24px; border-top: 1px solid #f0f0f0; padding-top: 16px; .confirm-cancel-btn { margin-left: 8px; order: 2; min-width: 88px; } .confirm-ok-btn { order: 1; min-width: 88px; } } }