From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/app/configuration/config-prompt/conversation-history/history-panel.tsx | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app/components/app/configuration/config-prompt/conversation-history/history-panel.tsx b/app/components/app/configuration/config-prompt/conversation-history/history-panel.tsx
index 592c952..199f959 100644
--- a/app/components/app/configuration/config-prompt/conversation-history/history-panel.tsx
+++ b/app/components/app/configuration/config-prompt/conversation-history/history-panel.tsx
@@ -30,24 +30,24 @@
</div>
}
headerIcon={
- <div className='rounded-md p-1 shadow-xs'>
- <MessageClockCircle className='h-4 w-4 text-[#DD2590]' />
+ <div className='p-1 rounded-md bg-white shadow-xs'>
+ <MessageClockCircle className='w-4 h-4 text-[#DD2590]' />
</div>}
headerRight={
<div className='flex items-center'>
- <div className='text-xs text-text-tertiary'>{t('appDebug.feature.conversationHistory.description')}</div>
- <div className='ml-3 h-[14px] w-[1px] bg-divider-regular'></div>
+ <div className='text-xs text-gray-500'>{t('appDebug.feature.conversationHistory.description')}</div>
+ <div className='ml-3 w-[1px] h-[14px] bg-gray-200'></div>
<OperationBtn type="edit" onClick={onShowEditModal} />
</div>
}
noBodySpacing
>
{showWarning && (
- <div className='flex justify-between rounded-b-xl bg-background-section-burn px-3 py-2 text-xs text-text-secondary'>
+ <div className='flex justify-between py-2 px-3 rounded-b-xl bg-[#FFFAEB] text-xs text-gray-700'>
<div>{t('appDebug.feature.conversationHistory.tip')}
<a href={`${locale === LanguagesSupported[1]
- ? 'https://docs.dify.ai/zh-hans/learn-more/extended-reading/prompt-engineering/README'
- : 'https://docs.dify.ai/en/features/prompt-engineering'}`}
+ ? 'https://docs.dify.ai/v/zh-hans/guides/application-design/prompt-engineering'
+ : 'https://docs.dify.ai/features/prompt-engineering'}`}
target='_blank' rel='noopener noreferrer'
className='text-[#155EEF]'>{t('appDebug.feature.conversationHistory.learnMore')}
</a>
--
Gitblit v1.8.0