diff --git a/application/index/controller/Index.php b/application/index/controller/Index.php index f1aaa83..d19a62d 100755 --- a/application/index/controller/Index.php +++ b/application/index/controller/Index.php @@ -25,6 +25,13 @@ class Index extends Controller $this->assign('data',$data); return $this->fetch(); } + //社会实践教育 + public function practice(){ + $data=db('activity')->where('id',28)->find(); + $data['son']=db('activity')->where('parentid',$data['id'])->order('sonid asc')->select(); + $this->assign('data',$data); + return $this->fetch(); + } //获取班级页面 public function getClass(){ diff --git a/application/index/view/index/practice.html b/application/index/view/index/practice.html new file mode 100644 index 0000000..b8cfb61 --- /dev/null +++ b/application/index/view/index/practice.html @@ -0,0 +1,337 @@ + + +
+ + +