Browse Source

(*)应急预案功能调整

master
peng.peng 2 years ago
parent
commit
2f322d8a95
  1. BIN
      super-screen/client/assets/images/homepage/water/sorrow.png
  2. 16
      super-screen/client/src/sections/water-prevention/components/emergency-left-top.js
  3. 13
      super-screen/client/src/sections/water-prevention/components/style.less

BIN
super-screen/client/assets/images/homepage/water/sorrow.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

16
super-screen/client/src/sections/water-prevention/components/emergency-left-top.js

@ -3,28 +3,30 @@ import { Box } from '$components';
function BasicInfo() {
const path = '/assets/files/'
const data = [
{ title: '一级应急响应', url: '' },
{ title: '二级应急响应', url: '' },
{ title: '三级应急响应', url: '' },
{ title: '四级应急响应', url: '' },
{ title: '一级应急响应' },
{ title: '二级应急响应' },
{ title: '三级应急响应' },
{ title: '四级应急响应' },
]
return <Box title={"防汛预案"} subtitle={true} >
return <Box title={"防汛预案"} >
<div className='prevent_doc'>
<div className='doc_img'></div>
{data.map(s => {
return <div className='doc_container'>
<div className='flex-row flex-item-center'>
<div className='sorrow' />
<div className='doc_title'>{s.title}</div>
<div className='preview_doc'>查看</div>
<div className='preview_doc' onClick={() => { window.open(path + s.title + '.pdf') }}>查看</div>
</div>
<div className='doc_bg' />
</div>
})}
</div>
</Box>
</Box >
}
export default BasicInfo;

13
super-screen/client/src/sections/water-prevention/components/style.less

@ -796,6 +796,17 @@
width: 50%;
height: 43px;
.sorrow {
width: 24px;
height: 24px;
background: url(/assets/images/homepage/water/sorrow.png);
background-repeat: no-repeat;
background-size: 100% 100%;
margin-right: 6px;
margin-left: 5px;
}
.doc_title {
font-family: SourceHanSansSC-Regular;
font-weight: 400;
@ -812,7 +823,7 @@
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
}

Loading…
Cancel
Save