diff --git a/ruoyi-admin/src/main/resources/static/home/base/bumen1.jpg b/ruoyi-admin/src/main/resources/static/home/base/bumen1.jpg new file mode 100644 index 0000000..04da9cf Binary files /dev/null and b/ruoyi-admin/src/main/resources/static/home/base/bumen1.jpg differ diff --git a/ruoyi-admin/src/main/resources/templates/home/base.html b/ruoyi-admin/src/main/resources/templates/home/base.html index 06211a1..e84d6fa 100644 --- a/ruoyi-admin/src/main/resources/templates/home/base.html +++ b/ruoyi-admin/src/main/resources/templates/home/base.html @@ -133,7 +133,7 @@ //display: flex; //flex-wrap: wrap; height: 400px; - overflow: hidden; + overflow: auto; box-sizing:border-box; padding-left:15px; padding-top:20px; @@ -141,23 +141,23 @@ .zhuantidept li{ transition: all 0.3s; float: left; - margin-bottom: 50px; + margin-bottom: 10px; } .zhuantidept li:hover{ transform: translateY(-5%); } .zhuantidept li a{ - width:150px; - height:50px; - margin:0 25px 0 25px; - display:flex; + width: 169px; + height: 84px; + margin: 0 10px 0 10px; + display: flex; align-items: center; - box-sizing:border-box; - padding-left:10px; - background-image:url(/home/base/dept.png); - background-position-x:-30px; - box-shadow:5px 5px 5px 0px rgba(0,0,0,0.5); + box-sizing: border-box; + padding-left: 10px; + background-image: url(/home/base/bumen1.jpg); + box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5); + font-size: 17px; } a {