Browse Source

修改建设大屏故障

release_0.0.4
dengyinhuan 2 years ago
parent
commit
8b26cae36d
  1. 11
      web/client/src/sections/quanju/containers/footer/build/index.js

11
web/client/src/sections/quanju/containers/footer/build/index.js

@ -112,7 +112,14 @@ const Build = (props) => {
</div>)} </div>)}
</div>) </div>)
} }
const xuandata1 = undefined // const xuandata1 = [
// {
// "id": 26,
// "name": "111",
// "video":null,
// "enable": true
// }
// ]
console.log(localStorage.getItem("qndmn"),'七牛') console.log(localStorage.getItem("qndmn"),'七牛')
return ( return (
<div className='bgbuild'> <div className='bgbuild'>
@ -193,7 +200,7 @@ const Build = (props) => {
}} customize={true}> }} customize={true}>
<div className='build-right-top'> <div className='build-right-top'>
{/* <img src='/assets/images/quanju/xuanchuanlan.jpg'></img> */} {/* <img src='/assets/images/quanju/xuanchuanlan.jpg'></img> */}
<video src={xuandata?`${localStorage.getItem("qndmn")}/${xuandata[0].video!==null?xuandata[0].video[0]:""}`:"#"} autoPlay="autoplay" loop></video> <video src={xuandata?`${localStorage.getItem("qndmn")}/${xuandata[0].video!==null&&xuandata[0].video?xuandata[0].video[0]:""}`:"#"} autoPlay="autoplay" loop></video>
<h2>全面建设好农村公路切实发挥先行官作用</h2> <h2>全面建设好农村公路切实发挥先行官作用</h2>
</div> </div>
</Module> </Module>

Loading…
Cancel
Save