Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
dcd38827
Commit
dcd38827
authored
Jan 19, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '消息平台编辑界面样式重构'
parent
cf0ce85a
Pipeline
#43019
skipped with stages
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
103 deletions
+89
-103
ProjectManage.jsx
...tformCenter/messageManage/projectManage/ProjectManage.jsx
+16
-25
schemeDetail.jsx
...latformCenter/messageManage/schemeDetail/schemeDetail.jsx
+0
-0
schemeDetail.less
...atformCenter/messageManage/schemeDetail/schemeDetail.less
+73
-78
No files found.
src/pages/platformCenter/messageManage/projectManage/ProjectManage.jsx
View file @
dcd38827
...
...
@@ -85,9 +85,7 @@ const ProjectManage = props => {
)
:
(
<
div
style=
{
{
display
:
'flex'
,
alignItems
:
'center'
}
}
>
<
Tooltip
title=
{
text
}
>
<
AlertTwoTone
style=
{
{
fontSize
:
'16px'
,
marginRight
:
'0.1rem'
}
}
/>
<
AlertTwoTone
style=
{
{
fontSize
:
'16px'
,
marginRight
:
'0.1rem'
}
}
/>
</
Tooltip
>
{
searchStyle
(
text
)
}
</
div
>
...
...
@@ -140,24 +138,20 @@ const ProjectManage = props => {
/>
</
Tooltip
>
{
record
.
name
!=
'通用报警'
&&
record
.
name
!=
'工单提醒'
&&
record
.
name
!=
'系统通知'
&&
(
<
div
onClick=
{
e
=>
e
.
stopPropagation
()
}
>
<
Popconfirm
title=
"是否删除方案?"
okText=
"确认"
cancelText=
"取消"
onConfirm=
{
()
=>
{
DeleteProject
(
record
);
}
}
>
<
DeleteOutlined
style=
{
{
fontSize
:
'16px'
,
color
:
'#e86060'
}
}
/>
</
Popconfirm
>
</
div
>
)
}
{
record
.
name
!=
'通用报警'
&&
record
.
name
!=
'工单提醒'
&&
record
.
name
!=
'系统通知'
&&
(
<
div
onClick=
{
e
=>
e
.
stopPropagation
()
}
>
<
Popconfirm
title=
"是否删除方案?"
okText=
"确认"
cancelText=
"取消"
onConfirm=
{
()
=>
{
DeleteProject
(
record
);
}
}
>
<
DeleteOutlined
style=
{
{
fontSize
:
'16px'
,
color
:
'#e86060'
}
}
/>
</
Popconfirm
>
</
div
>
)
}
</
Space
>
),
},
...
...
@@ -167,10 +161,7 @@ const ProjectManage = props => {
const
searchStyle
=
val
=>
{
let
n
;
if
(
showSearchStyle
)
{
n
=
val
.
replace
(
new
RegExp
(
value
,
'g'
),
`<span style='color:red'>
${
value
}
</span>`
,
);
n
=
val
.
replace
(
new
RegExp
(
value
,
'g'
),
`<span style='color:red'>
${
value
}
</span>`
);
}
else
{
n
=
val
;
}
...
...
src/pages/platformCenter/messageManage/schemeDetail/schemeDetail.jsx
View file @
dcd38827
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/messageManage/schemeDetail/schemeDetail.less
View file @
dcd38827
.editModal_container{
width: 100%;
overflow-y: hidden;
height: calc(100% - 20px);
.editModal_container {
width: 100%;
overflow-y: hidden;
height: calc(100% - 20px);
display: flex;
flex-direction: column;
button[ant-click-animating-without-extra-node]:after {
border: 0 none;
opacity: 0;
animation: none 0 ease 0 1 normal;
}
.content {
height: calc(100vh - 140px);
overflow-y: scroll;
}
.cardList {
display: flex;
flex-direction: column;
button[ant-click-animating-without-extra-node]:after {
border: 0 none;
opacity: 0;
animation:none 0 ease 0 1 normal;
}
.content{
height: calc(100vh - 140px);
overflow-y: scroll;
flex-wrap: wrap;
.cardListItem {
width: 50%;
margin-bottom: 1rem;
}
.cardList{
}
.ant-card-bordered {
border-right: none;
}
.push_trench {
width: 100%;
height: fit-content;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
.trench_card {
margin-top: 1rem;
margin-right: 0.5rem;
min-width: 400px;
border-width: 1px;
border-color: #eeeeee;
border-style: solid;
border-radius: 5px;
display: flex;
flex-direction: column;
align-items: center;
background-color: #ffffff;
.card_title {
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color: #f6f7f9;
height: 50px;
width: 100%;
display: flex;
flex-wrap: wrap;
.cardListItem{
width: 50%;
margin-bottom: 1rem;
flex-direction: row;
justify-content: space-between;
padding: 0 24px;
align-items: center;
.lable {
font-size: large;
margin-left: 10px;
}
}
.ant-card-bordered {
border-right: none;
}
.push_trench{
}
.card_body {
margin-top: 10px;
width: 100%;
height: fit-content;
padding: 10px;
height: 12rem;
display: flex;
flex-direction:row;
flex-wrap: wrap;
justify-content: flex-start;
.trench_card{
margin-top: 1rem;
margin-right: 0.5rem;
width: 32%;
border-width: 1px;
border-color: #EEEEEE;
border-style: solid;
border-radius: 5px;
display: flex;
flex-direction: column;
align-items: center;
background-color: #ffffff;
.card_title{
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color:#F6F7F9;
height:50px;
width: 100%;
display: flex;
flex-direction: row;
justify-content:space-between;
padding: 0 24px;
align-items: center;
.lable{
font-size: large;
margin-left: 10px;
}
}
.card_body{
margin-top: 10px;
width: 100%;
padding: 10px;
height: 12rem;
display: flex;
flex-direction: column;
}
.ant-switch{
margin-right: 0.5rem;
}
.ant-form-item{
margin-left: 1.3rem;
}
}
flex-direction: column;
}
.ant-switch {
margin-right: 0.5rem;
}
.ant-form-item {
margin-left: 1.3rem;
}
}
}
\ No newline at end of file
}
}
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