| 
						
						
							
								
							
						
						
					 | 
					@ -46,7 +46,7 @@ const Build = (props) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        // console.log(alltype,'打他啊')
 | 
					 | 
					 | 
					        // console.log(alltype,'打他啊')
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        setdata(alltype.filter(item => item.name === '县' || item.name === "乡" || item.name === '村')) | 
					 | 
					 | 
					        setdata(alltype.filter(item => item.name === '县' || item.name === "乡" || item.name === '村')) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        setbuildingnumber(res.payload.data) | 
					 | 
					 | 
					        setbuildingnumber(res.payload.data) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        // console.log(res.payload.data,'哈哈哈')
 | 
					 | 
					 | 
					        console.log(res.payload.data, '哈哈哈') | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -85,7 +85,7 @@ const Build = (props) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    let list = datas.sort((a, b) => { | 
					 | 
					 | 
					    let list = datas.sort((a, b) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return b.number - a.number | 
					 | 
					 | 
					        return b.number - a.number | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }) | 
					 | 
					 | 
					    }) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    list=list.filter(item=>item.name!=="其他") | 
					 | 
					 | 
					    list = list.filter(item => item.name !== "其他") | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    //   console.log(list,'红红火')
 | 
					 | 
					 | 
					    //   console.log(list,'红红火')
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    //道路等级数据
 | 
					 | 
					 | 
					    //道路等级数据
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -95,7 +95,11 @@ const Build = (props) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    onlineproject = onlineproject.sort((a, b) => { | 
					 | 
					 | 
					    onlineproject = onlineproject.sort((a, b) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return b.total - a.total | 
					 | 
					 | 
					        return b.total - a.total | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }) | 
					 | 
					 | 
					    }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    //console.log('onlineproject', onlineproject)
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    let sunonlineproject = onlineproject?.reduce((x, y) => x + y.total, 0) | 
					 | 
					 | 
					    let sunonlineproject = onlineproject?.reduce((x, y) => x + y.total, 0) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    let projectAll = buildingnumber?.projectAll | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    //console.log('projectAll', projectAll)
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    //let projectAll=
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    let safetyData = alldengji?.filter(item => item.name === '一级公路' || item.name === '二级公路' || item.name === '三级公路' || item.name === '四级公路' || item.name === '等外公路') | 
					 | 
					 | 
					    let safetyData = alldengji?.filter(item => item.name === '一级公路' || item.name === '二级公路' || item.name === '三级公路' || item.name === '四级公路' || item.name === '等外公路') | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    let sundata = data?.reduce((x, y) => x + y.value, 0) | 
					 | 
					 | 
					    let sundata = data?.reduce((x, y) => x + y.value, 0) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    let sunsafetyData = safetyData?.reduce((x, y) => x + y.value, 0) | 
					 | 
					 | 
					    let sunsafetyData = safetyData?.reduce((x, y) => x + y.value, 0) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -104,9 +108,9 @@ const Build = (props) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        requestbuildingnumber(); | 
					 | 
					 | 
					        requestbuildingnumber(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        requestxuanchuanlan() | 
					 | 
					 | 
					        requestxuanchuanlan() | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }, []) | 
					 | 
					 | 
					    }, []) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    useEffect(()=>{ | 
					 | 
					 | 
					    useEffect(() => { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        lunbo.current.goTo(lunboindex) | 
					 | 
					 | 
					        lunbo.current.goTo(lunboindex) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    },[lunboindex]) | 
					 | 
					 | 
					    }, [lunboindex]) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    const rendercontent = () => { | 
					 | 
					 | 
					    const rendercontent = () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return (<div className='build-left-center-content'> | 
					 | 
					 | 
					        return (<div className='build-left-center-content'> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            {list.map(({ name, number, gongli }, index) => <div className='build-left-center-item' key={index}> | 
					 | 
					 | 
					            {list.map(({ name, number, gongli }, index) => <div className='build-left-center-item' key={index}> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -160,7 +164,7 @@ const Build = (props) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                            </div> */} | 
					 | 
					 | 
					                            </div> */} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                            <img src='/assets/images/quanju/yuanhuan.webp' className='build-left-top-center' /> | 
					 | 
					 | 
					                            <img src='/assets/images/quanju/yuanhuan.webp' className='build-left-top-center' /> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                            <div className='build-left-top-item'> | 
					 | 
					 | 
					                            <div className='build-left-top-item'> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                                <div>{sunonlineproject || 0}</div> | 
					 | 
					 | 
					                                <div>{projectAll || 0}</div> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                                <div> | 
					 | 
					 | 
					                                <div> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                    {/* <i>►</i> */} | 
					 | 
					 | 
					                                    {/* <i>►</i> */} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                    {/* <span /> */} | 
					 | 
					 | 
					                                    {/* <span /> */} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -248,26 +252,26 @@ const Build = (props) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                            } */} | 
					 | 
					 | 
					                            } */} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                            { | 
					 | 
					 | 
					                            { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					              xuandata&&xuandata!==null&&xuandata.length!==0?xuandata.filter(i=>i.enable).map((item,index1)=>{ | 
					 | 
					 | 
					                                xuandata && xuandata !== null && xuandata.length !== 0 ? xuandata.filter(i => i.enable).map((item, index1) => { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                    if(item.video&&item.video!==null&&item.video.length!==0){ | 
					 | 
					 | 
					                                    if (item.video && item.video !== null && item.video.length !== 0) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        return item.video.map((i,index)=>{ | 
					 | 
					 | 
					                                        return item.video.map((i, index) => { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                                            // console.log(i,'视频')
 | 
					 | 
					 | 
					                                            // console.log(i,'视频')
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                            console.log(index1,'index1') | 
					 | 
					 | 
					                                            console.log(index1, 'index1') | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                            if(index1===lunboindex){ | 
					 | 
					 | 
					                                            if (index1 === lunboindex) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                                                // lunbo.current.goTo(lunboindex)
 | 
					 | 
					 | 
					                                                // lunbo.current.goTo(lunboindex)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                                console.log("自动播放",index1) | 
					 | 
					 | 
					                                                console.log("自动播放", index1) | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                                return <video src={`${localStorage.getItem("qndmn")}/${i}`} autoPlay={true} ref={lunbovideo} onEnded={()=>{ | 
					 | 
					 | 
					                                                return <video src={`${localStorage.getItem("qndmn")}/${i}`} autoPlay={true} ref={lunbovideo} onEnded={() => { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                                    if(index1<xuandata.filter(i=>i.enable).length-1){ | 
					 | 
					 | 
					                                                    if (index1 < xuandata.filter(i => i.enable).length - 1) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                                                        // console.log(index1,xuandata,'触发了')
 | 
					 | 
					 | 
					                                                        // console.log(index1,xuandata,'触发了')
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                                        setlunboindex(lunboindex+1) | 
					 | 
					 | 
					                                                        setlunboindex(lunboindex + 1) | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                                    }else{ | 
					 | 
					 | 
					                                                    } else { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                                                        // console.log(index1,xuandata,'触发了')
 | 
					 | 
					 | 
					                                                        // console.log(index1,xuandata,'触发了')
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                                        setlunboindex(0) | 
					 | 
					 | 
					                                                        setlunboindex(0) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                                    } | 
					 | 
					 | 
					                                                    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                                }}></video> | 
					 | 
					 | 
					                                                }}></video> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                            }else{ | 
					 | 
					 | 
					                                            } else { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                                                // console.log("不自动播放",index1)
 | 
					 | 
					 | 
					                                                // console.log("不自动播放",index1)
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                                return <video src={`${localStorage.getItem("qndmn")}/${i}`} autoPlay={false} ></video> | 
					 | 
					 | 
					                                                return <video src={`${localStorage.getItem("qndmn")}/${i}`} autoPlay={false} ></video> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                            } | 
					 | 
					 | 
					                                            } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -276,7 +280,7 @@ const Build = (props) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                    // return <video src={`${localStorage.getItem("qndmn")}/${item.video!==null&&item.video.length!==0?item.video[0]:""}`} autoPlay="autoplay" loop></video>
 | 
					 | 
					 | 
					                                    // return <video src={`${localStorage.getItem("qndmn")}/${item.video!==null&&item.video.length!==0?item.video[0]:""}`} autoPlay="autoplay" loop></video>
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                                }) | 
					 | 
					 | 
					                                }) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					              :<video src='#'></video> | 
					 | 
					 | 
					                                    : <video src='#'></video> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                            } | 
					 | 
					 | 
					                            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                            {/* <video src={xuandata&&xuandata!==null&&xuandata.length!==0?`${localStorage.getItem("qndmn")}/${xuandata[0].video!==null&&xuandata[0].video?xuandata[0].video[0]:""}`:"#"} autoPlay="autoplay" loop></video> */} | 
					 | 
					 | 
					                            {/* <video src={xuandata&&xuandata!==null&&xuandata.length!==0?`${localStorage.getItem("qndmn")}/${xuandata[0].video!==null&&xuandata[0].video?xuandata[0].video[0]:""}`:"#"} autoPlay="autoplay" loop></video> */} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                        </Carousel> | 
					 | 
					 | 
					                        </Carousel> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |