Commit c3d08fc5 by weiw

fix:首页的样式

parent bf718d95
...@@ -178,7 +178,7 @@ useEffect(() => { ...@@ -178,7 +178,7 @@ useEffect(() => {
<QuestionList <QuestionList
questions={productQuestions.content} questions={productQuestions.content}
dotColor="#D4CCFF" dotColor="#D4CCFF"
background="linear-gradient( 180deg, #EBE6FF 0%, #FFFFFF 100%)" background="linear-gradient(180deg, #EBE6FF 0%, #FFFFFF 50%, #FFFFFF 100%)"
title={productQuestions.configName} title={productQuestions.configName}
iconImg={HomeIcon1} iconImg={HomeIcon1}
/> />
...@@ -187,7 +187,7 @@ useEffect(() => { ...@@ -187,7 +187,7 @@ useEffect(() => {
<QuestionList <QuestionList
questions={otherQuestions.content} questions={otherQuestions.content}
dotColor="#CBECFF" dotColor="#CBECFF"
background="linear-gradient( 180deg, #DBF1FF 0%, #FFFFFF 100%)" background="linear-gradient(180deg, #DBF1FF 0%, #FFFFFF 50%, #FFFFFF 100%)"
title={otherQuestions.configName} title={otherQuestions.configName}
iconImg={HomeIcon2} iconImg={HomeIcon2}
/> />
......
...@@ -151,7 +151,7 @@ const QuestionListBase: React.FC<QuestionListProps & WithAuthProps> = ({ ...@@ -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" 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"> <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> <span className="ml-[8px]">{item}</span>
</div> </div>
</Button> </Button>
......
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