hookehuyr

fix 页面滚动ie适配显示

<!--
* @Date: 2024-10-17 11:13:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-25 16:09:06
* @LastEditTime: 2024-10-28 10:53:33
* @FilePath: /hager/src/views/about/honors.vue
* @Description: 关于海格-荣誉展示
-->
......@@ -198,7 +198,7 @@ export default {
this.$refs.contentDiv.forEach(div => {
// 判断内容是否超出 div 的高度
if (div.scrollHeight > div.clientHeight) {
div.style.overflow = 'scroll';
div.style.overflowY = 'scroll';
} else {
div.style.overflow = 'visible';
}
......@@ -278,7 +278,7 @@ export default {
background-color: #F7F7F7;
padding: 2rem 1.5rem;
padding-bottom: 0.5rem;
overflow: scroll;
overflow-y: scroll;
&.a {
height: 10rem;
}
......@@ -300,7 +300,7 @@ export default {
line-height: 1.8;
// height: 3rem;
margin-bottom: 0.5rem;
overflow: scroll;
// overflow: scroll;
}
}
}
......@@ -376,7 +376,7 @@ export default {
font-size: 0.95rem;
line-height: 1.8;
height: 8rem;
overflow: scroll;
overflow-y: scroll;
}
}
}
......