feat:dify聊天页面接入消息反馈、复制功能
This commit is contained in:
@@ -106,6 +106,65 @@
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* 消息反馈按钮 */
|
||||
.message-feedback {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
margin-top: 8px;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.message-copy-btn {
|
||||
color: #52c41a !important;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.message-copy-btn:hover {
|
||||
color: #00684a !important;
|
||||
background: rgba(0, 104, 74, 0.1) !important;
|
||||
}
|
||||
|
||||
.message-copy-btn.copied {
|
||||
color: #00684a !important;
|
||||
}
|
||||
|
||||
.feedback-actions-right {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.message-feedback .ant-btn {
|
||||
color: #8c8c8c;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.message-feedback .ant-btn:hover {
|
||||
color: #52c41a;
|
||||
background: rgba(24, 144, 255, 0.1);
|
||||
}
|
||||
|
||||
.message-feedback .feedback-active-like {
|
||||
color: #52c41a !important;
|
||||
}
|
||||
|
||||
.message-feedback .feedback-active-like:hover {
|
||||
color: #52c41a !important;
|
||||
background: rgba(82, 196, 26, 0.1);
|
||||
}
|
||||
|
||||
.message-feedback .feedback-active-dislike {
|
||||
color: #ff4d4f !important;
|
||||
}
|
||||
|
||||
.message-feedback .feedback-active-dislike:hover {
|
||||
color: #ff4d4f !important;
|
||||
background: rgba(255, 77, 79, 0.1);
|
||||
}
|
||||
|
||||
/* 建议问题 */
|
||||
.suggested-questions {
|
||||
margin-top: 16px;
|
||||
|
||||
Reference in New Issue
Block a user