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
dc267a9b
Commit
dc267a9b
authored
Aug 12, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
d701429c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
43 deletions
+50
-43
Tabs.tsx
src/components/mui/Tabs.tsx
+1
-1
index.module.css
src/views/ConsoleLayout/index.module.css
+36
-37
index.module.css
src/views/MenuLayout/index.module.css
+1
-1
index.tsx
src/views/Project/ProjectSetting/index.tsx
+12
-4
No files found.
src/components/mui/Tabs.tsx
View file @
dc267a9b
...
@@ -115,7 +115,7 @@ const Tabs = (props: IProps) => {
...
@@ -115,7 +115,7 @@ const Tabs = (props: IProps) => {
return
(
return
(
<
ThemeProvider
theme=
{
theme
}
>
<
ThemeProvider
theme=
{
theme
}
>
<
TabContext
value=
{
value
}
>
<
TabContext
value=
{
value
}
>
<
Box
sx=
{
{
borderBottom
:
1
,
borderColor
:
"#
F0F2F5
"
}
}
>
<
Box
sx=
{
{
borderBottom
:
1
,
borderColor
:
"#
EDEFF2
"
}
}
>
<
TabList
<
TabList
onChange=
{
(
e
:
any
,
val
:
string
)
=>
{
onChange=
{
(
e
:
any
,
val
:
string
)
=>
{
onChange
(
val
);
onChange
(
val
);
...
...
src/views/ConsoleLayout/index.module.css
View file @
dc267a9b
.topApp
{
.topApp
{
height
:
56px
;
height
:
56px
;
background-color
:
white
;
background-color
:
white
;
border-bottom
:
#e6e8eb
1px
solid
;
border-bottom
:
#dde1e6
1px
solid
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.topLeftBox
{
.topLeftBox
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
.logo
{
.logo
{
padding
:
0px
16px
0px
20px
;
padding
:
0px
16px
0px
20px
;
margin-top
:
-10px
;
margin-top
:
-10px
;
}
}
.uploadIconBox
{
.uploadIconBox
{
width
:
32px
;
width
:
32px
;
height
:
32px
;
height
:
32px
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
margin-right
:
16px
;
margin-right
:
16px
;
}
}
.uploadIconBox
:hover
{
.uploadIconBox
:hover
{
background-color
:
#f0f2f5
;
background-color
:
#f0f2f5
;
border-radius
:
2px
;
border-radius
:
2px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.topRightBox
{
.topRightBox
{
display
:
flex
;
display
:
flex
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
align-items
:
center
;
align-items
:
center
;
}
}
.topRightItem
{
.topRightItem
{
margin-right
:
20px
;
margin-right
:
20px
;
}
}
.ArrowDropDownIconRoot
{
.ArrowDropDownIconRoot
{
color
:
#8a9099
;
color
:
#8a9099
;
transition
:
all
0.2s
!important
;
transition
:
all
0.2s
!important
;
transform
:
rotate
(
0
);
transform
:
rotate
(
0
);
}
}
.ArrowDropDownIconRootOpen
{
.ArrowDropDownIconRootOpen
{
color
:
#8a9099
;
color
:
#8a9099
;
transform
:
rotate
(
180deg
);
transform
:
rotate
(
180deg
);
}
}
.menuPaper
{
.menuPaper
{
border
:
1px
solid
#f0f2f5
;
border
:
1px
solid
#f0f2f5
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
4px
;
border-radius
:
4px
;
box-shadow
:
4px
4px
20px
0px
rgba
(
0
,
24
,
57
,
0.06
)
!important
;
box-shadow
:
4px
4px
20px
0px
rgba
(
0
,
24
,
57
,
0.06
)
!important
;
}
}
.menuItemRoot
{
.menuItemRoot
{
width
:
143px
;
width
:
143px
;
font-size
:
14px
!important
;
font-size
:
14px
!important
;
}
}
src/views/MenuLayout/index.module.css
View file @
dc267a9b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
justify-content
:
center
;
justify-content
:
center
;
}
}
.aside
{
.aside
{
border-right
:
1px
solid
#
e6e8eb
;
border-right
:
1px
solid
#
dde1e6
;
width
:
10%
;
width
:
10%
;
min-width
:
220px
;
min-width
:
220px
;
height
:
calc
(
100vh
-
57px
);
height
:
calc
(
100vh
-
57px
);
...
...
src/views/Project/ProjectSetting/index.tsx
View file @
dc267a9b
...
@@ -12,7 +12,6 @@ import { Box } from "@mui/system";
...
@@ -12,7 +12,6 @@ import { Box } from "@mui/system";
import
{
useStores
}
from
"@/store/index"
;
import
{
useStores
}
from
"@/store/index"
;
import
NoProject
from
"@/components/BusinessComponents/NoProject"
;
import
NoProject
from
"@/components/BusinessComponents/NoProject"
;
import
{
observer
}
from
"mobx-react-lite"
;
import
{
observer
}
from
"mobx-react-lite"
;
import
projectImg
from
"@/assets/project/projectIconSmall.svg"
;
import
ProjectMembers
from
"./ProjectMembers"
;
import
ProjectMembers
from
"./ProjectMembers"
;
import
BaseInfo
from
"./BaseInfo"
;
import
BaseInfo
from
"./BaseInfo"
;
import
Tabs
from
"@/components/mui/Tabs"
;
import
Tabs
from
"@/components/mui/Tabs"
;
...
@@ -35,13 +34,22 @@ const ProjectSetting = observer(() => {
...
@@ -35,13 +34,22 @@ const ProjectSetting = observer(() => {
component
:
<
BaseInfo
/>,
component
:
<
BaseInfo
/>,
},
},
];
];
},
[]);
},
[
isPass
]);
if
(
currentProjectStore
.
currentProjectInfo
.
name
)
{
if
(
currentProjectStore
.
currentProjectInfo
.
name
)
{
return
(
return
(
<
div
style=
{
{
padding
:
'28px 24px 24px'
}
}
>
<
div
style=
{
{
padding
:
"28px 24px 24px"
}
}
>
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
}
}
>
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
}
}
>
<
span
style=
{
{
fontSize
:
"18px"
,
lineHeight
:
"26px"
,
fontWeight
:
"600"
,
color
:
"#1E2633"
}
}
>
项目设置
</
span
>
<
span
style=
{
{
fontSize
:
"18px"
,
lineHeight
:
"26px"
,
fontWeight
:
"600"
,
color
:
"#1E2633"
,
}
}
>
项目设置
</
span
>
</
div
>
</
div
>
<
Box
sx=
{
{
width
:
"100%"
,
typography
:
"body1"
}
}
>
<
Box
sx=
{
{
width
:
"100%"
,
typography
:
"body1"
}
}
>
<
Tabs
tabList=
{
tabList
}
/>
<
Tabs
tabList=
{
tabList
}
/>
...
...
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