diff --git a/ruoyi-admin/src/main/resources/static/home/base/bg-head4.png b/ruoyi-admin/src/main/resources/static/home/base/bg-head4.png index b95e616..9a190d3 100644 Binary files a/ruoyi-admin/src/main/resources/static/home/base/bg-head4.png and b/ruoyi-admin/src/main/resources/static/home/base/bg-head4.png differ diff --git a/ruoyi-admin/src/main/resources/static/home/base/map3.png b/ruoyi-admin/src/main/resources/static/home/base/map3.png new file mode 100644 index 0000000..a4a820d Binary files /dev/null and b/ruoyi-admin/src/main/resources/static/home/base/map3.png differ diff --git a/ruoyi-admin/src/main/resources/templates/home/base.html b/ruoyi-admin/src/main/resources/templates/home/base.html index aad189e..2ea2261 100644 --- a/ruoyi-admin/src/main/resources/templates/home/base.html +++ b/ruoyi-admin/src/main/resources/templates/home/base.html @@ -75,9 +75,12 @@ } .zhuanti li{ margin:9px; - margin-bottom: 20px; + margin-bottom: -7px; margin-top: 20px; - overflow:hidden + overflow:hidden; + display: flex; + flex-direction: column; + text-align: center; } .zhuanti li img{ transition: all 0.3s; @@ -358,7 +361,7 @@
- +
@@ -369,7 +372,7 @@ @@ -394,7 +397,7 @@
- +

@@ -432,11 +435,11 @@

@@ -445,14 +448,14 @@

- +
应用系统
-
diff --git a/ruoyi-admin/src/main/resources/templates/home_head.html b/ruoyi-admin/src/main/resources/templates/home_head.html index 5daf603..857b23d 100644 --- a/ruoyi-admin/src/main/resources/templates/home_head.html +++ b/ruoyi-admin/src/main/resources/templates/home_head.html @@ -11,8 +11,8 @@ #hd { position: relative; - background-image: url(/home/base/bg-head5.png); - background-position-y:56%; + //background-image: url(/home/base/bg-head2.png); + //background-position-y:56%; height: 326px; background-size: cover; display: flex; @@ -30,6 +30,13 @@ height: 82px; transform: translate(-50%, -50%); } + #ltlogo2 { + position: absolute; + top: 43%; /* 将图像元素垂直居中 */ + left: 30%; /* 将图像元素水平居中 */ + height: 82px; + transform: translate(-50%, -50%); + } #dhl { padding-bottom: 0; font-style: inherit; @@ -44,9 +51,80 @@ justify-content: center; background-color: rgba(1,78,155,0.7); } - - - + .homePage .layui-nav-more{ + display:none; + } + .dept .layui-nav-child { + display: none; + position: absolute; + left: -353%; + top: 65px; + transform: translate(-50%, -50%); + width: 1331px; + //line-height: 85px; + padding: 5px 0; + box-shadow: 0 2px 4px rgba(0,0,0,.12); + border: 1px solid #eee; + background-color: rgba(255,255,255,0.89); + z-index: 100; + border-radius: 2px; + white-space: wrap; + box-sizing: border-box; + height:100px; + } + .layui-nav-item .arrow { + z-index: 999; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-top: 10px solid #1e68b0; + position: absolute; + left: 44%; + display: none; + } + .layui-nav-item .arrow2 { + z-index: 999; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-top: 10px solid #1e68b0; + position: absolute; + left: 44%; + display: none; + } + .special .layui-nav-child { + display: none; + position: absolute; + left: -581%; + top: 65px; + transform: translate(-50%, -50%); + width: 1331px; + //line-height: 85px; + padding: 5px 0; + box-shadow: 0 2px 4px rgba(0,0,0,.12); + border: 1px solid #eee; + background-color: rgba(255,255,255,0.89); + z-index: 100; + border-radius: 2px; + white-space: wrap; + box-sizing: border-box; + height:100px; + } + .childBox{ + display: flex; + align-items: center; + justify-content: space-between; + height: 100%; + } + .childBox2 dd{ + float: left; + fongt-size:18px; + text-align: center; + width:auto; + margin: 1px 9px; + } + .childBox2 dd a{ + text-align: center; + padding: 0 14px; + } @@ -60,10 +138,11 @@
- +
+