From b9c2fcb7b11d5696e41c2369a72e549b481d44ab Mon Sep 17 00:00:00 2001 From: zhoujian <709286540@qq.com> Date: Tue, 22 Sep 2020 10:05:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=B7=B5=E7=9A=84=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Index.php | 7 + application/index/view/index/practice.html | 337 +++++++++++++++++++++ public/images/praicon1.png | Bin 0 -> 4104 bytes 3 files changed, 344 insertions(+) create mode 100644 application/index/view/index/practice.html create mode 100644 public/images/praicon1.png 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 @@ + + +
+ + +