自定义内容+分页区域
<div class="panel panel-default"> <div class="panel-heading"> student list </div> <table class="table table-striped table-hover table-responsive"> <thead> <tr> <th>id</th> <th>name</th> <th>age</th> <th>sex</th> <th>create_at</th> <th width="120">handel</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <th>make</th> <th>18</th> <th>boy</th> <th>2019-10-11</th> <th> <a href="">detail </a> <a href="">edit </a> <a href="">delete </a> </th> </tr> </tbody> </table> </div> <div> <ul class="pagination pull-right"> <li> <a href="#" aria-label="Previous"> <span aria-hidden="true">«</span> </a> </li> <li class="active"><a> 1</a> </li> <li class=""><a> 2</a> </li> <li class=""><a> 3</a> </li> <li class=""><a> 4</a> </li> <li> <a href="#" aria-label="Next"> <span aria-hidden="true">«</span> </a> </li> </ul> </div>
路径 asset 相对于public、static/boots
模板布局 views common layouts
视图中文件继承模板和引入模板和重定义区块
定义区块,引入css文件和js文件
定义区块,引入css文件和js文件