hookehuyr

fix 新闻列表项,more高度保持一致

<!--
* @Date: 2024-10-18 12:05:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-11-11 11:25:17
* @LastEditTime: 2024-12-03 16:26:23
* @FilePath: /hager/src/views/news/index.vue
* @Description: 文件描述
-->
......@@ -140,6 +140,8 @@ export default {
overflow: hidden;
background-color: #fff;
transition: transform 0.25s ease-in-out;
position: relative;
&:hover {
transform: scale(1.01);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
......@@ -183,6 +185,7 @@ export default {
line-height: 1.5em;
overflow: hidden;
word-break: break-word;
margin-bottom: 3rem;
&.xs {
margin: 0.85rem 0 0 0;
}
......@@ -196,7 +199,9 @@ export default {
text-align: center;
font-size: 0.8rem;
transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
margin-top: 3rem;
// margin-top: 3rem;
position: absolute;
bottom: 1rem;
&:hover {
color: #FFF;
background-color: #F56400;
......