| | |
| | | </div> |
| | | </el-carousel-item> |
| | | <el-carousel-item> |
| | | <div class="carousel-item"> |
| | | <div class="carousel-item" @click="clickDeclare"> |
| | | <img src="@/assets/carousel/home/4.png" class="carousel-image" /> |
| | | </div> |
| | | </el-carousel-item> |
| | |
| | | const scrollTop = document.getElementById('app-page')?.scrollTop; |
| | | const scrollHeight = document.getElementById('app-page')?.scrollHeight - document.getElementById('app-page')?.clientHeight; |
| | | scrollPercent.value = (scrollTop / scrollHeight) * 100; |
| | | |
| | | let scrollToTop = document.getElementById('scroll-to-top'); |
| | | let footer = document.getElementById('app-footer'); |
| | | }; |
| | | const linkClick = () => { |
| | | router.push('/select-selpara'); |
| | |
| | | router.push(url); |
| | | }; |
| | | const handleNewsClick = (item: any) => { |
| | | // if (item.link) { |
| | | // window.open(item.link, '_blank'); |
| | | // } else { |
| | | // router.push(`/news-detail/${item.id}`); |
| | | // } |
| | | router.push(`/news-detail/${item.id}`); |
| | | }; |
| | | // åå§ååååè¡¨æ°æ® |
| | |
| | | }); |
| | | } |
| | | }; |
| | | |
| | | const clickDeclare = ()=>{ |
| | | router.push({ |
| | | path:'/company-declare', |
| | | }) |
| | | } |
| | | // çå¬äº§åç±»åéæ© |
| | | const changeCatalog = (type: number) => { |
| | | state.curSelectCatalog = type; |
| | | state.catalogSwiperIndex = 0; |
| | | const cb = () => { |
| | | catalogSwiperRef.value?.slideTo(state.catalogSwiperIndex, 0); |
| | | // catalogSwiperRef.value?.autoplay = { |
| | | // delay: 3000, |
| | | // disableOnInteraction: false, |
| | | // pauseOnMouseEnter:true, |
| | | // }; |
| | | catalogSwiperRef.value?.update(); |
| | | }; |
| | | initCatalogList(cb); |