diff --git a/ui/src/conversation-panel/components/log-message-footer/feedback/FeedbackCard.vue b/ui/src/conversation-panel/components/log-message-footer/feedback/FeedbackCard.vue new file mode 100644 index 00000000000..94074bd68c1 --- /dev/null +++ b/ui/src/conversation-panel/components/log-message-footer/feedback/FeedbackCard.vue @@ -0,0 +1,40 @@ + + + + + + {{ status === '0' ? '你觉得什么让你满意?' : '请告诉我们不满意的原因' }} + + + + + + {{ option.label }} + + + + + + diff --git a/ui/src/conversation-panel/components/log-message-footer/feedback/index.vue b/ui/src/conversation-panel/components/log-message-footer/feedback/index.vue new file mode 100644 index 00000000000..4b61d073e59 --- /dev/null +++ b/ui/src/conversation-panel/components/log-message-footer/feedback/index.vue @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + diff --git a/ui/src/conversation-panel/components/log-message-footer/index.vue b/ui/src/conversation-panel/components/log-message-footer/index.vue index a31c84380b7..af487caa5ea 100644 --- a/ui/src/conversation-panel/components/log-message-footer/index.vue +++ b/ui/src/conversation-panel/components/log-message-footer/index.vue @@ -1,6 +1,8 @@ + + + + + + + + + + + + + + + + + + + diff --git a/ui/src/conversation-panel/components/message-footer/feedback/FeedbackCard.vue b/ui/src/conversation-panel/components/message-footer/feedback/FeedbackCard.vue new file mode 100644 index 00000000000..33092145c24 --- /dev/null +++ b/ui/src/conversation-panel/components/message-footer/feedback/FeedbackCard.vue @@ -0,0 +1,63 @@ + + + + + + {{ status === '0' ? '你觉得什么让你满意?' : '请告诉我们不满意的原因' }} + + + + + + + + {{ option.label }} + + + + + + + 取消 + + + 提交 + + + + diff --git a/ui/src/conversation-panel/components/message-footer/feedback/index.vue b/ui/src/conversation-panel/components/message-footer/feedback/index.vue deleted file mode 100644 index 2d74a633662..00000000000 --- a/ui/src/conversation-panel/components/message-footer/feedback/index.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - - - - - - - - - - - {{ draftStatus === '0' ? '你觉得什么让你满意?' : '请告诉我们不满意的原因' }} - - - - - - - - {{ option.label }} - - - - - - - 取消 - - - 提交 - - - - - - diff --git a/ui/src/conversation-panel/components/message-footer/index.vue b/ui/src/conversation-panel/components/message-footer/index.vue index 4ebbd017f44..c67ed3eff7e 100644 --- a/ui/src/conversation-panel/components/message-footer/index.vue +++ b/ui/src/conversation-panel/components/message-footer/index.vue @@ -1,7 +1,9 @@ -