diff --git a/ruoyi-admin/src/main/resources/templates/home_head.html b/ruoyi-admin/src/main/resources/templates/home_head.html index fde1d72..9fc3686 100644 --- a/ruoyi-admin/src/main/resources/templates/home_head.html +++ b/ruoyi-admin/src/main/resources/templates/home_head.html @@ -11,17 +11,17 @@ #hd { position: relative; - //background-image: url(/home/base/bg-head5.png); - //background-position-y:56%; height: 326px; background-size: cover; display: flex; justify-content: center; align-items: center; + width: 1690px; + margin: 0 auto; } #hd .bg_image1{ width:100%; - height:91%; + height: 326px; } #ltlogo { position: absolute; @@ -35,15 +35,15 @@ font-style: inherit; } - .layui-nav { - position: absolute; - bottom: 0; - left: 0; - right: 0; - display: flex; - justify-content: center; - background-color: rgba(7,68,136,1); - } + .layui-nav { + display: flex; + justify-content: center; + background-color: rgba(7,68,136,1); + width: 100%; + position: absolute; + bottom: -26px; + z-index: 111; + } .layui-elem-quote{ border-left: 5px solid #005cb1; } @@ -51,32 +51,8 @@