|
|
@ -49,14 +49,13 @@ const Right = ({ busRunTime }) => { |
|
|
|
return true |
|
|
|
} |
|
|
|
}) |
|
|
|
console.log(nextBusRunList); |
|
|
|
setBusRunTimeList(nextBusRunList) |
|
|
|
}, [queryStr, busRunTime]) |
|
|
|
|
|
|
|
const style = { height: "97%", marginTop: "3%" } |
|
|
|
const carouselContent = busRunTimeList.map((d, index) => { |
|
|
|
return ( |
|
|
|
<div key={index} style={{ width: '100%', height: '40%' }} className='carCard'> |
|
|
|
<div key={index} style={{ width: '100%', }} className='carCard'> |
|
|
|
<div className='busInformation'> |
|
|
|
<img src='/assets/images/quanju/theBus.png' style={{ width: '15%', display: 'block', float: 'left' }} /> |
|
|
|
<span> |
|
|
|