效果如图
- {pboot:sortpics scode=2 num=10}
 - <img src="[pics:src]"> [pics:title]
 - {/pboot:sortpics}
 

使用教程:
1、给ay_content_sort增加字段pics、picstitle,都是varchar类型,长度255(如果不够可以再加)
2、找到文件:\apps\admin\controller\content\ContentSortController.php,搜索代码:
- 'pic' => $pic,
 
在下边新增代码:(共两处)
- 'pics' => $pics,
 - 'picstitle' => $picstitle,
 
搜索代码:
- $pic = post('pic');
 
在下边添加代码:(也是两处)
更多步骤,需要赞助才能查看
- $pics = post('pics');
 - $picstitle = post('picstitle');
 - if ($picstitle) {
 - $picstitle = implode(',', $picstitle);
 - }
 

