编写的代码如下: 文章翻页: #articlePaginate(previousText="←",nextText="→") #for(page : pages) <li class="page-item #(page.style)"> #end </ul>生成效果如下: