优化图片容器高度并添加滚动,修改图片项高度比例
@@ -5194,13 +5194,15 @@ export default {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
- /* margin-bottom: 20px; */
position: relative;
+ height: 250px;
+ overflow: auto;
+ overflow-x: hidden;
}
.image-item {
width: 100%;
- aspect-ratio: 16 / 9;
+ height: 100px;
overflow: hidden;
border-radius: 10px;
cursor: pointer;