From 0660f206f4944d9f155ec4405866f9e94274c434 Mon Sep 17 00:00:00 2001 From: yorn <1057707203@qq.com> Date: Mon, 8 Dec 2025 21:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B5=B7=E8=8D=89=E5=90=88?= =?UTF-8?q?=E5=90=8C=E7=9A=84=E6=A0=B7=E5=BC=8F=EF=BC=8C=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E8=AF=84=E6=9F=A5=E7=82=B9=E8=AE=BE=E7=BD=AE=E7=9A=84=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/contracts/PlaceholderForm.tsx | 8 ++++++-- app/components/rules/new/ReviewSettings.tsx | 2 +- app/hooks/dify-chat-apps/useChatApps.ts | 1 + app/models/evaluation_points.ts | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/components/contracts/PlaceholderForm.tsx b/app/components/contracts/PlaceholderForm.tsx index ed3ba98..eb8a3bd 100644 --- a/app/components/contracts/PlaceholderForm.tsx +++ b/app/components/contracts/PlaceholderForm.tsx @@ -199,7 +199,9 @@ export function PlaceholderForm({ onChange={(e) => handleFieldChange(field.key, e.target.value)} onClick={(e) => handleFieldClick(e, field.key)} placeholder={field.placeholder || `请输入${field.label}`} - className="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all duration-150 resize-none bg-white text-gray-900 placeholder-gray-400 text-sm" + className="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:outline-none + focus:ring-2 focus:ring-[#004d38]/20 focus:border-[#004d38] transition-all duration-150 + resize-none bg-white text-gray-900 placeholder-gray-400 text-sm" rows={3} /> ) : ( @@ -209,7 +211,9 @@ export function PlaceholderForm({ onChange={(e) => handleFieldChange(field.key, e.target.value)} onClick={(e) => handleFieldClick(e, field.key)} placeholder={field.placeholder || `请输入${field.label}`} - className="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all duration-150 bg-white text-gray-900 placeholder-gray-400 text-sm" + className="flex-1 px-3 py-2 border border-gray-300 rounded-lg + focus:outline-none focus:ring-2 focus:ring-[#004d38]/20 focus:border-[#004d38] + transition-all duration-150 bg-white text-gray-900 placeholder-gray-400 text-sm" /> )} diff --git a/app/components/rules/new/ReviewSettings.tsx b/app/components/rules/new/ReviewSettings.tsx index 3df7597..dd4dc3c 100644 --- a/app/components/rules/new/ReviewSettings.tsx +++ b/app/components/rules/new/ReviewSettings.tsx @@ -1993,7 +1993,7 @@ export function ReviewSettings({ - + {/* */}