Browse Source

fix 驾驶舱主要路段拥堵情况点位展示错位

dev
巴林闲侠 2 years ago
parent
commit
0179c415ae
  1. 10
      web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js

10
web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js

@ -53,7 +53,15 @@ const Leftcenter = ({ videoCenterList }) => {
setName(item.deviceName) setName(item.deviceName)
// console.log(list); // console.log(list);
}}> }}>
<p style={{ position: "absolute", color: num - 1 == index ? "#fff" : "rgba(216,240,255,0.8)", left: "10%" }}>{item.deviceName}</p> <p style={{
position: "absolute", color: num - 1 == index ? "#fff" : "rgba(216,240,255,0.8)", left: "10%", width: 120, overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap'
}}
title={item.deviceName}
>
{item.deviceName}
</p>
<img src='/assets/images/leadership/juxing.png' style={{ width: "100%", height: "100%", position: "absolute" }} /> <img src='/assets/images/leadership/juxing.png' style={{ width: "100%", height: "100%", position: "absolute" }} />
</li> </li>
// {/* </div> */} // {/* </div> */}

Loading…
Cancel
Save