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
sunyihao
bkunyun
Commits
46812651
Commit
46812651
authored
Jun 21, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 完成提交任务头部样式
parent
dc6491fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
1 deletion
+70
-1
index.module.css
src/views/Project/ProjectSubmitWork/index.module.css
+28
-0
index.tsx
src/views/Project/ProjectSubmitWork/index.tsx
+42
-1
mock.ts
src/views/Project/ProjectSubmitWork/mock.ts
+0
-0
No files found.
src/views/Project/ProjectSubmitWork/index.module.css
View file @
46812651
...
@@ -14,7 +14,35 @@
...
@@ -14,7 +14,35 @@
height
:
56px
;
height
:
56px
;
background-color
:
#fff
;
background-color
:
#fff
;
box-shadow
:
0px
3px
10px
0px
rgba
(
0
,
24
,
57
,
0.04
);
box-shadow
:
0px
3px
10px
0px
rgba
(
0
,
24
,
57
,
0.04
);
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0
24px
;
}
.swHeaderLeft
{
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
center
;
}
.swTemplateTitle
{
margin
:
0
19px
0
8px
;
line-height
:
22px
;
font-size
:
14px
;
color
:
rgba
(
30
,
38
,
51
,
1
);
font-weight
:
600
;
padding-right
:
20px
;
border-right
:
1px
solid
rgba
(
235
,
237
,
240
,
1
);
}
.swHeaderLable
{
color
:
rgba
(
138
,
144
,
153
,
1
);
font-size
:
12px
;
}
.swHeaderValue
{
color
:
rgba
(
30
,
38
,
51
,
1
);
font-size
:
12px
;
margin-right
:
24px
;
}
}
.swContent
{
.swContent
{
display
:
flex
;
display
:
flex
;
}
}
...
...
src/views/Project/ProjectSubmitWork/index.tsx
View file @
46812651
...
@@ -3,13 +3,54 @@ import styles from "./index.module.css";
...
@@ -3,13 +3,54 @@ import styles from "./index.module.css";
import
{
templateConfigJson
}
from
"./mock"
;
import
{
templateConfigJson
}
from
"./mock"
;
import
ConfigForm
from
"./ConfigForm"
;
import
ConfigForm
from
"./ConfigForm"
;
import
WorkFlow
from
"./WorkFlow"
;
import
WorkFlow
from
"./WorkFlow"
;
import
ButtonComponent
from
"@/components/mui/Button"
;
import
ArrowBackIosNewIcon
from
"@mui/icons-material/ArrowBackIosNew"
;
import
IconButton
from
"@mui/material/IconButton"
;
const
ProjectSubmitWork
=
()
=>
{
const
ProjectSubmitWork
=
()
=>
{
const
[
templateConfigInfo
,
setTemplateConfigInfo
]
=
const
[
templateConfigInfo
,
setTemplateConfigInfo
]
=
useState
(
templateConfigJson
);
useState
(
templateConfigJson
);
return
(
return
(
<
div
className=
{
styles
.
swBox
}
>
<
div
className=
{
styles
.
swBox
}
>
<
div
className=
{
styles
.
swHeader
}
>
头部
</
div
>
<
div
className=
{
styles
.
swHeader
}
>
<
div
className=
{
styles
.
swHeaderLeft
}
>
<
IconButton
color=
"primary"
aria
-
label=
"upload picture"
component=
"span"
size=
"small"
>
<
ArrowBackIosNewIcon
sx=
{
{
color
:
"rgba(194, 198, 204, 1)"
,
width
:
"12px"
,
height
:
"12px"
,
}
}
/>
</
IconButton
>
<
div
className=
{
styles
.
swTemplateTitle
}
>
{
templateConfigInfo
.
title
}
</
div
>
<
div
className=
{
styles
.
swTemplateVersionBox
}
>
<
span
className=
{
styles
.
swHeaderLable
}
>
版本:
</
span
>
<
span
className=
{
styles
.
swHeaderValue
}
>
{
templateConfigInfo
.
version
}
</
span
>
</
div
>
<
div
className=
{
styles
.
swTemplateUpdateTimeBox
}
>
<
span
className=
{
styles
.
swHeaderLable
}
>
更新时间:
</
span
>
<
span
className=
{
styles
.
swHeaderValue
}
>
{
templateConfigInfo
.
updateTime
}
</
span
>
</
div
>
<
div
className=
{
styles
.
swHeaderGoback
}
></
div
>
</
div
>
<
div
className=
{
styles
.
swHeaderRight
}
>
<
ButtonComponent
text=
"提交任务"
></
ButtonComponent
>
</
div
>
</
div
>
<
div
className=
{
styles
.
swContent
}
>
<
div
className=
{
styles
.
swContent
}
>
<
div
className=
{
styles
.
swFormBox
}
>
<
div
className=
{
styles
.
swFormBox
}
>
<
ConfigForm
/>
<
ConfigForm
/>
...
...
src/views/Project/ProjectSubmitWork/mock.ts
View file @
46812651
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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