修改空间空状态

This commit is contained in:
al 2025-03-10 17:33:50 +08:00
parent d3876556d4
commit 6f6ec99ce2
1 changed files with 26 additions and 20 deletions

View File

@ -271,33 +271,39 @@ const SpacesList = forwardRef(({ scrollHeight }, ref) => {
<VisitingCard data={item} />
</li>
))}
<li onClick={() => router.push("/search")}>
<div className="w-full h-52">
{spacesList.length > 0 && (
<li onClick={() => router.push("/search")}>
<div
className="h-full flex flex-col rounded-lg overflow-hidden bg-[#FFFFFF1A] bg-no-repeat bg-right-bottom bg-40%"
style={{
backgroundImage: `url(${
process.env.NEXT_PUBLIC_WEB_ASSETS_URL +
"/icons/magnifier.png"
})`,
}}
// onPress={() => navigation.navigate("Stream")}
// onClick={}
className="w-full h-52"
>
{/* <div className="w-full z-0"></div>
<div
className="h-full flex flex-col rounded-lg overflow-hidden bg-[#FFFFFF1A] bg-no-repeat bg-right-bottom bg-40%"
style={{
backgroundImage: `url(${
process.env.NEXT_PUBLIC_WEB_ASSETS_URL +
"/icons/magnifier.png"
})`,
}}
>
{/* <div className="w-full z-0"></div>
<div
className="w-full z-0 h-[42px]"
></div> */}
<div className="flex flex-col w-full h-full px-[22px] py-[30px]">
<p className="text-white font-medium text-lg">发现更多</p>
<p className="text-[#FFFFFF40] font-sm">缘分就在不经意间</p>
<OwnIcon
className="w-full h-full"
outClassName="w-[32px] h-[32px] mt-4"
src="/icons/rightarrow_border.png"
/>
<div className="flex flex-col w-full h-full px-[22px] py-[30px]">
<p className="text-white font-medium text-lg">发现更多</p>
<p className="text-[#FFFFFF40] font-sm">缘分就在不经意间</p>
<OwnIcon
className="w-full h-full"
outClassName="w-[32px] h-[32px] mt-4"
src="/icons/rightarrow_border.png"
/>
</div>
</div>
</div>
</div>
</li>
</li>
)}
{/* {spacesList?.length == 0 && !loading && (
<div
className={`flex flex-col items-center justify-center h-screen`}