data['footerMenus'] = $footerMenus; */ // $this->data['extraBase'] = $configExtraBase; // $this->data['links'] = Link::getList(5); // $this->data['systemSetting'] = System::getSystem(); return View::assign($this->data)->fetch('public/footer'); } // 区块:试用栏 public function blockTrial($className='marginTop') { $this->data['className'] = $className; return View::assign($this->data)->fetch('public/block/trial'); } // 区块:了解更多课程详情弹窗 public function blockMoreCourse() { $blocks = Block::getByCategoryId(Category::CATEGORY_PAGE_COURSE); $blocks = Block::convertValue($blocks); $this->data['confBlocks'] = $blocks; return View::assign($this->data)->fetch('public/block/more_course'); } // 区块:课程简览 public function blockSimpleCourse() { $courseList = Category::getChildrenByParentId(Category::CATEGORY_PAGE_COURSE); $courseListShow = array_chunk($courseList, 3)[0] ?? []; $this->data['courseList'] = $courseListShow; return View::assign($this->data)->fetch('public/block/simple_course'); } }