提交修改

new-v20240713
dshclm 9 months ago
parent 38dafe08a1
commit 577d88e8e7

@ -13,9 +13,9 @@
position: relative; position: relative;
height: 326px; height: 326px;
background-size: cover; background-size: cover;
display: flex; /*display: flex;*/
justify-content: center; /*justify-content: center;*/
align-items: center; /*align-items: center;*/
min-width: 1690px; min-width: 1690px;
margin: 0 auto; margin: 0 auto;
} }
@ -227,18 +227,6 @@
alert("请输入查询关键字!") alert("请输入查询关键字!")
} }
} }
layui.use(function(){
var carousel = layui.carousel;
// 渲染 - 常规轮播
carousel.render({
elem: '#ID-carousel-demo-1',
width: 'auto',
indicator:'none',
arrow:'none',
width: '100%',
height: '326px',
});
});
var deptHover = document.querySelector('.dept') var deptHover = document.querySelector('.dept')
var jiantou = document.querySelector('.arrow') var jiantou = document.querySelector('.arrow')
deptHover.addEventListener('mouseover', function() { deptHover.addEventListener('mouseover', function() {

Loading…
Cancel
Save