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
d7cbfccd
Commit
d7cbfccd
authored
Aug 03, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 项目概览样式修改
parent
c79b042e
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
42 additions
and
25 deletions
+42
-25
index.tsx
src/components/BusinessComponents/SearchInput/index.tsx
+11
-0
MySnackbarProvider.tsx
src/components/MySnackbar/MySnackbarProvider.tsx
+4
-13
MyInput.tsx
src/components/mui/MyInput.tsx
+5
-2
index.module.css
src/views/ConsoleLayout/index.module.css
+1
-1
index.module.css
src/views/Project/ProjectOverview/TaskCard/index.module.css
+4
-2
index.module.css
src/views/Project/ProjectOverview/index.module.css
+8
-5
AddMember.tsx
...ct/ProjectSetting/ProjectMembers/components/AddMember.tsx
+2
-2
index.module.css
src/views/Project/components/Flow/index.module.css
+4
-0
index.tsx
src/views/Project/components/Flow/index.tsx
+3
-0
No files found.
src/components/BusinessComponents/SearchInput/index.tsx
View file @
d7cbfccd
/*
* @Author: 吴永生 15770852798@163.com
* @Date: 2022-08-02 11:43:28
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-08-03 14:07:23
* @FilePath: /bkunyun/src/components/BusinessComponents/SearchInput/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import
OutlinedInput
,
{
OutlinedInputProps
}
from
"@mui/material/OutlinedInput"
;
import
{
ThemeProvider
,
createTheme
}
from
"@mui/material/styles"
;
import
SearchIcon
from
"@mui/icons-material/Search"
;
...
...
@@ -30,6 +38,9 @@ const SearchInput = (props: SearchInputProps) => {
height
:
"32px"
,
fontSize
:
"14px"
,
paddingRight
:
"8px"
,
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
'#DDE1E6'
,
},
":hover"
:
{
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
"#1370ff"
,
...
...
src/components/MySnackbar/MySnackbarProvider.tsx
View file @
d7cbfccd
...
...
@@ -93,22 +93,13 @@ const MySnackbarProvider = ({
const
theme
=
createTheme
({
components
:
{
MuiSvgIcon
:
{
styleOverrides
:
{
root
:
{
color
:
getColorStyle
}
}
},
MuiAlert
:
{
styleOverrides
:
{
icon
:
{
root
:
{
color
:
getColorStyle
}
},
root
:
{
color
:
getColorStyle
color
:
getColorStyle
,
"& .MuiAlert-icon"
:
{
color
:
getColorStyle
},
}
},
},
...
...
src/components/mui/MyInput.tsx
View file @
d7cbfccd
/*
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-07-05 14:00:37
* @LastEditors: 吴永生
#A02208 yongsheng.wu@wholion
.com
* @LastEditTime: 2022-0
7-21 17:33:59
* @LastEditors: 吴永生
15770852798@163
.com
* @LastEditTime: 2022-0
8-03 14:05:58
* @FilePath: /bkunyun/src/components/mui/MyInput.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -67,6 +67,9 @@ const MyInput = (props: MyInputProps) => {
"&.Mui-focused .MuiOutlinedInput-notchedOutline"
:
{
borderWidth
:
"1px"
,
},
"& .MuiOutlinedInput-notchedOutline"
:
{
borderColor
:
'#DDE1E6'
,
},
":hover"
:
{
"& .MuiOutlinedInput-notchedOutline"
:
error
?
{}
...
...
src/views/ConsoleLayout/index.module.css
View file @
d7cbfccd
...
...
@@ -23,7 +23,7 @@
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
margin-right
:
1
0
px
;
margin-right
:
1
6
px
;
}
.uploadIconBox
:hover
{
...
...
src/views/Project/ProjectOverview/TaskCard/index.module.css
View file @
d7cbfccd
...
...
@@ -37,6 +37,7 @@
.taskName
{
font-size
:
14px
;
line-height
:
22px
;
font-weight
:
500
;
cursor
:
pointer
;
}
...
...
@@ -59,12 +60,13 @@
.taskCreator
{
font-size
:
12px
;
line-height
:
20px
;
color
:
#1E2633
;
margin-top
:
5
px
;
margin-top
:
4
px
;
}
.taskProgress
{
height
:
40
px
;
height
:
32
px
;
margin
:
12px
0
;
}
...
...
src/views/Project/ProjectOverview/index.module.css
View file @
d7cbfccd
.basicInformation
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
2
8
px
24px
0
24px
;
margin
:
2
4
px
24px
0
24px
;
padding-bottom
:
20px
;
border-bottom
:
1px
solid
#F0F2F5
;
}
...
...
@@ -14,12 +14,13 @@
.titleBox
{
display
:
flex
;
align-items
:
center
;
align-items
:
flex-end
;
}
.projectName
{
margin-left
:
12px
;
font-size
:
18px
;
line-height
:
26px
;
font-weight
:
600
;
}
...
...
@@ -39,6 +40,8 @@
}
.otherInformationBoxRight
{
line-height
:
22px
;
margin-bottom
:
4px
;
color
:
#565C66
;
}
...
...
@@ -52,14 +55,14 @@
.verticalLine
{
height
:
32px
;
border-right
:
1px
solid
#EBEDF0
;
margin-left
:
2
0
px
;
margin-right
:
2
0
px
;
margin-left
:
2
8
px
;
margin-right
:
2
8
px
;
}
.searchBox
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
2
8
px
24px
0
24px
;
margin
:
2
4
px
24px
0
24px
;
}
.searchLineLeft
{
...
...
src/views/Project/ProjectSetting/ProjectMembers/components/AddMember.tsx
View file @
d7cbfccd
...
...
@@ -2,7 +2,7 @@
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-05-31 10:18:13
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-0
7-28 18:10:42
* @LastEditTime: 2022-0
8-03 14:29:19
* @FilePath: /bkunyun/src/views/Project/ProjectSetting/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -146,7 +146,7 @@ const AddMember = observer((props: IProps) => {
}
});
}
else
{
Message
.
warning
(
"请先选择项目成员!"
);
Message
.
info
(
"请先选择项目成员!"
);
}
}
;
...
...
src/views/Project/components/Flow/index.module.css
0 → 100644
View file @
d7cbfccd
.reactFlowBox
>
div
:last-child
{
display
:
none
;
}
\ No newline at end of file
src/views/Project/components/Flow/index.tsx
View file @
d7cbfccd
...
...
@@ -18,6 +18,8 @@ import FlowNode from "./components/FlowNode";
import
{
getCustomTemplateParameterCheckResult
}
from
"@/views/WorkFlowEdit/util"
;
import
{
useMessage
}
from
"@/components/MySnackbar"
;
import
styles
from
'./index.module.css'
/*
* @Author: 吴永生#A02208 yongsheng.wu@wholion.com
* @Date: 2022-06-22 10:15:22
...
...
@@ -528,6 +530,7 @@ const Flow = (props: IProps) => {
return
(
<
ReactFlow
className=
{
styles
.
reactFlowBox
}
nodes=
{
nodes
}
edges=
{
edges
}
fitView=
{
flowType
===
"default"
?
true
:
false
}
...
...
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