diff --git a/ruoyi-admin/src/main/resources/static/home/base/bg_6.png b/ruoyi-admin/src/main/resources/static/home/base/bg_6.png new file mode 100644 index 0000000..a95cfc7 Binary files /dev/null and b/ruoyi-admin/src/main/resources/static/home/base/bg_6.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 11e236e..06211a1 100644 --- a/ruoyi-admin/src/main/resources/templates/home/base.html +++ b/ruoyi-admin/src/main/resources/templates/home/base.html @@ -91,20 +91,29 @@ text-align: center; white-space: nowrap; /* 防止文本换行 */ text-overflow: ellipsis; /* 显示省略号 */ + position: relative; }.zhuanti li span{ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; - max-width: 286px; display: inline-block; + width: 100%; + position: absolute; + bottom: 0; + height: 25px; + line-height: 25px; + background-color: rgb(0 0 0 / 0.7); + color: white; } - .zhuanti li img{ transition: all 0.3s; } .zhuanti li:hover img{ transform:scale(1.1) } + .zhuanti li:hover span{ + color: #ffbb3f; + } .more a { display: inline-block; width: 58px; @@ -260,12 +269,24 @@ justify-content: space-around; overflow:auto; } + .lantieContent .right li{ + position: relative; + } .lantieContent .right li span{ white-space: nowrap; text-overflow: ellipsis; - max-width: 190px; overflow: hidden; + width: 100%; + display: inline-block; + height: 25px; + line-height: 25px; + margin-top: -8px; + background-color: rgb(0 0 0 / 0.7); + color: white; } + .lantieContent .right li:hover span{ + color: #ffbb3f; + } .lianjieBox{ width:100%; display:flex; @@ -483,7 +504,7 @@ -
@@ -531,7 +552,7 @@