Showing
1 changed file
with
5 additions
and
5 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-10-17 11:13:44 | 2 | * @Date: 2024-10-17 11:13:44 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-10-25 16:09:06 | 4 | + * @LastEditTime: 2024-10-28 10:53:33 |
| 5 | * @FilePath: /hager/src/views/about/honors.vue | 5 | * @FilePath: /hager/src/views/about/honors.vue |
| 6 | * @Description: 关于海格-荣誉展示 | 6 | * @Description: 关于海格-荣誉展示 |
| 7 | --> | 7 | --> |
| ... | @@ -198,7 +198,7 @@ export default { | ... | @@ -198,7 +198,7 @@ export default { |
| 198 | this.$refs.contentDiv.forEach(div => { | 198 | this.$refs.contentDiv.forEach(div => { |
| 199 | // 判断内容是否超出 div 的高度 | 199 | // 判断内容是否超出 div 的高度 |
| 200 | if (div.scrollHeight > div.clientHeight) { | 200 | if (div.scrollHeight > div.clientHeight) { |
| 201 | - div.style.overflow = 'scroll'; | 201 | + div.style.overflowY = 'scroll'; |
| 202 | } else { | 202 | } else { |
| 203 | div.style.overflow = 'visible'; | 203 | div.style.overflow = 'visible'; |
| 204 | } | 204 | } |
| ... | @@ -278,7 +278,7 @@ export default { | ... | @@ -278,7 +278,7 @@ export default { |
| 278 | background-color: #F7F7F7; | 278 | background-color: #F7F7F7; |
| 279 | padding: 2rem 1.5rem; | 279 | padding: 2rem 1.5rem; |
| 280 | padding-bottom: 0.5rem; | 280 | padding-bottom: 0.5rem; |
| 281 | - overflow: scroll; | 281 | + overflow-y: scroll; |
| 282 | &.a { | 282 | &.a { |
| 283 | height: 10rem; | 283 | height: 10rem; |
| 284 | } | 284 | } |
| ... | @@ -300,7 +300,7 @@ export default { | ... | @@ -300,7 +300,7 @@ export default { |
| 300 | line-height: 1.8; | 300 | line-height: 1.8; |
| 301 | // height: 3rem; | 301 | // height: 3rem; |
| 302 | margin-bottom: 0.5rem; | 302 | margin-bottom: 0.5rem; |
| 303 | - overflow: scroll; | 303 | + // overflow: scroll; |
| 304 | } | 304 | } |
| 305 | } | 305 | } |
| 306 | } | 306 | } |
| ... | @@ -376,7 +376,7 @@ export default { | ... | @@ -376,7 +376,7 @@ export default { |
| 376 | font-size: 0.95rem; | 376 | font-size: 0.95rem; |
| 377 | line-height: 1.8; | 377 | line-height: 1.8; |
| 378 | height: 8rem; | 378 | height: 8rem; |
| 379 | - overflow: scroll; | 379 | + overflow-y: scroll; |
| 380 | } | 380 | } |
| 381 | } | 381 | } |
| 382 | } | 382 | } | ... | ... |
-
Please register or login to post a comment