mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-19 03:58:12 +00:00
commit
9338eee6fc
@ -558,22 +558,17 @@ const Container = (props: {
|
|||||||
{!rightColla ? <DoubleRightOutlined /> : <DoubleLeftOutlined />}
|
{!rightColla ? <DoubleRightOutlined /> : <DoubleLeftOutlined />}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={
|
style={{
|
||||||
!rightColla
|
width: rightColla ? 0 : '279px',
|
||||||
? {
|
position: 'absolute',
|
||||||
position: 'absolute',
|
transform: 'translate(0,-10%)',
|
||||||
transform: 'translate(0,-10%)',
|
transition: 'all ease-in-out 0.5s',
|
||||||
transition: 'all ease-in-out 2s',
|
textAlign: 'center',
|
||||||
textAlign: 'center',
|
bottom: -5,
|
||||||
bottom: -5,
|
right: rightColla ? 0 : 16,
|
||||||
right: 16,
|
background: 'hsla(0,0%,88.2%,.7)',
|
||||||
background: 'hsla(0,0%,88.2%,.7)',
|
padding: rightColla ? 0 : '10px',
|
||||||
padding: '10px',
|
}}
|
||||||
width: '279px',
|
|
||||||
display: 'block',
|
|
||||||
}
|
|
||||||
: { display: 'none' }
|
|
||||||
}
|
|
||||||
>
|
>
|
||||||
<Button block type="primary" onClick={() => handleDel(curPoint.id)}>
|
<Button block type="primary" onClick={() => handleDel(curPoint.id)}>
|
||||||
删除
|
删除
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user