模板循环输出数据库中的内容到表格并分页
前端用的Bootstrap3分页用的think\db\paginate方法,之所以可以Student::paginate这样使用,是因为Student::等价于Db::table('student')模型<?phpnamespace app\demo\model; use think\Model;class Student extends Model{}控制器<
时间轴 2019-03-03 11:46:32 0 0 259
BootStrap3中模态对话框的使用
1.引入jQuery.min.js;2.引入bootstrap-modal.js;3.操作按钮:<a href="#edit" data-toggle="modal">修改</a>4.模态框<div class="modal fade" id="ed
巴扎黑 2017-01-14 13:14:03 0 1 2559