Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xplot
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
digit_plot
xplot
Commits
cbc2b48c
Commit
cbc2b48c
authored
Aug 29, 2024
by
dliangx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update footer color
parent
5d70d0f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
12 deletions
+41
-12
src/components/common/Footer.tsx
+41
-12
No files found.
src/components/common/Footer.tsx
View file @
cbc2b48c
...
...
@@ -6,7 +6,7 @@ const Footer = () => {
const
{
tabIndex
,
setTabIndex
}
=
useContext
(
AppContext
);
return
(
<
div
className=
"fixed bottom-0 left-0 right-0 h-14 pt-2 text-center
text-orange-500
border-t phone-width "
>
<
div
className=
"fixed bottom-0 left-0 right-0 h-14 pt-2 text-center border-t phone-width "
>
<
div
className=
"flex"
>
<
div
className=
"w-1/4 grid place-items-center"
>
<
Link
...
...
@@ -17,9 +17,17 @@ const Footer = () => {
>
<
div
className=
"h-6 relative rounded-md "
>
<
img
src=
"/icon/map-two.svg"
/>
{
tabIndex
==
1
&&
<
div
className=
" absolute top-0 left-0 w-full h-full bg-orange-500 opacity-50 rounded-lg"
/>
}
{
tabIndex
==
1
&&
(
<
div
className=
" absolute top-0 left-0 w-full h-full bg-orange-500 opacity-50 rounded-lg"
/>
)
}
</
div
>
<
div
className=
{
`h-12 text-bottom text-xs ${
tabIndex == 1 ? " text-orange-500" : ""
}`
}
>
地块
</
div
>
<
div
className=
"h-12 text-bottom text-xs"
>
地块
</
div
>
</
Link
>
</
div
>
...
...
@@ -32,10 +40,17 @@ const Footer = () => {
>
<
div
className=
"h-6 relative rounded-md"
>
<
img
src=
"/icon/remind.svg"
/>
{
tabIndex
==
2
&&
<
div
className=
" absolute top-0 left-0 w-full h-full bg-orange-500 opacity-50 rounded-lg"
/>
}
{
tabIndex
==
2
&&
(
<
div
className=
" absolute top-0 left-0 w-full h-full bg-orange-500 opacity-50 rounded-lg"
/>
)
}
</
div
>
<
div
className=
{
`h-12 text-bottom text-xs ${
tabIndex == 2 ? " text-orange-500" : ""
}`
}
>
通知
</
div
>
<
div
className=
"h-12 text-bottom text-xs"
>
通知
</
div
>
</
Link
>
</
div
>
<
div
className=
"w-1/4 grid place-items-center"
>
...
...
@@ -47,10 +62,17 @@ const Footer = () => {
>
<
div
className=
"h-6 relative rounded-md"
>
<
img
src=
"/icon/gavel.svg"
/>
{
tabIndex
==
3
&&
<
div
className=
" absolute top-0 left-0 w-full h-full bg-orange-500 opacity-50 rounded-lg"
/>
}
{
tabIndex
==
3
&&
(
<
div
className=
" absolute top-0 left-0 w-full h-full bg-orange-500 opacity-50 rounded-lg"
/>
)
}
</
div
>
<
div
className=
{
`h-12 text-bottom text-xs ${
tabIndex == 3 ? " text-orange-500" : ""
}`
}
>
出让
</
div
>
<
div
className=
"h-12 text-bottom text-xs"
>
出让
</
div
>
</
Link
>
</
div
>
<
div
className=
"w-1/4 grid place-items-center"
>
...
...
@@ -62,10 +84,17 @@ const Footer = () => {
>
<
div
className=
"h-6 relative rounded-md"
>
<
img
src=
"/icon/user.svg"
/>
{
tabIndex
==
4
&&
<
div
className=
" absolute top-0 left-0 w-full h-full bg-orange-500 opacity-50 rounded-lg"
/>
}
{
tabIndex
==
4
&&
(
<
div
className=
" absolute top-0 left-0 w-full h-full bg-orange-500 opacity-50 rounded-lg"
/>
)
}
</
div
>
<
div
className=
{
`h-12 text-bottom text-xs ${
tabIndex == 4 ? " text-orange-500" : ""
}`
}
>
我的
</
div
>
<
div
className=
"h-12 text-bottom text-xs"
>
我的
</
div
>
</
Link
>
</
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