diff --git a/ruoyi-ui/src/views/home.vue b/ruoyi-ui/src/views/home.vue index 843dc84..d3fb8c2 100644 --- a/ruoyi-ui/src/views/home.vue +++ b/ruoyi-ui/src/views/home.vue @@ -157,7 +157,7 @@
-
{{item.summary}}
+ {{item.summary}}
@@ -896,11 +896,14 @@ export default { } .backmo{ - width: 100%; - height: 100%; + width: 0%; + height: 0%; position: absolute; top: 0; left: 0; + box-sizing: border-box; + padding: 15px; + overflow: hidden; } @@ -914,6 +917,8 @@ export default { } .news11 .news11-list .news11-list-item:hover>.backmo { + width: 100%; + height: 100%; transition: background-color 0.5s; background-color: rgba(0, 0, 0, 0.46) !important; color: #fff;