Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bkunyun
Commits
cca46cd3
Commit
cca46cd3
authored
Sep 05, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 项目数据样式优化
parent
c117b704
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
5 deletions
+30
-5
index.module.css
src/views/Project/ProjectData/index.module.css
+6
-2
index.tsx
src/views/Project/ProjectData/index.tsx
+24
-3
No files found.
src/views/Project/ProjectData/index.module.css
View file @
cca46cd3
...
@@ -32,6 +32,9 @@
...
@@ -32,6 +32,9 @@
color
:
#1e2633
;
color
:
#1e2633
;
line-height
:
22px
;
line-height
:
22px
;
font-weight
:
600
;
font-weight
:
600
;
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
center
;
}
}
.projectDataTabsAndBtton
{
.projectDataTabsAndBtton
{
...
@@ -77,8 +80,9 @@
...
@@ -77,8 +80,9 @@
line-height
:
22px
;
line-height
:
22px
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#1e2633
;
color
:
#1e2633
;
/* display: flex;
display
:
flex
;
align-items: center; */
justify-content
:
flex-start
;
align-items
:
center
;
}
}
.showPathI
{
.showPathI
{
...
...
src/views/Project/ProjectData/index.tsx
View file @
cca46cd3
...
@@ -27,6 +27,7 @@ import SeeDataset from "./SeeDataset";
...
@@ -27,6 +27,7 @@ import SeeDataset from "./SeeDataset";
import
{
getDataFind
,
getDataFileSearch
}
from
"@/api/project_api"
;
import
{
getDataFind
,
getDataFileSearch
}
from
"@/api/project_api"
;
import
MyButton
from
"@/components/mui/MyButton"
;
import
MyButton
from
"@/components/mui/MyButton"
;
import
SearchInput
from
"@/components/BusinessComponents/SearchInput"
;
import
SearchInput
from
"@/components/BusinessComponents/SearchInput"
;
import
ChevronRightIcon
from
"@mui/icons-material/ChevronRight"
;
const
ProjectData
=
observer
(()
=>
{
const
ProjectData
=
observer
(()
=>
{
const
isPass
=
usePass
();
const
isPass
=
usePass
();
...
@@ -462,7 +463,13 @@ const ProjectData = observer(() => {
...
@@ -462,7 +463,13 @@ const ProjectData = observer(() => {
>
>
{
index
===
0
?
"ProjectData"
:
item
}{
" "
}
{
index
===
0
?
"ProjectData"
:
item
}{
" "
}
{
index
===
pathArr
.
length
-
1
?
null
:
(
{
index
===
pathArr
.
length
-
1
?
null
:
(
<
i
className=
{
style
.
showPathI
}
>
{
">"
}
</
i
>
<
ChevronRightIcon
sx=
{
{
fontSize
:
"16px"
,
color
:
"rgba(194, 198, 204, 1)"
,
margin
:
"0px 4px"
,
}
}
/>
)
}
)
}
</
span
>
</
span
>
);
);
...
@@ -494,10 +501,24 @@ const ProjectData = observer(() => {
...
@@ -494,10 +501,24 @@ const ProjectData = observer(() => {
:
""
}
:
""
}
{
index
===
pathArr
.
length
-
1
||
{
index
===
pathArr
.
length
-
1
||
(
index
<=
pathArr
.
length
-
4
&&
index
>
0
)
?
null
:
(
(
index
<=
pathArr
.
length
-
4
&&
index
>
0
)
?
null
:
(
<
i
className=
{
style
.
showPathI
}
>
{
">"
}
</
i
>
<
ChevronRightIcon
sx=
{
{
fontSize
:
"16px"
,
color
:
"rgba(194, 198, 204, 1)"
,
margin
:
"0px 4px"
,
}
}
/>
)
}
)
}
{
index
===
1
&&
"..."
}
{
index
===
1
&&
"..."
}
{
index
===
1
&&
<
i
className=
{
style
.
showPathI
}
>
{
">"
}
</
i
>
}
{
index
===
1
&&
(
<
ChevronRightIcon
sx=
{
{
fontSize
:
"16px"
,
color
:
"rgba(194, 198, 204, 1)"
,
margin
:
"0px 4px"
,
}
}
/>
)
}
</
span
>
</
span
>
);
);
});
});
...
...
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