Browse Source

没有图片信息的时候弹框隐藏图片框

dev
巴林闲侠 1 year ago
parent
commit
b541be2bbf
  1. 29
      web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js

29
web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js

@ -88,25 +88,16 @@ const RightTop = (props) => {
<div style={{ position: "fixed", width: "400px", height: "200px", zIndex: 100, right: "24%", marginTop: "0", top: "25%" }}>
<img src='/assets/images/leadership/beijinglan.png' style={{ width: "100%", height: "100%" }} />
<div style={{ width: "50%", height: "100%", position: "absolute", top: "0", }}>
{
(item.conserveAfterPic && item.conserveAfterPic.length)
||
(item.conserveBeforePic && item.conserveBeforePic.length)
||
(item.conserveUnderwayPic && item.conserveUnderwayPic.length)
?
<Hua shuzu={[{
"imgs": item.conserveAfterPic ?
item.conserveAfterPic[0] : ""
}, {
"imgs": item.conserveBeforePic ?
item.conserveBeforePic[0] : ""
}, {
"imgs": item.conserveUnderwayPic ?
item.conserveUnderwayPic[0] : ""
}]} />
: ''
}
<Hua shuzu={[{
"imgs": item.conserveAfterPic && item.conserveAfterPic.length ?
item.conserveAfterPic[0] : ""
}, {
"imgs": item.conserveBeforePic && item.conserveBeforePic.length ?
item.conserveBeforePic[0] : ""
}, {
"imgs": item.conserveUnderwayPic && item.conserveUnderwayPic.length ?
item.conserveUnderwayPic[0] : ""
}]} />
</div>
<div style={{ position: "absolute", top: "0", width: "50%", left: "50%", paddingRight: "10px" }}>
<p style={{ marginTop: "20px", color: "#FFFFFF", fontSize: "16px", fontFamily: "YouSheBiaoTiHei" }}>

Loading…
Cancel
Save