![图片[1]_子比主题 – 论坛九宫格图片_初一小盏](https://www.vxras.com/wp-content/uploads/2024/06/d2b5ca33bd20240616040422.png)
CSS
/*九宫格适配*/
.lists-imgs:not(.count-1)>span {
flex: 0 0 calc(100% / 3 - 4px);
padding-bottom: calc(100% / 3 / 1 - 4px);
margin: 2px;
position: relative;
}
.lists-imgs:not(.count-1) {
display: flex;
flex-wrap: wrap;
--img-count: 9;
width: 70%;
}
PHP
打开/inc/functions/bbs/inc/posts.php
文件搜索$imgs_max = 4;
把他改成$imgs_max = 9;
THE END
请登录后发表评论
注册
社交账号登录