|
@ -456,7 +456,7 @@ const OlMap = (props) => { |
|
|
<div style={{ display: "flex", }}> |
|
|
<div style={{ display: "flex", }}> |
|
|
<div style={{ width: "50%", height: "100%", }}> |
|
|
<div style={{ width: "50%", height: "100%", }}> |
|
|
{ |
|
|
{ |
|
|
pointItem.id && ((isRoadProject && pointItem.scene_pic && pointItem.scene_pic.length) || (!isRoadProject && pointItem.conserve_after_pic && pointItem.conserve_after_pic.length)) ? |
|
|
pointItem.id ? |
|
|
<Hua key={pointItem.id} shuzu={ |
|
|
<Hua key={pointItem.id} shuzu={ |
|
|
isRoadProject ? |
|
|
isRoadProject ? |
|
|
[{ |
|
|
[{ |
|
@ -464,13 +464,13 @@ const OlMap = (props) => { |
|
|
pointItem.scene_pic[0] : "" |
|
|
pointItem.scene_pic[0] : "" |
|
|
}] : |
|
|
}] : |
|
|
[{ |
|
|
[{ |
|
|
"imgs": pointItem.conserve_after_pic ? |
|
|
"imgs": pointItem.conserve_after_pic && pointItem.conserve_after_pic.length ? |
|
|
pointItem.conserve_after_pic[0] : "" |
|
|
pointItem.conserve_after_pic[0] : "" |
|
|
}, { |
|
|
}, { |
|
|
"imgs": pointItem.conserve_before_pic ? |
|
|
"imgs": pointItem.conserve_before_pic && pointItem.conserve_before_pic.length ? |
|
|
pointItem.conserve_before_pic[0] : "" |
|
|
pointItem.conserve_before_pic[0] : "" |
|
|
}, { |
|
|
}, { |
|
|
"imgs": pointItem.conserve_underway_pic ? |
|
|
"imgs": pointItem.conserve_underway_pic && pointItem.conserve_underway_pic.length ? |
|
|
pointItem.conserve_underway_pic[0] : "" |
|
|
pointItem.conserve_underway_pic[0] : "" |
|
|
}]} |
|
|
}]} |
|
|
/> |
|
|
/> |
|
|