Commit dcd38827 authored by 皮倩雯's avatar 皮倩雯

fix: '消息平台编辑界面样式重构'

parent cf0ce85a
Pipeline #43019 skipped with stages
......@@ -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;
}
......
.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
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment