Commit e1a2ab2e by Liu

fix:推荐问部分刷新样式

parent 74833085
......@@ -249,7 +249,11 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
数据助手
</Button> */}
<Button
className="w-[96px] h-[32px] px-3 rounded-full bg-white border border-[#E6E8EB] shadow-none text-[#111827] text-[12px]"
className={`w-[96px] h-[32px] px-3 rounded-full shadow-none text-[12px] transition-all duration-200 ${
isToolBtnActive
? 'bg-[#29B6FD] border-[#29B6FD] text-white'
: 'bg-white border border-[#E6E8EB] text-[#111827]'
}`}
radius="full"
variant="bordered"
startContent={<img src={efficiencyIcon} alt="提质增效" className="w-5 h-5" />}
......
......@@ -118,8 +118,8 @@ const QuestionListBase: React.FC<QuestionListProps & WithAuthProps> = ({
</div>
{showRefresh
? (
<div className="flex-shrink-0 ml-[8px] flex items-center gap-[4px]">
<Button onPress={handleRefresh} isDisabled={isRotating} isIconOnly color="primary" variant="light">
<div onClick={handleRefresh} className="flex-shrink-0 ml-[8px] flex items-center gap-[4px]">
<div className="cursor-pointer">
<motion.div
animate={{ rotate: isRotating ? -360 : 0 }}
transition={{
......@@ -130,7 +130,7 @@ const QuestionListBase: React.FC<QuestionListProps & WithAuthProps> = ({
>
<Refresh className="w-[12px] h-[12px]" />
</motion.div>
</Button>
</div>
<div className="text-[12px] text-[#29B6FD] cursor-pointer">换一换</div>
</div>
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment