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
c3d08fc5
Commit
c3d08fc5
authored
Sep 18, 2025
by
weiw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:首页的样式
parent
bf718d95
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/pages/Home/HomeNew.tsx
+2
-2
src/pages/Home/components/QuestionList/QuestionList.tsx
+1
-1
No files found.
src/pages/Home/HomeNew.tsx
View file @
c3d08fc5
...
...
@@ -178,7 +178,7 @@ useEffect(() => {
<
QuestionList
questions=
{
productQuestions
.
content
}
dotColor=
"#D4CCFF"
background=
"linear-gradient(
180deg, #EBE6FF
0%, #FFFFFF 100%)"
background=
"linear-gradient(
180deg, #EBE6FF 0%, #FFFFFF 5
0%, #FFFFFF 100%)"
title=
{
productQuestions
.
configName
}
iconImg=
{
HomeIcon1
}
/>
...
...
@@ -187,7 +187,7 @@ useEffect(() => {
<
QuestionList
questions=
{
otherQuestions
.
content
}
dotColor=
"#CBECFF"
background=
"linear-gradient(
180deg, #DBF1FF
0%, #FFFFFF 100%)"
background=
"linear-gradient(
180deg, #DBF1FF 0%, #FFFFFF 5
0%, #FFFFFF 100%)"
title=
{
otherQuestions
.
configName
}
iconImg=
{
HomeIcon2
}
/>
...
...
src/pages/Home/components/QuestionList/QuestionList.tsx
View file @
c3d08fc5
...
...
@@ -151,7 +151,7 @@ const QuestionListBase: React.FC<QuestionListProps & WithAuthProps> = ({
className=
"text-left bg-[#F7FCFF] w-full text-[#333] rounded-[23px] data-[hover=true]:bg-[#E5F6FF] data-[hover=true]:text-primary h-8"
>
<
div
className=
"w-full text-nowrap text-ellipsis overflow-hidden"
>
<
span
style=
{
{
color
:
dotColor
}
}
>
·
</
span
>
<
span
className=
"w-[6px] h-[6px] rounded-full inline-block mr-[6px]"
style=
{
{
backgroundColor
:
dotColor
}
}
>
</
span
>
<
span
className=
"ml-[8px]"
>
{
item
}
</
span
>
</
div
>
</
Button
>
...
...
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