![图片[1]-子比主题 – 论坛九宫格图片-记录笔记](https://kvmao.com/wp-content/uploads/2024/06/20240624161747308-image.webp)
来自初一小盏
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














![表情[zbth10]-记录笔记](https://kvmao.com/wp-content/themes/zibll/img/smilies/zbth10.gif)

暂无评论内容