diff --git a/ruoyi-admin/src/main/resources/templates/home_head1.html b/ruoyi-admin/src/main/resources/templates/home_head1.html index 56c1ad6..bc7416f 100644 --- a/ruoyi-admin/src/main/resources/templates/home_head1.html +++ b/ruoyi-admin/src/main/resources/templates/home_head1.html @@ -13,9 +13,9 @@ position: relative; height: 326px; background-size: cover; - display: flex; - justify-content: center; - align-items: center; + /*display: flex;*/ + /*justify-content: center;*/ + /*align-items: center;*/ min-width: 1690px; margin: 0 auto; } @@ -227,18 +227,6 @@ 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 jiantou = document.querySelector('.arrow') deptHover.addEventListener('mouseover', function() {