Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sdream-ai-fe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
侯明涛
sdream-ai-fe
Commits
e1a2ab2e
Commit
e1a2ab2e
authored
Oct 22, 2025
by
Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:推荐问部分刷新样式
parent
74833085
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
src/components/ChatEditor/index.tsx
+5
-1
src/pages/Home/components/QuestionList/QuestionList.tsx
+3
-3
No files found.
src/components/ChatEditor/index.tsx
View file @
e1a2ab2e
...
@@ -249,7 +249,11 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
...
@@ -249,7 +249,11 @@ const ChatEditorBase: React.FC<ChatEditorProps & WithAuthProps> = ({ checkAuth,
数据助手
数据助手
</Button> */
}
</Button> */
}
<
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"
radius=
"full"
variant=
"bordered"
variant=
"bordered"
startContent=
{
<
img
src=
{
efficiencyIcon
}
alt=
"提质增效"
className=
"w-5 h-5"
/>
}
startContent=
{
<
img
src=
{
efficiencyIcon
}
alt=
"提质增效"
className=
"w-5 h-5"
/>
}
...
...
src/pages/Home/components/QuestionList/QuestionList.tsx
View file @
e1a2ab2e
...
@@ -118,8 +118,8 @@ const QuestionListBase: React.FC<QuestionListProps & WithAuthProps> = ({
...
@@ -118,8 +118,8 @@ const QuestionListBase: React.FC<QuestionListProps & WithAuthProps> = ({
</
div
>
</
div
>
{
showRefresh
{
showRefresh
?
(
?
(
<
div
className=
"flex-shrink-0 ml-[8px] flex items-center gap-[4px]"
>
<
div
onClick=
{
handleRefresh
}
className=
"flex-shrink-0 ml-[8px] flex items-center gap-[4px]"
>
<
Button
onPress=
{
handleRefresh
}
isDisabled=
{
isRotating
}
isIconOnly
color=
"primary"
variant=
"light
"
>
<
div
className=
"cursor-pointer
"
>
<
motion
.
div
<
motion
.
div
animate=
{
{
rotate
:
isRotating
?
-
360
:
0
}
}
animate=
{
{
rotate
:
isRotating
?
-
360
:
0
}
}
transition=
{
{
transition=
{
{
...
@@ -130,7 +130,7 @@ const QuestionListBase: React.FC<QuestionListProps & WithAuthProps> = ({
...
@@ -130,7 +130,7 @@ const QuestionListBase: React.FC<QuestionListProps & WithAuthProps> = ({
>
>
<
Refresh
className=
"w-[12px] h-[12px]"
/>
<
Refresh
className=
"w-[12px] h-[12px]"
/>
</
motion
.
div
>
</
motion
.
div
>
</
Button
>
</
div
>
<
div
className=
"text-[12px] text-[#29B6FD] cursor-pointer"
>
换一换
</
div
>
<
div
className=
"text-[12px] text-[#29B6FD] cursor-pointer"
>
换一换
</
div
>
</
div
>
</
div
>
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment