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
b5a54d8c
Commit
b5a54d8c
authored
Jul 29, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-20220718' of
http://120.77.149.83/root/bkunyun
into feat-20220718
parents
7ea1f4d0
71644079
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
50 additions
and
11 deletions
+50
-11
index.tsx
src/components/BusinessComponents/SearchInput/index.tsx
+1
-1
index.module.css
src/views/Project/ProjectSetting/BaseInfo/index.module.css
+1
-0
index.tsx
src/views/Project/ProjectSetting/BaseInfo/index.tsx
+8
-0
index.tsx
src/views/Project/ProjectSetting/ProjectMembers/index.tsx
+1
-1
index.module.css
...oject/ProjectWorkbench/workbenchTemplate/index.module.css
+33
-3
index.tsx
...iews/Project/ProjectWorkbench/workbenchTemplate/index.tsx
+6
-6
No files found.
src/components/BusinessComponents/SearchInput/index.tsx
View file @
b5a54d8c
...
@@ -17,7 +17,7 @@ interface SearchInputProps extends OutlinedInputProps {
...
@@ -17,7 +17,7 @@ interface SearchInputProps extends OutlinedInputProps {
const
SearchInput
=
(
props
:
SearchInputProps
)
=>
{
const
SearchInput
=
(
props
:
SearchInputProps
)
=>
{
const
{
const
{
size
=
"small"
,
size
=
"small"
,
placeholder
=
"输入关键词搜索"
,
placeholder
=
"输入关键词
按回车
搜索"
,
fullWidth
=
true
,
fullWidth
=
true
,
...
other
...
other
}
=
props
;
}
=
props
;
...
...
src/views/Project/ProjectSetting/BaseInfo/index.module.css
View file @
b5a54d8c
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
height
:
82px
;
height
:
82px
;
padding
:
7px
12px
;
padding
:
7px
12px
;
resize
:
none
;
resize
:
none
;
font-size
:
14px
;
}
}
.projectInfoSelect
{
.projectInfoSelect
{
width
:
560px
;
width
:
560px
;
...
...
src/views/Project/ProjectSetting/BaseInfo/index.tsx
View file @
b5a54d8c
...
@@ -395,6 +395,14 @@ const BaseInfo = observer(() => {
...
@@ -395,6 +395,14 @@ const BaseInfo = observer(() => {
<
InputAdornment
position=
"start"
>
¥
</
InputAdornment
>
<
InputAdornment
position=
"start"
>
¥
</
InputAdornment
>
),
),
}
}
}
}
sx=
{
{
"& .MuiOutlinedInput-input"
:
{
padding
:
"6.5px 2px"
,
},
"& .MuiTypography-root"
:
{
fontSize
:
'14px'
}
}
}
/>
/>
</
div
>
</
div
>
<
div
className=
{
style
.
projectInfoListLi
}
>
<
div
className=
{
style
.
projectInfoListLi
}
>
...
...
src/views/Project/ProjectSetting/ProjectMembers/index.tsx
View file @
b5a54d8c
...
@@ -154,7 +154,7 @@ const ProjectMembers = observer(() => {
...
@@ -154,7 +154,7 @@ const ProjectMembers = observer(() => {
<
Box
className=
{
styles
.
headerBox
}
>
<
Box
className=
{
styles
.
headerBox
}
>
<
SearchInput
<
SearchInput
onKeyUp=
{
handleKeyWordChangeKeyUp
}
onKeyUp=
{
handleKeyWordChangeKeyUp
}
placeholder=
"
搜索项目成员
"
placeholder=
"
输入项目成员按回车搜索
"
sx=
{
{
width
:
340
}
}
sx=
{
{
width
:
340
}
}
/>
/>
{
currentProjectStore
?.
currentProjectInfo
?.
projectRole
===
"OWNER"
?
(
{
currentProjectStore
?.
currentProjectInfo
?.
projectRole
===
"OWNER"
?
(
...
...
src/views/Project/ProjectWorkbench/workbenchTemplate/index.module.css
View file @
b5a54d8c
...
@@ -17,8 +17,7 @@
...
@@ -17,8 +17,7 @@
}
}
.templateBlock
{
.templateBlock
{
width
:
21.4876%
;
height
:
194px
;
height
:
160px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#ebedf0
;
border
:
1px
solid
#ebedf0
;
...
@@ -26,8 +25,39 @@
...
@@ -26,8 +25,39 @@
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin
:
8
px
;
margin
-bottom
:
16
px
;
position
:
relative
;
position
:
relative
;
box-sizing
:
border-box
;
}
@media
screen
and
(
max-width
:
1220px
)
{
.templateBlock
{
width
:
49%
;
margin-right
:
2%
;
}
.templateBlock
:nth-child
(
2n
)
{
margin-right
:
0
;
}
}
@media
screen
and
(
min-width
:
1220px
)
and
(
max-width
:
1600px
)
{
.templateBlock
{
width
:
32.423%
;
margin-right
:
1.365%
;
}
.templateBlock
:nth-child
(
3n
)
{
margin-right
:
0
;
}
}
@media
screen
and
(
min-width
:
1600px
)
{
.templateBlock
{
width
:
24%
;
margin-right
:
1.333%
;
}
.templateBlock
:nth-child
(
4n
)
{
margin-right
:
0
;
}
}
}
.addTemplateMask
{
.addTemplateMask
{
...
...
src/views/Project/ProjectWorkbench/workbenchTemplate/index.tsx
View file @
b5a54d8c
...
@@ -101,12 +101,12 @@ const ProjectMembers = observer(() => {
...
@@ -101,12 +101,12 @@ const ProjectMembers = observer(() => {
},
300
);
},
300
);
},
[
templateName
,
getTemplateInfo
,
projectIdData
]);
},
[
templateName
,
getTemplateInfo
,
projectIdData
]);
// 回车搜索
// 回车搜索
const
handleKeyWordChangeKeyUp
=
(
e
:
any
)
=>
{
const
handleKeyWordChangeKeyUp
=
(
e
:
any
)
=>
{
if
(
e
.
keyCode
===
13
)
{
if
(
e
.
keyCode
===
13
)
{
setTemplateName
(
e
.
target
.
value
);
setTemplateName
(
e
.
target
.
value
);
}
}
}
}
return
(
return
(
<
Box
className=
{
styles
.
headerBox
}
>
<
Box
className=
{
styles
.
headerBox
}
>
...
@@ -145,7 +145,7 @@ const ProjectMembers = observer(() => {
...
@@ -145,7 +145,7 @@ const ProjectMembers = observer(() => {
</
Box
>
</
Box
>
)
}
)
}
{
templateList
.
length
>
0
&&
(
{
templateList
.
length
>
0
&&
(
<
Box
sx=
{
{
display
:
"flex"
,
flexWrap
:
"wrap"
,
marginLeft
:
"-8px"
}
}
>
<
Box
sx=
{
{
display
:
"flex"
,
flexWrap
:
"wrap"
}
}
>
{
templateList
&&
{
templateList
&&
templateList
.
length
>
0
&&
templateList
.
length
>
0
&&
templateList
.
map
((
item
,
key
)
=>
{
templateList
.
map
((
item
,
key
)
=>
{
...
...
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